Uses of Enum Class
org.apache.tinkerpop.gremlin.structure.Direction
Packages that use Direction
Package
Description
-
Uses of Direction in org.apache.tinkerpop.gremlin.process.computer
Methods in org.apache.tinkerpop.gremlin.process.computer with parameters of type DirectionModifier and TypeMethodDescriptionGraphFilter.checkEdgeLegality(Direction direction) Get the legality of a particular edge direction.GraphFilter.checkEdgeLegality(Direction direction, String label) Get the legality of a particular edge direction and label.GraphFilter.getLegallyPositiveEdgeLabels(Direction direction) For a particular edge directionality, get all theGraphFilter.Legal.YESorGraphFilter.Legal.MAYBEedge 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 DirectionModifier and TypeMethodDescriptionShortestPathVertexProgram.Builder.edgeDirection(Direction direction) -
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 DirectionModifier and TypeMethodDescriptiondefault GraphTraversal<S,Vertex> Map theVertexto its adjacent vertices given a direction.default GraphTraversal<S,Vertex> Map theVertexto its adjacent vertices given a direction and edge labels.default GraphTraversal<S,Vertex> GraphTraversal.to(Direction direction, org.apache.tinkerpop.gremlin.process.traversal.step.GValue<String>... edgeLabels) Map theVertexto its adjacent vertices given a direction and edge labels.default GraphTraversal<S,Edge> Map theVertexto its incident edges given the direction.default GraphTraversal<S,Edge> Map theVertexto its incident edges given the direction and edge labels.default GraphTraversal<S,Edge> GraphTraversal.toE(Direction direction, org.apache.tinkerpop.gremlin.process.traversal.step.GValue<String>... edgeLabels) Map theVertexto its incident edges given the direction and edge labels.default GraphTraversal<S,Vertex> Map theEdgeto its incident vertices given the direction. -
Uses of Direction in org.apache.tinkerpop.gremlin.structure
Fields in org.apache.tinkerpop.gremlin.structure declared as DirectionModifier and TypeFieldDescriptionstatic final DirectionDirection.fromFriendly alias toOUTstatic final Direction[]Direction.properstatic final DirectionDirection.toFriendly alias toINMethods in org.apache.tinkerpop.gremlin.structure that return DirectionModifier and TypeMethodDescriptionstatic DirectionDirection.directionValueOf(String name) GetDirectionfrom name.Direction.opposite()Produce the opposite representation of the currentDirectionenum.static DirectionReturns the enum constant of this class with the specified name.static Direction[]Direction.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.tinkerpop.gremlin.structure with parameters of type Direction -
Uses of Direction in org.apache.tinkerpop.gremlin.structure.io
Methods in org.apache.tinkerpop.gremlin.structure.io with parameters of type DirectionModifier and TypeMethodDescriptionGraphReader.readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>, Vertex> vertexAttachMethod, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>, Edge> edgeAttachMethod, Direction attachEdgesOfThisDirection) Reads a single vertex from anInputStream.GraphReader.readVertices(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>, Vertex> vertexAttachMethod, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>, Edge> edgeAttachMethod, Direction attachEdgesOfThisDirection) Reads a set of one or more vertices from anInputStreamwhich were written byGraphWriter.writeVertices(OutputStream, Iterator).voidGraphWriter.writeVertex(OutputStream outputStream, Vertex v, Direction direction) Write a vertex to a stream with its associated edges.default voidGraphWriter.writeVertices(OutputStream outputStream, Iterator<Vertex> vertexIterator, Direction direction) Write a list of vertices from aTraversalto a stream with its associated edges. -
Uses of Direction in org.apache.tinkerpop.gremlin.structure.io.graphml
Methods in org.apache.tinkerpop.gremlin.structure.io.graphml with parameters of type DirectionModifier and TypeMethodDescriptionGraphMLReader.readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>, Vertex> vertexAttachMethod, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>, Edge> edgeAttachMethod, Direction attachEdgesOfThisDirection) This method is not supported for this reader.GraphMLReader.readVertices(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>, Vertex> vertexAttachMethod, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>, Edge> edgeAttachMethod, Direction attachEdgesOfThisDirection) This method is not supported for this reader.voidGraphMLWriter.writeVertex(OutputStream outputStream, Vertex v, Direction direction) This method is not supported for this writer.voidGraphMLWriter.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 DirectionModifier and TypeMethodDescriptionGraphSONReader.readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>, Vertex> vertexAttachMethod, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>, Edge> edgeAttachMethod, Direction attachEdgesOfThisDirection) Read aVertexfrom output generated by any of theGraphSONWriterwriteVertexorwriteVerticesmethods or byGraphSONWriter.writeGraph(OutputStream, Graph).GraphSONReader.readVertices(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>, Vertex> vertexAttachMethod, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>, Edge> edgeAttachMethod, Direction attachEdgesOfThisDirection) ReadVertexobjects from output generated by any of theGraphSONWriterwriteVertexorwriteVerticesmethods or byGraphSONWriter.writeGraph(OutputStream, Graph).voidGraphSONWriter.writeVertex(OutputStream outputStream, Vertex v, Direction direction) Writes a singleVertexto stream where edges only from the specified direction are written.voidGraphSONWriter.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 DirectionModifier and TypeMethodDescriptionGryoReader.readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>, Vertex> vertexAttachMethod, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>, Edge> edgeAttachMethod, Direction attachEdgesOfThisDirection) Read aVertexfrom output generated by any of theGryoWriterwriteVertexorwriteVerticesmethods or byGryoWriter.writeGraph(OutputStream, Graph).GryoReader.readVertices(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>, Vertex> vertexAttachMethod, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>, Edge> edgeAttachMethod, Direction attachEdgesOfThisDirection) ReadVertexobjects from output generated by any of theGryoWriterwriteVertexorwriteVerticesmethods or byGryoWriter.writeGraph(OutputStream, Graph).voidGryoWriter.writeVertex(OutputStream outputStream, Vertex v, Direction direction) Write a vertex to a stream with its associated edges.voidGryoWriter.writeVertices(OutputStream outputStream, Iterator<Vertex> vertexIterator, Direction direction) Write a list of vertices from aTraversalto a stream with its associated edges.