Package org.neo4j.gds.core.write
Class RelationshipStreamExporterBuilder<T extends RelationshipStreamExporter>
- java.lang.Object
-
- org.neo4j.gds.core.write.RelationshipStreamExporterBuilder<T>
-
- Direct Known Subclasses:
NativeRelationshipStreamExporter.Builder
public abstract class RelationshipStreamExporterBuilder<T extends RelationshipStreamExporter> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected int
batchSize
protected ProgressLogger
progressLogger
protected java.util.stream.Stream<Relationship>
relationships
protected TerminationFlag
terminationFlag
protected java.util.function.LongUnaryOperator
toOriginalId
protected TransactionContext
transactionContext
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract T
build()
RelationshipStreamExporterBuilder<T>
withIdMapping(IdMapping idMapping)
RelationshipStreamExporterBuilder<T>
withLog(org.neo4j.logging.Log log)
RelationshipStreamExporterBuilder<T>
withRelationships(java.util.stream.Stream<Relationship> relationships)
RelationshipStreamExporterBuilder<T>
withTerminationFlag(TerminationFlag terminationFlag)
-
-
-
Field Detail
-
transactionContext
protected final TransactionContext transactionContext
-
relationships
protected java.util.stream.Stream<Relationship> relationships
-
batchSize
protected int batchSize
-
toOriginalId
protected java.util.function.LongUnaryOperator toOriginalId
-
terminationFlag
protected TerminationFlag terminationFlag
-
progressLogger
protected ProgressLogger progressLogger
-
-
Method Detail
-
build
public abstract T build()
-
withIdMapping
public RelationshipStreamExporterBuilder<T> withIdMapping(IdMapping idMapping)
-
withTerminationFlag
public RelationshipStreamExporterBuilder<T> withTerminationFlag(TerminationFlag terminationFlag)
-
withLog
public RelationshipStreamExporterBuilder<T> withLog(org.neo4j.logging.Log log)
-
withRelationships
public RelationshipStreamExporterBuilder<T> withRelationships(java.util.stream.Stream<Relationship> relationships)
-
-