Modifier and Type | Field and Description |
---|---|
static Direction[] |
Direction.proper |
Modifier and Type | Method and Description |
---|---|
Direction |
Direction.opposite()
Produce the opposite representation of the current
Direction enum. |
static Direction |
Direction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Direction[] |
Direction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Edge> |
Vertex.edges(Direction direction,
String... edgeLabels)
Gets an
Iterator of incident edges. |
Iterator<Vertex> |
Edge.vertices(Direction direction)
Retrieve the vertex (or vertices) associated with this edge as defined by the direction.
|
Iterator<Vertex> |
Vertex.vertices(Direction direction,
String... edgeLabels)
Gets an
Iterator of adjacent vertices. |
Modifier and Type | Method and Description |
---|---|
Vertex |
GraphReader.readVertex(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker)
Reads a single vertex from an
InputStream . |
Iterator<Vertex> |
GraphReader.readVertices(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker)
Reads a set of vertices from an
InputStream which were written by
GraphWriter.writeVertices(java.io.OutputStream, org.apache.tinkerpop.gremlin.process.traversal.Traversal) . |
void |
GraphWriter.writeVertex(OutputStream outputStream,
Vertex v,
Direction direction)
Write a vertex to a stream with its associated edges.
|
default void |
GraphWriter.writeVertices(OutputStream outputStream,
org.apache.tinkerpop.gremlin.process.traversal.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(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker) |
Iterator<Vertex> |
GraphMLReader.readVertices(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker) |
void |
GraphMLWriter.writeVertex(OutputStream outputStream,
Vertex v,
Direction direction) |
void |
GraphMLWriter.writeVertices(OutputStream outputStream,
org.apache.tinkerpop.gremlin.process.traversal.Traversal<?,Vertex> traversal,
Direction direction) |
Modifier and Type | Method and Description |
---|---|
Vertex |
GraphSONReader.readVertex(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker) |
Vertex |
LegacyGraphSONReader.readVertex(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker) |
Iterator<Vertex> |
GraphSONReader.readVertices(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker) |
Iterator<Vertex> |
LegacyGraphSONReader.readVertices(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker) |
void |
GraphSONWriter.writeVertex(OutputStream outputStream,
Vertex v,
Direction direction) |
void |
GraphSONWriter.writeVertices(OutputStream outputStream,
org.apache.tinkerpop.gremlin.process.traversal.Traversal<?,Vertex> traversal,
Direction direction) |
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.