Class AbstractGenerator.AbstractGeneratorBuilder<T extends AbstractGenerator.AbstractGeneratorBuilder>
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.algorithm.generator.AbstractGenerator.AbstractGeneratorBuilder<T>
-
- Direct Known Subclasses:
CommunityGenerator.Builder
,DistributionGenerator.Builder
- Enclosing class:
- AbstractGenerator
public abstract static class AbstractGenerator.AbstractGeneratorBuilder<T extends AbstractGenerator.AbstractGeneratorBuilder> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Optional<Consumer<Edge>>
edgeProcessor
protected String
label
protected Supplier<Long>
seedSupplier
protected Optional<BiConsumer<Vertex,Map<String,Object>>>
vertexProcessor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
edgeProcessor(Consumer<Edge> edgeProcessor)
T
label(String label)
T
seedGenerator(Supplier<Long> seedGenerator)
T
vertexProcessor(BiConsumer<Vertex,Map<String,Object>> vertexProcessor)
The function supplied here may be called more than once per vertex depending on the implementation.
-