Package org.neo4j.gds.core.write
Class NodePropertyExporterBuilder
java.lang.Object
org.neo4j.gds.core.write.NodePropertyExporterBuilder
- Direct Known Subclasses:
NativeNodePropertiesExporterBuilder,ResultStoreNodePropertyExporterBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Optional<org.neo4j.gds.config.ArrowConnectionInfo>protected ExecutorServiceprotected longprotected org.neo4j.gds.core.utils.progress.tasks.ProgressTrackerprotected Optional<org.neo4j.gds.api.ResultStore>protected org.neo4j.gds.termination.TerminationFlagprotected LongUnaryOperatorprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract NodePropertyExporterbuild()parallel(ExecutorService es, int writeConcurrency) withArrowConnectionInfo(Optional<org.neo4j.gds.config.ArrowConnectionInfo> arrowConnectionInfo, Optional<String> remoteDatabaseName) withIdMap(org.neo4j.gds.api.IdMap idMap) withProgressTracker(org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker) Set theProgressTrackerto use for logging progress during export.withResultStore(Optional<org.neo4j.gds.api.ResultStore> resultStore) withTerminationFlag(org.neo4j.gds.termination.TerminationFlag terminationFlag)
-
Field Details
-
toOriginalId
-
nodeCount
protected long nodeCount -
terminationFlag
protected org.neo4j.gds.termination.TerminationFlag terminationFlag -
executorService
-
writeConcurrency
protected int writeConcurrency -
progressTracker
protected org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker -
arrowConnectionInfo
-
remoteDatabaseName
-
resultStore
-
-
Constructor Details
-
NodePropertyExporterBuilder
public NodePropertyExporterBuilder()
-
-
Method Details
-
build
-
withIdMap
-
withTerminationFlag
public NodePropertyExporterBuilder withTerminationFlag(org.neo4j.gds.termination.TerminationFlag terminationFlag) -
withProgressTracker
public NodePropertyExporterBuilder 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 NodePropertyExporterBuilder withArrowConnectionInfo(Optional<org.neo4j.gds.config.ArrowConnectionInfo> arrowConnectionInfo, Optional<String> remoteDatabaseName) -
parallel
-
withResultStore
public NodePropertyExporterBuilder withResultStore(Optional<org.neo4j.gds.api.ResultStore> resultStore)
-