public interface SnapshotBuilder
| Modifier and Type | Method and Description |
|---|---|
SnapshotBuilder |
conf(java.lang.String key,
java.lang.String value)
Set or override an arbitrary key-value string pair in the
configuration of the Spark job used to create the snapshot.
|
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource |
create()
Make the snapshot.
|
SnapshotBuilder |
edges(java.lang.String... labels)
Set the edge labels to retain in the snapshot.
|
SnapshotBuilder |
vertices(java.lang.String... labels)
Set the vertex labels to retain in the snapshot.
|
SnapshotBuilder vertices(java.lang.String... labels)
If this method is never called on a SnapshotBuilder, then it retains all vertices regardless of label.
labels - one or more vertex label names to snapshotSnapshotBuilder edges(java.lang.String... labels)
If this method is never called on a SnapshotBuilder, then it retains all edges regardless of label.
labels - one or more edge label names to snapshotSnapshotBuilder conf(java.lang.String key, java.lang.String value)
key - the configuration option to modifyvalue - the configuraiton valueorg.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource create()
throws java.lang.InterruptedException,
java.util.concurrent.ExecutionException
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionException