Uses of Class
org.apache.tinkerpop.gremlin.structure.Direction
-
-
Uses of Direction in org.apache.tinkerpop.gremlin.groovy.jsr223.dsl.credential
Methods in org.apache.tinkerpop.gremlin.groovy.jsr223.dsl.credential with parameters of type Direction Modifier and Type Method Description static CredentialTraversal<Vertex,Vertex>
__. to(Direction direction, String... edgeLabels)
default CredentialTraversal<S,Vertex>
CredentialTraversal. to(Direction direction, String... edgeLabels)
static CredentialTraversal<Vertex,Edge>
__. toE(Direction direction, String... edgeLabels)
default CredentialTraversal<S,Edge>
CredentialTraversal. toE(Direction direction, String... edgeLabels)
static CredentialTraversal<Edge,Vertex>
__. toV(Direction direction)
default CredentialTraversal<S,Vertex>
CredentialTraversal. toV(Direction direction)
-
Uses of Direction in org.apache.tinkerpop.gremlin.language.grammar
Methods in org.apache.tinkerpop.gremlin.language.grammar that return Direction Modifier and Type Method Description Direction
ArgumentVisitor. parseDirection(GremlinParser.TraversalDirectionArgumentContext ctx)
Wrapper for visit function forDirection
types.static Direction
TraversalEnumParser. parseTraversalDirectionFromContext(GremlinParser.TraversalDirectionContext context)
Parsing ofDirection
requires some special handling because of aliases (from/to). -
Uses of Direction in org.apache.tinkerpop.gremlin.process.computer
Methods in org.apache.tinkerpop.gremlin.process.computer with parameters of type Direction Modifier and Type Method Description GraphFilter.Legal
GraphFilter. checkEdgeLegality(Direction direction)
Get the legality of a particular edge direction.GraphFilter.Legal
GraphFilter. checkEdgeLegality(Direction direction, String label)
Get the legality of a particular edge direction and label.Set<String>
GraphFilter. getLegallyPositiveEdgeLabels(Direction direction)
For a particular edge directionality, get all theGraphFilter.Legal.YES
orGraphFilter.Legal.MAYBE
edge labels. -
Uses of Direction in org.apache.tinkerpop.gremlin.process.computer.search.path
Methods in org.apache.tinkerpop.gremlin.process.computer.search.path with parameters of type Direction Modifier and Type Method Description ShortestPathVertexProgram.Builder
ShortestPathVertexProgram.Builder. edgeDirection(Direction direction)
-
Uses of Direction in org.apache.tinkerpop.gremlin.process.computer.util
Methods in org.apache.tinkerpop.gremlin.process.computer.util with parameters of type Direction Modifier and Type Method Description Iterator<Edge>
ComputerGraph.ComputerAdjacentVertex. edges(Direction direction, String... edgeLabels)
Iterator<Edge>
ComputerGraph.ComputerVertex. edges(Direction direction, String... edgeLabels)
Iterator<Vertex>
ComputerGraph.ComputerAdjacentVertex. vertices(Direction direction, String... edgeLabels)
Iterator<Vertex>
ComputerGraph.ComputerEdge. vertices(Direction direction)
Iterator<Vertex>
ComputerGraph.ComputerVertex. vertices(Direction direction, String... edgeLabels)
-
Uses of Direction in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph
Methods in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph with parameters of type Direction Modifier and Type Method Description static GraphTraversal<Vertex,Vertex>
__. to(Direction direction, String... edgeLabels)
default GraphTraversal<S,Vertex>
GraphTraversal. to(Direction direction, String... edgeLabels)
Map theVertex
to its adjacent vertices given a direction and edge labels.static GraphTraversal<Vertex,Edge>
__. toE(Direction direction, String... edgeLabels)
default GraphTraversal<S,Edge>
GraphTraversal. toE(Direction direction, String... edgeLabels)
Map theVertex
to its incident edges given the direction and edge labels.static GraphTraversal<Edge,Vertex>
__. toV(Direction direction)
default GraphTraversal<S,Vertex>
GraphTraversal. toV(Direction direction)
Map theEdge
to its incident vertices given the direction. -
Uses of Direction in org.apache.tinkerpop.gremlin.process.traversal.step.map
Fields in org.apache.tinkerpop.gremlin.process.traversal.step.map declared as Direction Modifier and Type Field Description protected Direction
EdgeVertexStep. direction
Methods in org.apache.tinkerpop.gremlin.process.traversal.step.map that return Direction Modifier and Type Method Description Direction
EdgeVertexStep. getDirection()
Direction
VertexStep. getDirection()
Methods in org.apache.tinkerpop.gremlin.process.traversal.step.map with parameters of type Direction Modifier and Type Method Description protected void
MergeEdgeStep. resolveVertex(Merge token, Direction direction, Map map, Traverser.Admin<S> traverser, Traversal.Admin<S,Object> traversal)
Constructors in org.apache.tinkerpop.gremlin.process.traversal.step.map with parameters of type Direction Constructor Description EdgeVertexStep(Traversal.Admin traversal, Direction direction)
VertexStep(Traversal.Admin traversal, Class<E> returnClass, Direction direction, String... edgeLabels)
-
Uses of Direction in org.apache.tinkerpop.gremlin.structure
Fields in org.apache.tinkerpop.gremlin.structure declared as Direction Modifier and Type Field Description static Direction
Direction. from
Friendly alias toOUT
static Direction[]
Direction. proper
static Direction
Direction. to
Friendly alias toIN
Methods in org.apache.tinkerpop.gremlin.structure that return Direction Modifier and Type Method Description static Direction
Direction. directionValueOf(String name)
GetDirection
from name.Direction
Direction. opposite()
Produce the opposite representation of the currentDirection
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.Methods in org.apache.tinkerpop.gremlin.structure with parameters of type Direction Modifier and Type Method Description Iterator<Edge>
Vertex. edges(Direction direction, String... edgeLabels)
Gets anIterator
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 anIterator
of adjacent vertices. -
Uses of Direction in org.apache.tinkerpop.gremlin.structure.io
Methods in org.apache.tinkerpop.gremlin.structure.io with parameters of type Direction Modifier and Type Method Description Vertex
GraphReader. readVertex(InputStream inputStream, Function<Attachable<Vertex>,Vertex> vertexAttachMethod, Function<Attachable<Edge>,Edge> edgeAttachMethod, Direction attachEdgesOfThisDirection)
Reads a single vertex from anInputStream
.Iterator<Vertex>
GraphReader. readVertices(InputStream inputStream, Function<Attachable<Vertex>,Vertex> vertexAttachMethod, Function<Attachable<Edge>,Edge> edgeAttachMethod, Direction attachEdgesOfThisDirection)
Reads a set of one or more vertices from anInputStream
which were written byGraphWriter.writeVertices(OutputStream, Iterator)
.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, Iterator<Vertex> vertexIterator, Direction direction)
Write a list of vertices from aTraversal
to a stream with its associated edges. -
Uses of Direction in org.apache.tinkerpop.gremlin.structure.io.binary.types
Fields in org.apache.tinkerpop.gremlin.structure.io.binary.types with type parameters of type Direction Modifier and Type Field Description static EnumSerializer<Direction>
EnumSerializer. DirectionSerializer
-
Uses of Direction in org.apache.tinkerpop.gremlin.structure.io.graphml
Methods in org.apache.tinkerpop.gremlin.structure.io.graphml with parameters of type Direction Modifier and Type Method Description Vertex
GraphMLReader. readVertex(InputStream inputStream, Function<Attachable<Vertex>,Vertex> vertexAttachMethod, Function<Attachable<Edge>,Edge> edgeAttachMethod, Direction attachEdgesOfThisDirection)
This method is not supported for this reader.Iterator<Vertex>
GraphMLReader. readVertices(InputStream inputStream, Function<Attachable<Vertex>,Vertex> vertexAttachMethod, Function<Attachable<Edge>,Edge> edgeAttachMethod, Direction attachEdgesOfThisDirection)
This method is not supported for this reader.void
GraphMLWriter. writeVertex(OutputStream outputStream, Vertex v, Direction direction)
This method is not supported for this writer.void
GraphMLWriter. writeVertices(OutputStream outputStream, Iterator<Vertex> vertexIterator, Direction direction)
This method is not supported for this writer. -
Uses of Direction in org.apache.tinkerpop.gremlin.structure.io.graphson
Methods in org.apache.tinkerpop.gremlin.structure.io.graphson with parameters of type Direction Modifier and Type Method Description Vertex
GraphSONReader. readVertex(InputStream inputStream, Function<Attachable<Vertex>,Vertex> vertexAttachMethod, Function<Attachable<Edge>,Edge> edgeAttachMethod, Direction attachEdgesOfThisDirection)
Read aVertex
from output generated by any of theGraphSONWriter
writeVertex
orwriteVertices
methods or byGraphSONWriter.writeGraph(OutputStream, Graph)
.Vertex
LegacyGraphSONReader. readVertex(InputStream inputStream, Function<Attachable<Vertex>,Vertex> vertexAttachMethod, Function<Attachable<Edge>,Edge> edgeAttachMethod, Direction attachEdgesOfThisDirection)
This method is not supported for this reader.Iterator<Vertex>
GraphSONReader. readVertices(InputStream inputStream, Function<Attachable<Vertex>,Vertex> vertexAttachMethod, Function<Attachable<Edge>,Edge> edgeAttachMethod, Direction attachEdgesOfThisDirection)
ReadVertex
objects from output generated by any of theGraphSONWriter
writeVertex
orwriteVertices
methods or byGraphSONWriter.writeGraph(OutputStream, Graph)
.Iterator<Vertex>
LegacyGraphSONReader. readVertices(InputStream inputStream, Function<Attachable<Vertex>,Vertex> vertexAttachMethod, Function<Attachable<Edge>,Edge> edgeAttachMethod, Direction attachEdgesOfThisDirection)
This method is not supported for this reader.void
GraphSONWriter. writeVertex(OutputStream outputStream, Vertex v, Direction direction)
Writes a singleVertex
to stream where edges only from the specified direction are written.void
GraphSONWriter. writeVertices(OutputStream outputStream, Iterator<Vertex> vertexIterator, Direction direction)
Writes a list of vertices in adjacency list format where vertices are written with edges from both directions. -
Uses of Direction in org.apache.tinkerpop.gremlin.structure.io.gryo
Methods in org.apache.tinkerpop.gremlin.structure.io.gryo with parameters of type Direction Modifier and Type Method Description Vertex
GryoReader. readVertex(InputStream inputStream, Function<Attachable<Vertex>,Vertex> vertexAttachMethod, Function<Attachable<Edge>,Edge> edgeAttachMethod, Direction attachEdgesOfThisDirection)
Read aVertex
from output generated by any of theGryoWriter
writeVertex
orwriteVertices
methods or byGryoWriter.writeGraph(OutputStream, Graph)
.Iterator<Vertex>
GryoReader. readVertices(InputStream inputStream, Function<Attachable<Vertex>,Vertex> vertexAttachMethod, Function<Attachable<Edge>,Edge> edgeAttachMethod, Direction attachEdgesOfThisDirection)
ReadVertex
objects from output generated by any of theGryoWriter
writeVertex
orwriteVertices
methods or byGryoWriter.writeGraph(OutputStream, Graph)
.void
GryoWriter. writeVertex(OutputStream outputStream, Vertex v, Direction direction)
Write a vertex to a stream with its associated edges.void
GryoWriter. writeVertices(OutputStream outputStream, Iterator<Vertex> vertexIterator, Direction direction)
Write a list of vertices from aTraversal
to a stream with its associated edges. -
Uses of Direction in org.apache.tinkerpop.gremlin.structure.util.detached
Methods in org.apache.tinkerpop.gremlin.structure.util.detached with parameters of type Direction Modifier and Type Method Description Iterator<Edge>
DetachedVertex. edges(Direction direction, String... edgeLabels)
Iterator<Vertex>
DetachedEdge. vertices(Direction direction)
Iterator<Vertex>
DetachedVertex. vertices(Direction direction, String... labels)
-
Uses of Direction in org.apache.tinkerpop.gremlin.structure.util.reference
Methods in org.apache.tinkerpop.gremlin.structure.util.reference with parameters of type Direction Modifier and Type Method Description Iterator<Edge>
ReferenceVertex. edges(Direction direction, String... edgeLabels)
Iterator<Vertex>
ReferenceEdge. vertices(Direction direction)
Iterator<Vertex>
ReferenceVertex. vertices(Direction direction, String... edgeLabels)
-
Uses of Direction in org.apache.tinkerpop.gremlin.structure.util.star
Methods in org.apache.tinkerpop.gremlin.structure.util.star that return Direction Modifier and Type Method Description Direction
DirectionalStarGraph. getDirection()
Methods in org.apache.tinkerpop.gremlin.structure.util.star with parameters of type Direction Modifier and Type Method Description void
StarGraph.StarVertex. dropEdges(Direction direction)
void
StarGraph.StarVertex. dropEdges(Direction direction, String edgeLabel)
Iterator<Edge>
StarGraph.StarAdjacentVertex. edges(Direction direction, String... edgeLabels)
Iterator<Edge>
StarGraph.StarVertex. edges(Direction direction, String... edgeLabels)
Iterator<Vertex>
StarGraph.StarAdjacentVertex. vertices(Direction direction, String... edgeLabels)
Iterator<Vertex>
StarGraph.StarEdge. vertices(Direction direction)
Iterator<Vertex>
StarGraph.StarVertex. vertices(Direction direction, String... edgeLabels)
static StarGraphGryoSerializer
StarGraphGryoSerializer. with(Direction direction)
Gets a serializer from the cache.Constructors in org.apache.tinkerpop.gremlin.structure.util.star with parameters of type Direction Constructor Description DirectionalStarGraph(StarGraph starGraphToSerialize, Direction direction)
StarGraphSerializer(Direction edgeDirectionToSerialize, GraphFilter graphFilter)
-
Uses of Direction in org.apache.tinkerpop.gremlin.tinkergraph.structure
Methods in org.apache.tinkerpop.gremlin.tinkergraph.structure with parameters of type Direction Modifier and Type Method Description Iterator<Edge>
TinkerVertex. edges(Direction direction, String... edgeLabels)
static Iterator<TinkerEdge>
TinkerHelper. getEdges(TinkerVertex vertex, Direction direction, String... edgeLabels)
static Iterator<TinkerEdge>
TinkerHelper. getEdgesTx(TinkerVertex vertex, Direction direction, String... edgeLabels)
static Iterator<TinkerVertex>
TinkerHelper. getVertices(TinkerVertex vertex, Direction direction, String... edgeLabels)
static Iterator<TinkerVertex>
TinkerHelper. getVerticesTx(TinkerVertex vertex, Direction direction, String... edgeLabels)
Iterator<Vertex>
TinkerEdge. vertices(Direction direction)
Iterator<Vertex>
TinkerVertex. vertices(Direction direction, String... edgeLabels)
-