| Modifier and Type | Method and Description |
|---|---|
Traverser.Admin<T> |
Traverser.Admin.attach(Vertex hostVertex)
Regenerate the detached traverser given its location at a particular vertex.
|
void |
TraversalSideEffects.setLocalVertex(Vertex vertex)
In a distributed
GraphComputer traversal, the sideEffects of the traversal are not a single object within a single JVM. |
| Modifier and Type | Field and Description |
|---|---|
java.util.function.Supplier<? extends Traversal<Vertex,Edge>> |
MessageScope.Local.incidentTraversal |
| Modifier and Type | Method and Description |
|---|---|
Traversal<Vertex,Edge> |
MessageScope.Local.ReverseTraversalSupplier.get() |
java.util.function.Supplier<? extends Traversal<Vertex,Edge>> |
MessageScope.Local.getIncidentTraversal() |
java.lang.Iterable<Vertex> |
MessageScope.Global.vertices() |
| Modifier and Type | Method and Description |
|---|---|
void |
VertexProgram.execute(Vertex vertex,
Messenger<M> messenger,
Memory memory)
This method denotes the main body of the computation and is executed on each vertex in the graph.
|
default void |
MapReduce.map(Vertex vertex,
MapReduce.MapEmitter<MK,MV> emitter)
The map() method is logically executed at all vertices in the graph in parallel.
|
static MessageScope.Global |
MessageScope.Global.of(Vertex... vertices) |
| Modifier and Type | Method and Description |
|---|---|
static MessageScope.Global |
MessageScope.Global.of(java.lang.Iterable<Vertex> vertices) |
static <M> MessageScope.Local<M> |
MessageScope.Local.of(java.util.function.Supplier<? extends Traversal<Vertex,Edge>> incidentTraversal) |
static <M> MessageScope.Local<M> |
MessageScope.Local.of(java.util.function.Supplier<? extends Traversal<Vertex,Edge>> incidentTraversal,
java.util.function.BiFunction<M,Edge,M> edgeFunction) |
| Modifier and Type | Method and Description |
|---|---|
void |
PeerPressureVertexProgram.execute(Vertex vertex,
Messenger<org.javatuples.Pair<java.io.Serializable,java.lang.Double>> messenger,
Memory memory) |
void |
ClusterCountMapReduce.map(Vertex vertex,
MapReduce.MapEmitter<MapReduce.NullObject,java.io.Serializable> emitter) |
void |
ClusterPopulationMapReduce.map(Vertex vertex,
MapReduce.MapEmitter<java.io.Serializable,java.lang.Long> emitter) |
| Modifier and Type | Method and Description |
|---|---|
PeerPressureVertexProgram.Builder |
PeerPressureVertexProgram.Builder.incident(java.lang.Class<java.util.function.Supplier<Traversal<Vertex,Edge>>> traversalClass) |
PeerPressureVertexProgram.Builder |
PeerPressureVertexProgram.Builder.incident(java.util.function.Supplier<Traversal<Vertex,Edge>> traversal) |
| Modifier and Type | Method and Description |
|---|---|
void |
LambdaVertexProgram.execute(Vertex vertex,
Messenger<M> messenger,
Memory memory) |
void |
LambdaMapReduce.map(Vertex vertex,
MapReduce.MapEmitter<MK,MV> emitter) |
| Modifier and Type | Method and Description |
|---|---|
LambdaVertexProgram.Builder |
LambdaVertexProgram.Builder.execute(java.lang.Class<? extends TriConsumer<Vertex,Messenger,Memory>> executeClass) |
LambdaVertexProgram.Builder |
LambdaVertexProgram.Builder.execute(TriConsumer<Vertex,Messenger,Memory> executeLambda) |
LambdaMapReduce.Builder<MK,MV,RK,RV,R> |
LambdaMapReduce.Builder.map(java.util.function.BiConsumer<Vertex,MapReduce.MapEmitter<MK,MV>> mapLambda) |
LambdaMapReduce.Builder<MK,MV,RK,RV,R> |
LambdaMapReduce.Builder.map(java.lang.Class<? extends java.util.function.BiConsumer<Vertex,MapReduce.MapEmitter<MK,MV>>> mapClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
PageRankVertexProgram.execute(Vertex vertex,
Messenger<java.lang.Double> messenger,
Memory memory) |
void |
PageRankMapReduce.map(Vertex vertex,
MapReduce.MapEmitter<java.lang.Object,java.lang.Double> emitter) |
| Modifier and Type | Method and Description |
|---|---|
PageRankVertexProgram.Builder |
PageRankVertexProgram.Builder.incident(java.lang.Class<java.util.function.Supplier<Traversal<Vertex,Edge>>> traversalClass) |
PageRankVertexProgram.Builder |
PageRankVertexProgram.Builder.incident(java.util.function.Supplier<Traversal<Vertex,Edge>> traversal) |
| Modifier and Type | Method and Description |
|---|---|
void |
TraversalVertexProgram.execute(Vertex vertex,
Messenger<TraverserSet<?>> messenger,
Memory memory) |
static boolean |
TraverserExecutor.execute(Vertex vertex,
Messenger<TraverserSet<?>> messenger,
TraversalMatrix<?,?> traversalMatrix) |
| Modifier and Type | Method and Description |
|---|---|
void |
TraverserMapReduce.map(Vertex vertex,
MapReduce.MapEmitter<java.lang.Comparable,java.lang.Object> emitter) |
| Modifier and Type | Method and Description |
|---|---|
static StrategyVertex |
ComputerDataStrategy.wrapVertex(Vertex vertex,
VertexProgram<?> vertexProgram) |
| Modifier and Type | Method and Description |
|---|---|
default GraphTraversal<S,Vertex> |
GraphTraversal.addBothE(java.lang.String edgeLabel,
java.lang.String stepLabel,
java.lang.Object... propertyKeyValues) |
default GraphTraversal<A,Vertex> |
ElementTraversal.addBothE(java.lang.String edgeLabel,
java.lang.String stepLabel,
java.lang.Object... propertyKeyValues) |
default <A> GraphTraversal<A,Vertex> |
AnonymousGraphTraversal.addBothE(java.lang.String edgeLabel,
java.lang.String stepLabel,
java.lang.Object... propertyKeyValues) |
default GraphTraversal<S,Vertex> |
GraphTraversal.addE(Direction direction,
java.lang.String edgeLabel,
java.lang.String stepLabel,
java.lang.Object... propertyKeyValues) |
default GraphTraversal<A,Vertex> |
ElementTraversal.addE(Direction direction,
java.lang.String edgeLabel,
java.lang.String stepLabel,
java.lang.Object... propertyKeyValues) |
default <A> GraphTraversal<A,Vertex> |
AnonymousGraphTraversal.addE(Direction direction,
java.lang.String edgeLabel,
java.lang.String stepLabel,
java.lang.Object... propertyKeyValues) |
default GraphTraversal<S,Vertex> |
GraphTraversal.addInE(java.lang.String edgeLabel,
java.lang.String stepLabel,
java.lang.Object... propertyKeyValues) |
default GraphTraversal<A,Vertex> |
ElementTraversal.addInE(java.lang.String edgeLabel,
java.lang.String setLabel,
java.lang.Object... propertyKeyValues) |
default <A> GraphTraversal<A,Vertex> |
AnonymousGraphTraversal.addInE(java.lang.String edgeLabel,
java.lang.String setLabel,
java.lang.Object... propertyKeyValues) |
default GraphTraversal<S,Vertex> |
GraphTraversal.addOutE(java.lang.String edgeLabel,
java.lang.String stepLabel,
java.lang.Object... propertyKeyValues) |
default GraphTraversal<A,Vertex> |
ElementTraversal.addOutE(java.lang.String edgeLabel,
java.lang.String stepLabel,
java.lang.Object... propertyKeyValues) |
default <A> GraphTraversal<A,Vertex> |
AnonymousGraphTraversal.addOutE(java.lang.String edgeLabel,
java.lang.String stepLabel,
java.lang.Object... propertyKeyValues) |
default GraphTraversal<S,Vertex> |
GraphTraversal.both(java.lang.String... edgeLabels) |
default GraphTraversal<A,Vertex> |
ElementTraversal.both(java.lang.String... edgeLabels) |
default <A> GraphTraversal<A,Vertex> |
AnonymousGraphTraversal.both(java.lang.String... edgeLabels) |
default GraphTraversal<S,Vertex> |
GraphTraversal.bothV() |
default GraphTraversal<A,Vertex> |
ElementTraversal.bothV() |
default <A> GraphTraversal<A,Vertex> |
AnonymousGraphTraversal.bothV() |
default GraphTraversal<S,Vertex> |
GraphTraversal.in(java.lang.String... edgeLabels) |
default GraphTraversal<A,Vertex> |
ElementTraversal.in(java.lang.String... edgeLabels) |
default <A> GraphTraversal<A,Vertex> |
AnonymousGraphTraversal.in(java.lang.String... edgeLabels) |
default GraphTraversal<S,Vertex> |
GraphTraversal.inV() |
default GraphTraversal<A,Vertex> |
ElementTraversal.inV() |
default <A> GraphTraversal<A,Vertex> |
AnonymousGraphTraversal.inV() |
default GraphTraversal<S,Vertex> |
GraphTraversal.otherV() |
default GraphTraversal<A,Vertex> |
ElementTraversal.otherV() |
default <A> GraphTraversal<A,Vertex> |
AnonymousGraphTraversal.otherV() |
default GraphTraversal<S,Vertex> |
GraphTraversal.out(java.lang.String... edgeLabels) |
default GraphTraversal<A,Vertex> |
ElementTraversal.out(java.lang.String... edgeLabels) |
default <A> GraphTraversal<A,Vertex> |
AnonymousGraphTraversal.out(java.lang.String... edgeLabels) |
default GraphTraversal<S,Vertex> |
GraphTraversal.outV() |
default GraphTraversal<A,Vertex> |
ElementTraversal.outV() |
default <A> GraphTraversal<A,Vertex> |
AnonymousGraphTraversal.outV() |
default <E2> GraphTraversal<Vertex,VertexProperty<E2>> |
VertexTraversal.properties(java.lang.String... propertyKeys) |
default <E2> GraphTraversal<Vertex,java.util.Map<java.lang.String,java.util.List<VertexProperty<E2>>>> |
VertexTraversal.propertyMap(java.lang.String... propertyKeys) |
default GraphTraversal<Vertex,Vertex> |
VertexTraversal.start() |
default GraphTraversal<Vertex,Vertex> |
VertexTraversal.start() |
default GraphTraversal<S,Vertex> |
GraphTraversal.to(Direction direction,
java.lang.String... edgeLabels) |
default GraphTraversal<A,Vertex> |
ElementTraversal.to(Direction direction,
java.lang.String... edgeLabels) |
default <A> GraphTraversal<A,Vertex> |
AnonymousGraphTraversal.to(Direction direction,
java.lang.String... edgeLabels) |
default GraphTraversal<S,Vertex> |
GraphTraversal.toV(Direction direction) |
default GraphTraversal<A,Vertex> |
ElementTraversal.toV(Direction direction) |
default <A> GraphTraversal<A,Vertex> |
AnonymousGraphTraversal.toV(Direction direction) |
default <E2> GraphTraversal<Vertex,E2> |
VertexTraversal.value() |
default <E2> GraphTraversal<Vertex,java.util.Map<java.lang.String,java.util.List<E2>>> |
VertexTraversal.valueMap(boolean includeTokens,
java.lang.String... propertyKeys) |
default <E2> GraphTraversal<Vertex,java.util.Map<java.lang.String,java.util.List<E2>>> |
VertexTraversal.valueMap(java.lang.String... propertyKeys) |
| Modifier and Type | Method and Description |
|---|---|
default GraphTraversal<S,E> |
GraphTraversal.subgraph(java.util.Set<java.lang.Object> edgeIdHolder,
java.util.Map<java.lang.Object,Vertex> vertexMap,
java.util.function.Predicate<Edge> includeEdge) |
default GraphTraversal<A,A> |
ElementTraversal.subgraph(java.util.Set<java.lang.Object> edgeIdHolder,
java.util.Map<java.lang.Object,Vertex> vertexMap,
java.util.function.Predicate<Edge> includeEdge) |
default <A> GraphTraversal<A,A> |
AnonymousGraphTraversal.subgraph(java.util.Set<java.lang.Object> edgeIdHolder,
java.util.Map<java.lang.Object,Vertex> vertexMap,
java.util.function.Predicate<Edge> includeEdge) |
default GraphTraversal<S,E> |
GraphTraversal.subgraph(java.lang.String sideEffectKey,
java.util.Set<java.lang.Object> edgeIdHolder,
java.util.Map<java.lang.Object,Vertex> vertexMap,
java.util.function.Predicate<Edge> includeEdge) |
default GraphTraversal<A,A> |
ElementTraversal.subgraph(java.lang.String sideEffectKey,
java.util.Set<java.lang.Object> edgeIdHolder,
java.util.Map<java.lang.Object,Vertex> vertexMap,
java.util.function.Predicate<Edge> includeEdge) |
default <A> GraphTraversal<A,A> |
AnonymousGraphTraversal.subgraph(java.lang.String sideEffectKey,
java.util.Set<java.lang.Object> edgeIdHolder,
java.util.Map<java.lang.Object,Vertex> vertexMap,
java.util.function.Predicate<Edge> includeEdge) |
| Constructor and Description |
|---|
SubgraphStep(Traversal traversal,
java.lang.String sideEffectKey,
java.util.Set<java.lang.Object> edgeIdHolder,
java.util.Map<java.lang.Object,Vertex> idVertexMap,
java.util.function.Predicate<Edge> includeEdge) |
| Modifier and Type | Method and Description |
|---|---|
void |
SumMapReduce.map(Vertex vertex,
MapReduce.MapEmitter<MapReduce.NullObject,java.lang.Double> emitter) |
void |
CountMapReduce.map(Vertex vertex,
MapReduce.MapEmitter<MapReduce.NullObject,java.lang.Long> emitter) |
void |
StoreMapReduce.map(Vertex vertex,
MapReduce.MapEmitter<MapReduce.NullObject,java.lang.Object> emitter) |
void |
AggregateMapReduce.map(Vertex vertex,
MapReduce.MapEmitter<MapReduce.NullObject,java.lang.Object> emitter) |
void |
ProfileMapReduce.map(Vertex vertex,
MapReduce.MapEmitter<MapReduce.NullObject,TraversalMetrics> emitter) |
void |
GroupMapReduce.map(Vertex vertex,
MapReduce.MapEmitter<java.lang.Object,java.util.Collection> emitter) |
void |
GroupCountMapReduce.map(Vertex vertex,
MapReduce.MapEmitter<java.lang.Object,java.lang.Long> emitter) |
void |
TreeMapReduce.map(Vertex vertex,
MapReduce.MapEmitter<java.lang.Object,Tree> emitter) |
| Modifier and Type | Method and Description |
|---|---|
Traverser.Admin<T> |
B_O_PA_S_SE_SL_Traverser.attach(Vertex vertex) |
| Modifier and Type | Method and Description |
|---|---|
Traverser.Admin<T> |
AbstractTraverser.attach(Vertex hostVertex) |
Traverser.Admin<T> |
AbstractPathTraverser.attach(Vertex vertex) |
| Modifier and Type | Method and Description |
|---|---|
Traverser.Admin<T> |
EmptyTraverser.attach(Vertex hostVertex) |
void |
EmptyTraversalSideEffects.setLocalVertex(Vertex vertex) |
void |
DefaultTraversalSideEffects.setLocalVertex(Vertex vertex)
In a distributed
GraphComputer traversal, the sideEffects of the traversal are not a single object within a single JVM. |
| Modifier and Type | Method and Description |
|---|---|
Vertex |
Graph.addVertex(java.lang.Object... keyValues)
Add a
Vertex to the graph given an optional series of key/value pairs. |
default Vertex |
Graph.addVertex(java.lang.String label)
Add a
Vertex to the graph with provided vertex label. |
Vertex |
VertexProperty.element()
Gets the
Vertex that owns this VertexProperty. |
| Modifier and Type | Method and Description |
|---|---|
default GraphTraversal<Vertex,Vertex> |
Graph.V(java.lang.Object... vertexIds)
Starts a
GraphTraversal over the vertices in the graph. |
default GraphTraversal<Vertex,Vertex> |
Graph.V(java.lang.Object... vertexIds)
Starts a
GraphTraversal over the vertices in the graph. |
java.util.Iterator<Vertex> |
Edge.Iterators.vertexIterator(Direction direction)
Retrieve the vertex (or vertices) associated with this edge as defined by the direction.
|
java.util.Iterator<Vertex> |
Vertex.Iterators.vertexIterator(Direction direction,
java.lang.String... edgeLabels)
Gets an
Iterator of adjacent vertices. |
java.util.Iterator<Vertex> |
Graph.Iterators.vertexIterator(java.lang.Object... vertexIds)
Get the
Vertex objects in this graph with the provided vertex ids. |
| Modifier and Type | Method and Description |
|---|---|
Edge |
Vertex.addEdge(java.lang.String label,
Vertex inVertex,
java.lang.Object... keyValues)
Add an outgoing edge to the vertex with provided label and edge properties as key/value pairs.
|
| Modifier and Type | Method and Description |
|---|---|
Vertex |
GraphReader.readVertex(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker)
Reads a single vertex from an
InputStream. |
Vertex |
GraphReader.readVertex(java.io.InputStream inputStream,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker)
Reads a single vertex from an
InputStream. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<Vertex> |
GraphReader.readVertices(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker)
Reads a set of vertices from an
InputStream which were written by
GraphWriter.writeVertices(java.io.OutputStream, com.tinkerpop.gremlin.process.Traversal). |
| Modifier and Type | Method and Description |
|---|---|
void |
GraphWriter.writeVertex(java.io.OutputStream outputStream,
Vertex v)
Write a vertex to a stream without writing its edges.
|
void |
GraphWriter.writeVertex(java.io.OutputStream outputStream,
Vertex v,
Direction direction)
Write a vertex to a stream with its associated edges.
|
| Modifier and Type | Method and Description |
|---|---|
Vertex |
GraphReader.readVertex(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker)
Reads a single vertex from an
InputStream. |
Vertex |
GraphReader.readVertex(java.io.InputStream inputStream,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker)
Reads a single vertex from an
InputStream. |
java.util.Iterator<Vertex> |
GraphReader.readVertices(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker)
Reads a set of vertices from an
InputStream which were written by
GraphWriter.writeVertices(java.io.OutputStream, com.tinkerpop.gremlin.process.Traversal). |
default void |
GraphWriter.writeVertices(java.io.OutputStream outputStream,
Traversal<?,Vertex> traversal)
Write a vertex to a stream without writing its edges.
|
default void |
GraphWriter.writeVertices(java.io.OutputStream outputStream,
Traversal<?,Vertex> traversal,
Direction direction)
Write a list of vertices from a
Traversal to a stream with its associated edges. |
| Modifier and Type | Method and Description |
|---|---|
Vertex |
GraphMLReader.readVertex(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker) |
Vertex |
GraphMLReader.readVertex(java.io.InputStream inputStream,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<Vertex> |
GraphMLReader.readVertices(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker) |
| Modifier and Type | Method and Description |
|---|---|
void |
GraphMLWriter.writeVertex(java.io.OutputStream outputStream,
Vertex v) |
void |
GraphMLWriter.writeVertex(java.io.OutputStream outputStream,
Vertex v,
Direction direction) |
| Modifier and Type | Method and Description |
|---|---|
Vertex |
GraphMLReader.readVertex(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker) |
Vertex |
GraphMLReader.readVertex(java.io.InputStream inputStream,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker) |
java.util.Iterator<Vertex> |
GraphMLReader.readVertices(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker) |
void |
GraphMLWriter.writeVertices(java.io.OutputStream outputStream,
Traversal<?,Vertex> traversal) |
void |
GraphMLWriter.writeVertices(java.io.OutputStream outputStream,
Traversal<?,Vertex> traversal,
Direction direction) |
| Modifier and Type | Method and Description |
|---|---|
Vertex |
LegacyGraphSONReader.readVertex(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker) |
Vertex |
GraphSONReader.readVertex(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker) |
Vertex |
LegacyGraphSONReader.readVertex(java.io.InputStream inputStream,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker) |
Vertex |
GraphSONReader.readVertex(java.io.InputStream inputStream,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker) |
Vertex |
LegacyGraphSONReader.GraphSONUtility.vertexFromJson(com.fasterxml.jackson.databind.JsonNode json) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<Vertex> |
LegacyGraphSONReader.readVertices(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker) |
java.util.Iterator<Vertex> |
GraphSONReader.readVertices(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker) |
| Modifier and Type | Method and Description |
|---|---|
Edge |
LegacyGraphSONReader.GraphSONUtility.edgeFromJson(com.fasterxml.jackson.databind.JsonNode json,
Vertex out,
Vertex in) |
void |
GraphSONWriter.writeVertex(java.io.OutputStream outputStream,
Vertex v) |
void |
GraphSONWriter.writeVertex(java.io.OutputStream outputStream,
Vertex v,
Direction direction) |
| Modifier and Type | Method and Description |
|---|---|
Vertex |
LegacyGraphSONReader.readVertex(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker) |
Vertex |
GraphSONReader.readVertex(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker) |
Vertex |
LegacyGraphSONReader.readVertex(java.io.InputStream inputStream,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker) |
Vertex |
GraphSONReader.readVertex(java.io.InputStream inputStream,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker) |
java.util.Iterator<Vertex> |
LegacyGraphSONReader.readVertices(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker) |
java.util.Iterator<Vertex> |
GraphSONReader.readVertices(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker) |
void |
GraphSONWriter.writeVertices(java.io.OutputStream outputStream,
Traversal<?,Vertex> traversal) |
void |
GraphSONWriter.writeVertices(java.io.OutputStream outputStream,
Traversal<?,Vertex> traversal,
Direction direction) |
| Modifier and Type | Method and Description |
|---|---|
Vertex |
KryoReader.readVertex(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker) |
Vertex |
KryoReader.readVertex(java.io.InputStream inputStream,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<Vertex> |
KryoReader.readVertices(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker) |
| Modifier and Type | Method and Description |
|---|---|
void |
KryoWriter.writeVertex(java.io.OutputStream outputStream,
Vertex v) |
void |
KryoWriter.writeVertex(java.io.OutputStream outputStream,
Vertex v,
Direction direction) |
| Modifier and Type | Method and Description |
|---|---|
Vertex |
KryoReader.readVertex(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker) |
Vertex |
KryoReader.readVertex(java.io.InputStream inputStream,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker) |
java.util.Iterator<Vertex> |
KryoReader.readVertices(java.io.InputStream inputStream,
Direction direction,
java.util.function.Function<DetachedVertex,Vertex> vertexMaker,
java.util.function.Function<DetachedEdge,Edge> edgeMaker) |
| Modifier and Type | Class and Description |
|---|---|
class |
StrategyVertex |
| Modifier and Type | Method and Description |
|---|---|
Vertex |
StrategyGraph.addVertex(java.lang.Object... keyValues) |
Vertex |
StrategyVertexProperty.element() |
Vertex |
StrategyVertex.getBaseVertex() |
Vertex |
StrategyVertex.StrategyVertexIterator.next() |
| Modifier and Type | Method and Description |
|---|---|
java.util.function.UnaryOperator<TriFunction<java.lang.String,Vertex,java.lang.Object[],Edge>> |
SequenceStrategy.getAddEdgeStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy) |
java.util.function.UnaryOperator<TriFunction<java.lang.String,Vertex,java.lang.Object[],Edge>> |
ReadOnlyStrategy.getAddEdgeStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy) |
java.util.function.UnaryOperator<TriFunction<java.lang.String,Vertex,java.lang.Object[],Edge>> |
PartitionStrategy.getAddEdgeStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy) |
java.util.function.UnaryOperator<TriFunction<java.lang.String,Vertex,java.lang.Object[],Edge>> |
IdStrategy.getAddEdgeStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy) |
default java.util.function.UnaryOperator<TriFunction<java.lang.String,Vertex,java.lang.Object[],Edge>> |
GraphStrategy.getAddEdgeStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy)
Construct a
TriFunction that enhances the features of
addEdge(String, com.tinkerpop.gremlin.structure.Vertex, Object...). |
java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],Vertex>> |
SequenceStrategy.getAddVertexStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy) |
java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],Vertex>> |
ReadOnlyStrategy.getAddVertexStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy) |
java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],Vertex>> |
PartitionStrategy.getAddVertexStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy) |
java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],Vertex>> |
IdStrategy.getAddVertexStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy) |
default java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],Vertex>> |
GraphStrategy.getAddVertexStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Graph.addVertex(Object...). |
java.util.function.UnaryOperator<java.util.function.Function<Direction,java.util.Iterator<Vertex>>> |
SubgraphStrategy.getEdgeIteratorsVertexIteratorStrategy(StrategyContext<StrategyEdge> ctx,
GraphStrategy composingStrategy) |
java.util.function.UnaryOperator<java.util.function.Function<Direction,java.util.Iterator<Vertex>>> |
SequenceStrategy.getEdgeIteratorsVertexIteratorStrategy(StrategyContext<StrategyEdge> ctx,
GraphStrategy composingStrategy) |
java.util.function.UnaryOperator<java.util.function.Function<Direction,java.util.Iterator<Vertex>>> |
PartitionStrategy.getEdgeIteratorsVertexIteratorStrategy(StrategyContext<StrategyEdge> ctx,
GraphStrategy composingStrategy) |
default java.util.function.UnaryOperator<java.util.function.Function<Direction,java.util.Iterator<Vertex>>> |
GraphStrategy.getEdgeIteratorsVertexIteratorStrategy(StrategyContext<StrategyEdge> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Edge.Iterators.vertexIterator(com.tinkerpop.gremlin.structure.Direction). |
java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],java.util.Iterator<Vertex>>> |
SequenceStrategy.getGraphIteratorsVertexIteratorStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy) |
java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],java.util.Iterator<Vertex>>> |
IdStrategy.getGraphIteratorsVertexIteratorStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy) |
default java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],java.util.Iterator<Vertex>>> |
GraphStrategy.getGraphIteratorsVertexIteratorStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Graph.Iterators.vertexIterator(java.lang.Object...). |
java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],GraphTraversal<Vertex,Vertex>>> |
SubgraphStrategy.getGraphVStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy) |
java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],GraphTraversal<Vertex,Vertex>>> |
SubgraphStrategy.getGraphVStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy) |
java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],GraphTraversal<Vertex,Vertex>>> |
SequenceStrategy.getGraphVStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy) |
java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],GraphTraversal<Vertex,Vertex>>> |
SequenceStrategy.getGraphVStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy) |
java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],GraphTraversal<Vertex,Vertex>>> |
PartitionStrategy.getGraphVStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy) |
java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],GraphTraversal<Vertex,Vertex>>> |
PartitionStrategy.getGraphVStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy) |
java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],GraphTraversal<Vertex,Vertex>>> |
IdStrategy.getGraphVStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy) |
java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],GraphTraversal<Vertex,Vertex>>> |
IdStrategy.getGraphVStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy) |
default java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],GraphTraversal<Vertex,Vertex>>> |
GraphStrategy.getGraphVStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Graph.V(java.lang.Object...). |
default java.util.function.UnaryOperator<java.util.function.Function<java.lang.Object[],GraphTraversal<Vertex,Vertex>>> |
GraphStrategy.getGraphVStrategy(StrategyContext<StrategyGraph> ctx,
GraphStrategy composingStrategy)
Construct a
Function that enhances the features of Graph.V(java.lang.Object...). |
java.util.function.UnaryOperator<java.util.function.BiFunction<Direction,java.lang.String[],java.util.Iterator<Vertex>>> |
SubgraphStrategy.getVertexIteratorsVertexIteratorStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy) |
java.util.function.UnaryOperator<java.util.function.BiFunction<Direction,java.lang.String[],java.util.Iterator<Vertex>>> |
SequenceStrategy.getVertexIteratorsVertexIteratorStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy) |
java.util.function.UnaryOperator<java.util.function.BiFunction<Direction,java.lang.String[],java.util.Iterator<Vertex>>> |
PartitionStrategy.getVertexIteratorsVertexIteratorStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy) |
default java.util.function.UnaryOperator<java.util.function.BiFunction<Direction,java.lang.String[],java.util.Iterator<Vertex>>> |
GraphStrategy.getVertexIteratorsVertexIteratorStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy)
Construct a
TriFunction that enhances the features of Vertex.Iterators.vertexIterator(com.tinkerpop.gremlin.structure.Direction, java.lang.String...). |
<V> java.util.function.UnaryOperator<java.util.function.Supplier<Vertex>> |
SequenceStrategy.getVertexPropertyGetElementStrategy(StrategyContext<StrategyVertexProperty<V>> ctx,
GraphStrategy composingStrategy) |
default <V> java.util.function.UnaryOperator<java.util.function.Supplier<Vertex>> |
GraphStrategy.getVertexPropertyGetElementStrategy(StrategyContext<StrategyVertexProperty<V>> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of VertexProperty.element(). |
GraphTraversal<Vertex,Vertex> |
StrategyGraph.V(java.lang.Object... vertexIds) |
GraphTraversal<Vertex,Vertex> |
StrategyGraph.V(java.lang.Object... vertexIds) |
java.util.Iterator<Vertex> |
StrategyEdge.vertexIterator(Direction direction) |
java.util.Iterator<Vertex> |
StrategyVertex.vertexIterator(Direction direction,
java.lang.String... labels) |
java.util.Iterator<Vertex> |
StrategyGraph.vertexIterator(java.lang.Object... vertexIds) |
| Modifier and Type | Method and Description |
|---|---|
Edge |
StrategyVertex.addEdge(java.lang.String label,
Vertex inVertex,
java.lang.Object... keyValues) |
| Modifier and Type | Method and Description |
|---|---|
SubgraphStrategy.Builder |
SubgraphStrategy.Builder.vertexPredicate(java.util.function.Predicate<Vertex> vertexPredicate) |
| Constructor and Description |
|---|
StrategyVertex(Vertex baseVertex,
StrategyGraph strategyGraph) |
| Constructor and Description |
|---|
StrategyVertexIterator(java.util.Iterator<Vertex> iterator,
StrategyGraph strategyGraph) |
| Modifier and Type | Field and Description |
|---|---|
static java.util.Comparator<Vertex> |
Comparators.VERTEX_COMPARATOR |
| Modifier and Type | Method and Description |
|---|---|
static Vertex |
ElementHelper.getOrAddVertex(Graph graph,
java.lang.Object id,
java.lang.String label)
Check if the vertex, by ID, exists.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ElementHelper.attachSingleProperties(Vertex vertex,
java.lang.Object... propertyKeyValues)
Assign key/value pairs as properties to an
Vertex. |
static java.util.Map<java.lang.String,java.util.List<VertexProperty>> |
ElementHelper.vertexPropertyMap(Vertex vertex,
java.lang.String... propertyKeys) |
static java.util.Map<java.lang.String,java.util.List> |
ElementHelper.vertexPropertyValueMap(Vertex vertex,
java.lang.String... propertyKeys) |
static java.lang.String |
StringFactory.vertexString(Vertex vertex)
Construct the representation for a
Vertex. |
| Modifier and Type | Method and Description |
|---|---|
Vertex |
BatchGraph.addVertex(java.lang.Object... keyValues) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<Vertex> |
BatchGraph.vertexIterator(java.lang.Object... vertexIds) |
| Modifier and Type | Method and Description |
|---|---|
void |
VertexCache.set(Vertex vertex,
java.lang.Object externalId) |
void |
StringIDVertexCache.set(Vertex vertex,
java.lang.Object externalId) |
void |
LongIDVertexCache.set(Vertex vertex,
java.lang.Object externalId) |
| Modifier and Type | Class and Description |
|---|---|
class |
DetachedVertex
|
| Modifier and Type | Method and Description |
|---|---|
static Vertex |
DetachedVertex.addTo(Graph graph,
DetachedVertex detachedVertex) |
Vertex |
DetachedVertex.attach(Graph hostGraph) |
Vertex |
DetachedVertex.attach(Vertex hostVertex) |
Vertex |
DetachedVertexProperty.element() |
| Modifier and Type | Method and Description |
|---|---|
GraphTraversal<Vertex,Edge> |
DetachedVertex.edgeIterator(Direction direction,
java.lang.String... edgeLabels) |
java.util.Iterator<Vertex> |
DetachedEdge.vertexIterator(Direction direction) |
GraphTraversal<Vertex,Vertex> |
DetachedVertex.vertexIterator(Direction direction,
java.lang.String... labels) |
GraphTraversal<Vertex,Vertex> |
DetachedVertex.vertexIterator(Direction direction,
java.lang.String... labels) |
| Modifier and Type | Method and Description |
|---|---|
Edge |
DetachedVertex.addEdge(java.lang.String label,
Vertex inVertex,
java.lang.Object... keyValues) |
VertexProperty<V> |
DetachedVertexProperty.attach(Vertex hostVertex) |
Vertex |
DetachedVertex.attach(Vertex hostVertex) |
Property<V> |
DetachedProperty.attach(Vertex hostVertex) |
Path |
DetachedPath.attach(Vertex hostVertex) |
Edge |
DetachedEdge.attach(Vertex hostVertex) |
T |
Attachable.attach(Vertex hostVertex) |
static DetachedVertex |
DetachedFactory.detach(Vertex vertex,
boolean withProperties) |
| Constructor and Description |
|---|
DetachedVertex(Vertex vertex,
boolean withProperties) |
DetachedVertexProperty(java.lang.Object id,
java.lang.String label,
V value,
java.util.Map<java.lang.String,java.lang.Object> properties,
Vertex vertex) |
| Modifier and Type | Method and Description |
|---|---|
Vertex |
EmptyGraph.addVertex(java.lang.Object... keyValues) |
Vertex |
EmptyVertexProperty.element() |
| Modifier and Type | Method and Description |
|---|---|
GraphTraversal<Vertex,Vertex> |
EmptyGraph.V(java.lang.Object... vertexIds) |
GraphTraversal<Vertex,Vertex> |
EmptyGraph.V(java.lang.Object... vertexIds) |
java.util.Iterator<Vertex> |
EmptyGraph.vertexIterator(java.lang.Object... vertexIds) |
Copyright © 2013-2015 TinkerPop. All Rights Reserved.