Package org.neo4j.gds.core.write
Class RelationshipExporterBuilder
java.lang.Object
org.neo4j.gds.core.write.RelationshipExporterBuilder
- Direct Known Subclasses:
NativeRelationshipExporterBuilder,ResultStoreRelationshipExporterBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Optional<org.neo4j.gds.config.ArrowConnectionInfo>protected longprotected intstatic final intprotected org.neo4j.gds.api.Graphprotected org.neo4j.gds.core.utils.progress.tasks.ProgressTrackerprotected RelationshipPropertyTranslatorprotected Optional<org.neo4j.gds.api.ResultStore>protected org.neo4j.gds.termination.TerminationFlagprotected LongUnaryOperator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract RelationshipExporterbuild()withArrowConnectionInfo(Optional<org.neo4j.gds.config.ArrowConnectionInfo> arrowConnectionInfo, Optional<String> remoteDatabaseName) withBatchSize(long batchSize) withConcurrency(int concurrency) withGraph(org.neo4j.gds.api.Graph graph) withIdMappingOperator(LongUnaryOperator toOriginalId) withProgressTracker(org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker) Set theProgressTrackerto use for logging progress during export.withRelationPropertyTranslator(RelationshipPropertyTranslator propertyTranslator) withResultStore(Optional<org.neo4j.gds.api.ResultStore> resultStore) withTerminationFlag(org.neo4j.gds.termination.TerminationFlag terminationFlag)
-
Field Details
-
DEFAULT_WRITE_CONCURRENCY
public static final int DEFAULT_WRITE_CONCURRENCY- See Also:
-
toOriginalId
-
terminationFlag
protected org.neo4j.gds.termination.TerminationFlag terminationFlag -
graph
protected org.neo4j.gds.api.Graph graph -
progressTracker
protected org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker -
propertyTranslator
-
arrowConnectionInfo
-
concurrency
protected int concurrency -
batchSize
protected long batchSize -
remoteDatabaseName
-
resultStore
-
-
Constructor Details
-
RelationshipExporterBuilder
public RelationshipExporterBuilder()
-
-
Method Details
-
build
-
withRelationPropertyTranslator
public RelationshipExporterBuilder withRelationPropertyTranslator(RelationshipPropertyTranslator propertyTranslator) -
withGraph
-
withIdMappingOperator
-
withTerminationFlag
public RelationshipExporterBuilder withTerminationFlag(org.neo4j.gds.termination.TerminationFlag terminationFlag) -
withProgressTracker
public RelationshipExporterBuilder 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
-
withArrowConnectionInfo
public RelationshipExporterBuilder withArrowConnectionInfo(Optional<org.neo4j.gds.config.ArrowConnectionInfo> arrowConnectionInfo, Optional<String> remoteDatabaseName) -
withConcurrency
-
withBatchSize
-
withResultStore
public RelationshipExporterBuilder withResultStore(Optional<org.neo4j.gds.api.ResultStore> resultStore)
-