Package org.neo4j.gds.core.write
Class NodeLabelExporterBuilder
java.lang.Object
org.neo4j.gds.core.write.NodeLabelExporterBuilder
- Direct Known Subclasses:
NativeNodeLabelExporterBuilder,ResultStoreNodeLabelExporterBuilder
-
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 NodeLabelExporterbuild()parallel(ExecutorService es, int writeConcurrency) withArrowConnectionInfo(Optional<org.neo4j.gds.config.ArrowConnectionInfo> arrowConnectionInfo, Optional<String> databaseName) 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
-
databaseName
-
resultStore
-
-
Constructor Details
-
NodeLabelExporterBuilder
public NodeLabelExporterBuilder()
-
-
Method Details
-
build
-
withIdMap
-
withTerminationFlag
public NodeLabelExporterBuilder withTerminationFlag(org.neo4j.gds.termination.TerminationFlag terminationFlag) -
withProgressTracker
public NodeLabelExporterBuilder 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 NodeLabelExporterBuilder withArrowConnectionInfo(Optional<org.neo4j.gds.config.ArrowConnectionInfo> arrowConnectionInfo, Optional<String> databaseName) -
parallel
-
withResultStore
public NodeLabelExporterBuilder withResultStore(Optional<org.neo4j.gds.api.ResultStore> resultStore)
-