Package org.neo4j.gds.core.write
Class RelationshipPropertiesExporterBuilder
java.lang.Object
org.neo4j.gds.core.write.RelationshipPropertiesExporterBuilder
- Direct Known Subclasses:
NativeRelationshipPropertiesExporterBuilder,ResultStoreRelationshipPropertiesExporterBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Optional<org.neo4j.gds.config.ArrowConnectionInfo>protected longprotected intprotected org.neo4j.gds.api.GraphStoreprotected org.neo4j.gds.core.utils.progress.tasks.ProgressTrackerprotected RelationshipPropertyTranslatorprotected longprotected Stream<org.neo4j.gds.api.ExportedRelationship>protected Optional<org.neo4j.gds.api.ResultStore>protected org.neo4j.gds.termination.TerminationFlagprotected LongUnaryOperator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract RelationshipPropertiesExporterbuild()withArrowConnectionInfo(Optional<org.neo4j.gds.config.ArrowConnectionInfo> arrowConnectionInfo, Optional<String> remoteDatabaseName) withBatchSize(long batchSize) withConcurrency(int concurrency) withGraphStore(org.neo4j.gds.api.GraphStore graphStore) withIdMappingOperator(LongUnaryOperator toOriginalNodeId) withProgressTracker(org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker) Set theProgressTrackerto use for logging progress during export.withRelationPropertyTranslator(RelationshipPropertyTranslator propertyTranslator) withRelationshipCount(long relationshipCount) withRelationships(Stream<org.neo4j.gds.api.ExportedRelationship> relationships) withResultStore(Optional<org.neo4j.gds.api.ResultStore> resultStore) withTerminationFlag(org.neo4j.gds.termination.TerminationFlag terminationFlag)
-
Field Details
-
terminationFlag
protected org.neo4j.gds.termination.TerminationFlag terminationFlag -
graphStore
protected org.neo4j.gds.api.GraphStore graphStore -
progressTracker
protected org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker -
propertyTranslator
-
relationships
-
toOriginalId
-
relationshipCount
protected long relationshipCount -
concurrency
protected int concurrency -
batchSize
protected long batchSize -
arrowConnectionInfo
-
remoteDatabaseName
-
resultStore
-
-
Constructor Details
-
RelationshipPropertiesExporterBuilder
public RelationshipPropertiesExporterBuilder()
-
-
Method Details
-
build
-
withGraphStore
public RelationshipPropertiesExporterBuilder withGraphStore(org.neo4j.gds.api.GraphStore graphStore) -
withRelationPropertyTranslator
public RelationshipPropertiesExporterBuilder withRelationPropertyTranslator(RelationshipPropertyTranslator propertyTranslator) -
withTerminationFlag
public RelationshipPropertiesExporterBuilder withTerminationFlag(org.neo4j.gds.termination.TerminationFlag terminationFlag) -
withProgressTracker
public RelationshipPropertiesExporterBuilder withProgressTracker(org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker) Set theProgressTrackerto use for logging progress during export. If aTaskProgressTrackeris used, caller must manage beginning and finishing the subtasks. By default, anProgressTracker.EmptyProgressTrackeris used. That one doesn't require caller to manage any tasks.- Parameters:
progressTracker- The progress tracker to use for logging progress during export.- Returns:
- this
-
withIdMappingOperator
public RelationshipPropertiesExporterBuilder withIdMappingOperator(LongUnaryOperator toOriginalNodeId) -
withRelationships
public RelationshipPropertiesExporterBuilder withRelationships(Stream<org.neo4j.gds.api.ExportedRelationship> relationships) -
withRelationshipCount
-
withArrowConnectionInfo
public RelationshipPropertiesExporterBuilder withArrowConnectionInfo(Optional<org.neo4j.gds.config.ArrowConnectionInfo> arrowConnectionInfo, Optional<String> remoteDatabaseName) -
withConcurrency
-
withBatchSize
-
withResultStore
public RelationshipPropertiesExporterBuilder withResultStore(Optional<org.neo4j.gds.api.ResultStore> resultStore)
-