Class NodePropertyExporterBuilder

java.lang.Object
org.neo4j.gds.core.write.NodePropertyExporterBuilder
Direct Known Subclasses:
NativeNodePropertiesExporterBuilder, ResultStoreNodePropertyExporterBuilder

public abstract class NodePropertyExporterBuilder extends Object
  • Field Details

    • toOriginalId

      protected LongUnaryOperator toOriginalId
    • nodeCount

      protected long nodeCount
    • terminationFlag

      protected org.neo4j.gds.termination.TerminationFlag terminationFlag
    • executorService

      protected ExecutorService executorService
    • writeConcurrency

      protected int writeConcurrency
    • progressTracker

      protected org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker
    • arrowConnectionInfo

      protected Optional<org.neo4j.gds.config.ArrowConnectionInfo> arrowConnectionInfo
    • remoteDatabaseName

      protected Optional<String> remoteDatabaseName
    • resultStore

      protected Optional<org.neo4j.gds.api.ResultStore> resultStore
  • Constructor Details

    • NodePropertyExporterBuilder

      public NodePropertyExporterBuilder()
  • Method Details

    • build

      public abstract NodePropertyExporter build()
    • withIdMap

      public NodePropertyExporterBuilder withIdMap(org.neo4j.gds.api.IdMap idMap)
    • withTerminationFlag

      public NodePropertyExporterBuilder withTerminationFlag(org.neo4j.gds.termination.TerminationFlag terminationFlag)
    • withProgressTracker

      public NodePropertyExporterBuilder withProgressTracker(org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker)
      Set the ProgressTracker to use for logging progress during export. If a TaskProgressTracker is used, caller must manage beginning and finishing the subtasks. By default, an ProgressTracker.EmptyProgressTracker is 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

      public NodePropertyExporterBuilder parallel(ExecutorService es, int writeConcurrency)
    • withResultStore

      public NodePropertyExporterBuilder withResultStore(Optional<org.neo4j.gds.api.ResultStore> resultStore)