public FetchHints build() { if (!isIncludeProperties() && isIncludePropertyMetadata()) { includeAllProperties = true; } return new FetchHints( includeAllProperties, propertyNamesToInclude == null ? null : ImmutableSet.copyOf(propertyNamesToInclude), includeAllPropertyMetadata, metadataKeysToInclude == null ? null : ImmutableSet.copyOf(metadataKeysToInclude), includeHidden, includeAllEdgeRefs, includeOutEdgeRefs || includeAllEdgeRefs, includeInEdgeRefs || includeAllEdgeRefs, edgeLabelsOfEdgeRefsToInclude == null ? null : ImmutableSet.copyOf(edgeLabelsOfEdgeRefsToInclude), includeEdgeLabelsAndCounts, includeExtendedDataTableNames ); }
public FetchHints build() { if (!isIncludeProperties() && isIncludePropertyMetadata()) { includeAllProperties = true; } return new FetchHints( includeAllProperties, propertyNamesToInclude == null ? null : ImmutableSet.copyOf(propertyNamesToInclude), includeAllPropertyMetadata, metadataKeysToInclude == null ? null : ImmutableSet.copyOf(metadataKeysToInclude), includeHidden, includeAllEdgeRefs, includeOutEdgeRefs || includeAllEdgeRefs, includeInEdgeRefs || includeAllEdgeRefs, edgeLabelsOfEdgeRefsToInclude == null ? null : ImmutableSet.copyOf(edgeLabelsOfEdgeRefsToInclude), includeEdgeLabelsAndCounts, includeExtendedDataTableNames ); }