public abstract static class AbstractGenerator.AbstractGeneratorBuilder<T extends AbstractGenerator.AbstractGeneratorBuilder> extends Object
Modifier and Type | Field and Description |
---|---|
protected Optional<Consumer<Edge>> |
edgeProcessor |
protected String |
label |
protected Supplier<Long> |
seedSupplier |
protected Optional<BiConsumer<Vertex,Map<String,Object>>> |
vertexProcessor |
Modifier and Type | Method and 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.
|
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.