Uses of Interface
org.apache.tinkerpop.gremlin.structure.Vertex
-
-
Uses of Vertex in org.apache.tinkerpop.gremlin.driver
Methods in org.apache.tinkerpop.gremlin.driver that return Vertex Modifier and Type Method Description VertexResult. getVertex()Gets the result item by casting it to aVertex. -
Uses of Vertex in org.apache.tinkerpop.gremlin.process.computer
Fields in org.apache.tinkerpop.gremlin.process.computer with type parameters of type Vertex Modifier and Type Field Description Supplier<? extends Traversal<Vertex,Edge>>MessageScope.Local. incidentTraversalMethods in org.apache.tinkerpop.gremlin.process.computer that return types with arguments of type Vertex Modifier and Type Method Description Traversal<Vertex,Edge>MessageScope.Local.ReverseTraversalSupplier. get()Traversal.Admin<Vertex,Edge>GraphFilter. getEdgeFilter()Get the edge filter associated with this graph filter.Traversal<Vertex,Edge>Computer. getEdges()Supplier<? extends Traversal<Vertex,Edge>>MessageScope.Local. getIncidentTraversal()Traversal.Admin<Vertex,Vertex>GraphFilter. getVertexFilter()Get the vertex filter associated with this graph filter.Traversal.Admin<Vertex,Vertex>GraphFilter. getVertexFilter()Get the vertex filter associated with this graph filter.Traversal.Admin<Vertex,? extends Property<?>>GraphFilter. getVertexPropertyFilter()Get the vertex property filter associated with this graph filter.Traversal<Vertex,Vertex>Computer. getVertices()Traversal<Vertex,Vertex>Computer. getVertices()Iterable<Vertex>MessageScope.Global. vertices()Methods in org.apache.tinkerpop.gremlin.process.computer with parameters of type Vertex Modifier and Type Method Description voidVertexProgram. 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.Iterator<Edge>GraphFilter. legalEdges(Vertex vertex)Returns an iterator of legal edges incident to the provided vertex.booleanGraphFilter. legalVertex(Vertex vertex)Returns true if the provided vertex meets the vertex-filter criteria.Iterator<? extends Property<?>>GraphFilter. legalVertexProperties(Vertex vertex)Returns an iterator of legal vertex properties.voidMapReduce. map(Vertex vertex, MapReduce.MapEmitter<MK,MV> emitter)The map() method is logically executed at all vertices in the graph in parallel.static MessageScope.GlobalMessageScope.Global. of(Vertex... vertices)Method parameters in org.apache.tinkerpop.gremlin.process.computer with type arguments of type Vertex Modifier and Type Method Description static IllegalArgumentExceptionGraphComputer.Exceptions. edgeFilterAccessesAdjacentVertices(Traversal<Vertex,Edge> edgeFilter)ComputerComputer. edges(Traversal<Vertex,Edge> edgeFilter)GraphComputerGraphComputer. edges(Traversal<Vertex,Edge> edgeFilter)Add a filter that will limit which edges of the vertices are loaded from the graph source.static MessageScope.GlobalMessageScope.Global. of(Iterable<Vertex> vertices)static <M> MessageScope.Local<M>MessageScope.Local. of(Supplier<? extends Traversal<Vertex,Edge>> incidentTraversal)static <M> MessageScope.Local<M>MessageScope.Local. of(Supplier<? extends Traversal<Vertex,Edge>> incidentTraversal, BiFunction<M,Edge,M> edgeFunction)voidGraphFilter. setEdgeFilter(Traversal<Vertex,Edge> edgeFilter)Set the filter for selecting edges from the source graph.voidGraphFilter. setVertexFilter(Traversal<Vertex,Vertex> vertexFilter)Set the filter for selecting vertices from the source graph.voidGraphFilter. setVertexFilter(Traversal<Vertex,Vertex> vertexFilter)Set the filter for selecting vertices from the source graph.voidGraphFilter. setVertexPropertyFilter(Traversal<Vertex,? extends Property<?>> vertexPropertyFilter)Set the filter for selecting vertex properties from the vertices.static IllegalArgumentExceptionGraphComputer.Exceptions. vertexFilterAccessesIncidentEdges(Traversal<Vertex,Vertex> vertexFilter)static IllegalArgumentExceptionGraphComputer.Exceptions. vertexFilterAccessesIncidentEdges(Traversal<Vertex,Vertex> vertexFilter)GraphComputerGraphComputer. vertexProperties(Traversal<Vertex,? extends Property<?>> vertexPropertyFilter)Add a filter that will limit which vertex properties are loaded from the graph source.ComputerComputer. vertices(Traversal<Vertex,Vertex> vertexFilter)ComputerComputer. vertices(Traversal<Vertex,Vertex> vertexFilter)GraphComputerGraphComputer. vertices(Traversal<Vertex,Vertex> vertexFilter)Add a filter that will limit which vertices are loaded from the graph source.GraphComputerGraphComputer. vertices(Traversal<Vertex,Vertex> vertexFilter)Add a filter that will limit which vertices are loaded from the graph source. -
Uses of Vertex in org.apache.tinkerpop.gremlin.process.computer.clustering.connected
Methods in org.apache.tinkerpop.gremlin.process.computer.clustering.connected with parameters of type Vertex Modifier and Type Method Description voidConnectedComponentVertexProgram. execute(Vertex vertex, Messenger<String> messenger, Memory memory)Method parameters in org.apache.tinkerpop.gremlin.process.computer.clustering.connected with type arguments of type Vertex Modifier and Type Method Description ConnectedComponentVertexProgram.BuilderConnectedComponentVertexProgram.Builder. edges(Traversal.Admin<Vertex,Edge> edgeTraversal) -
Uses of Vertex in org.apache.tinkerpop.gremlin.process.computer.clustering.peerpressure
Methods in org.apache.tinkerpop.gremlin.process.computer.clustering.peerpressure with parameters of type Vertex Modifier and Type Method Description voidPeerPressureVertexProgram. execute(Vertex vertex, Messenger<org.javatuples.Pair<Serializable,Double>> messenger, Memory memory)Method parameters in org.apache.tinkerpop.gremlin.process.computer.clustering.peerpressure with type arguments of type Vertex Modifier and Type Method Description PeerPressureVertexProgram.BuilderPeerPressureVertexProgram.Builder. edges(Traversal.Admin<Vertex,Edge> edgeTraversal)PeerPressureVertexProgram.BuilderPeerPressureVertexProgram.Builder. initialVoteStrength(Traversal.Admin<Vertex,? extends Number> initialVoteStrengthTraversal) -
Uses of Vertex in org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank
Methods in org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank with parameters of type Vertex Modifier and Type Method Description voidPageRankVertexProgram. execute(Vertex vertex, Messenger<Double> messenger, Memory memory)Method parameters in org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank with type arguments of type Vertex Modifier and Type Method Description PageRankVertexProgram.BuilderPageRankVertexProgram.Builder. edges(Traversal.Admin<Vertex,Edge> edgeTraversal)PageRankVertexProgram.BuilderPageRankVertexProgram.Builder. initialRank(Traversal.Admin<Vertex,? extends Number> initialRankTraversal) -
Uses of Vertex in org.apache.tinkerpop.gremlin.process.computer.search.path
Fields in org.apache.tinkerpop.gremlin.process.computer.search.path with type parameters of type Vertex Modifier and Type Field Description static org.apache.tinkerpop.gremlin.process.traversal.util.PureTraversal<Vertex,Edge>ShortestPathVertexProgram. DEFAULT_EDGE_TRAVERSALstatic org.apache.tinkerpop.gremlin.process.traversal.util.PureTraversal<Vertex,?>ShortestPathVertexProgram. DEFAULT_VERTEX_FILTER_TRAVERSALMethods in org.apache.tinkerpop.gremlin.process.computer.search.path with parameters of type Vertex Modifier and Type Method Description voidShortestPathVertexProgram. execute(Vertex vertex, Messenger<org.javatuples.Triplet<Path,Edge,Number>> messenger, Memory memory)Method parameters in org.apache.tinkerpop.gremlin.process.computer.search.path with type arguments of type Vertex Modifier and Type Method Description ShortestPathVertexProgram.BuilderShortestPathVertexProgram.Builder. edgeTraversal(Traversal<Vertex,Edge> edgeTraversal)ShortestPathVertexProgram.BuilderShortestPathVertexProgram.Builder. source(Traversal<Vertex,?> sourceVertexFilter)ShortestPathVertexProgram.BuilderShortestPathVertexProgram.Builder. target(Traversal<Vertex,?> targetVertexFilter) -
Uses of Vertex in org.apache.tinkerpop.gremlin.process.computer.traversal
Methods in org.apache.tinkerpop.gremlin.process.computer.traversal with parameters of type Vertex Modifier and Type Method Description voidTraversalVertexProgram. execute(Vertex vertex, Messenger<org.apache.tinkerpop.gremlin.process.traversal.traverser.util.TraverserSet<Object>> messenger, Memory memory) -
Uses of Vertex in org.apache.tinkerpop.gremlin.process.traversal
Methods in org.apache.tinkerpop.gremlin.process.traversal with parameters of type Vertex Modifier and Type Method Description protected abstract ScriptTranslator.ScriptTranslator.AbstractTypeTranslator. produceScript(Vertex o)Take theVertexand writes the syntax directly to the memberTranslator.ScriptTranslator.AbstractTypeTranslator.scriptvariable. -
Uses of Vertex in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph
Methods in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph that return types with arguments of type Vertex Modifier and Type Method Description default GraphTraversal<S,Vertex>GraphTraversal. addV()Adds aVertexwith a default vertex label.default GraphTraversal<S,Vertex>GraphTraversal. addV(String vertexLabel)Adds aVertex.default GraphTraversal<S,Vertex>GraphTraversal. addV(Traversal<?,String> vertexLabelTraversal)GraphTraversal<Vertex,Vertex>GraphTraversalSource. addV()Spawns aGraphTraversalby adding a vertex with the default label.GraphTraversal<Vertex,Vertex>GraphTraversalSource. addV()Spawns aGraphTraversalby adding a vertex with the default label.GraphTraversal<Vertex,Vertex>GraphTraversalSource. addV(String vertexLabel)Spawns aGraphTraversalby adding a vertex with the specified label.GraphTraversal<Vertex,Vertex>GraphTraversalSource. addV(String vertexLabel)Spawns aGraphTraversalby adding a vertex with the specified label.GraphTraversal<Vertex,Vertex>GraphTraversalSource. addV(Traversal<?,String> vertexLabelTraversal)Spawns aGraphTraversalby adding a vertex with the label as determined by aTraversal.GraphTraversal<Vertex,Vertex>GraphTraversalSource. addV(Traversal<?,String> vertexLabelTraversal)Spawns aGraphTraversalby adding a vertex with the label as determined by aTraversal.default GraphTraversal<S,Vertex>GraphTraversal. both(String... edgeLabels)Map theVertexto its adjacent vertices given the edge labels.default GraphTraversal<S,Vertex>GraphTraversal. bothV()Map theEdgeto its incident vertices.default GraphTraversal<S,Vertex>GraphTraversal. in(String... edgeLabels)Map theVertexto its incoming adjacent vertices given the edge labels.default GraphTraversal<S,Vertex>GraphTraversal. inV()default GraphTraversal<S,Vertex>GraphTraversal. mergeV()Performs a merge (i.e.default GraphTraversal<S,Vertex>GraphTraversal. mergeV(Map<Object,Object> searchCreate)Performs a merge (i.e.default GraphTraversal<S,Vertex>GraphTraversal. mergeV(Traversal<?,Map<Object,Object>> searchCreate)Performs a merge (i.e.GraphTraversal<Vertex,Vertex>GraphTraversalSource. mergeV(Map<Object,Object> searchCreate)Spawns aGraphTraversalby doing a merge (i.e.GraphTraversal<Vertex,Vertex>GraphTraversalSource. mergeV(Map<Object,Object> searchCreate)Spawns aGraphTraversalby doing a merge (i.e.<S> GraphTraversal<S,Vertex>GraphTraversalSource. mergeV(Traversal<?,Map<Object,Object>> searchCreate)Spawns aGraphTraversalby doing a merge (i.e.default GraphTraversal<S,Vertex>GraphTraversal. otherV()Map theEdgeto the incident vertex that was not just traversed from in the path history.default GraphTraversal<S,Vertex>GraphTraversal. out(String... edgeLabels)Map theVertexto its outgoing adjacent vertices given the edge labels.default GraphTraversal<S,Vertex>GraphTraversal. outV()default GraphTraversal<S,Vertex>GraphTraversal. to(Direction direction, String... edgeLabels)Map theVertexto its adjacent vertices given a direction and edge labels.default GraphTraversal<S,Vertex>GraphTraversal. toV(Direction direction)Map theEdgeto its incident vertices given the direction.default GraphTraversal<S,Vertex>GraphTraversal. V(Object... vertexIdsOrElements)AVstep is usually used to start a traversal but it may also be used mid-traversal.GraphTraversal<Vertex,Vertex>GraphTraversalSource. V(Object... vertexIds)Spawns aGraphTraversalstarting with all vertices or some subset of vertices as specified by their unique identifier.GraphTraversal<Vertex,Vertex>GraphTraversalSource. V(Object... vertexIds)Spawns aGraphTraversalstarting with all vertices or some subset of vertices as specified by their unique identifier.Methods in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph with parameters of type Vertex Modifier and Type Method Description default GraphTraversal<S,E>GraphTraversal. from(Vertex fromVertex)When used as a modifier toGraphTraversal.addE(String)this method specifies the traversal to use for selecting the outgoing vertex of the newly addedEdge.default GraphTraversal<S,E>GraphTraversal. to(Vertex toVertex)When used as a modifier toGraphTraversal.addE(String)this method specifies the traversal to use for selecting the incoming vertex of the newly addedEdge.Method parameters in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph with type arguments of type Vertex Modifier and Type Method Description default GraphTraversal<S,E>GraphTraversal. from(Traversal<?,Vertex> fromVertex)When used as a modifier toGraphTraversal.addE(String)this method specifies the traversal to use for selecting the outgoing vertex of the newly addedEdge.default GraphTraversal<S,E>GraphTraversal. to(Traversal<?,Vertex> toVertex)When used as a modifier toGraphTraversal.addE(String)this method specifies the traversal to use for selecting the incoming vertex of the newly addedEdge. -
Uses of Vertex in org.apache.tinkerpop.gremlin.structure
Methods in org.apache.tinkerpop.gremlin.structure that return Vertex Modifier and Type Method Description VertexGraph. addVertex(Object... keyValues)Add aVertexto the graph given an optional series of key/value pairs.default VertexGraph. addVertex(String label)Add aVertexto the graph with provided vertex label.VertexVertexProperty. element()Gets theVertexthat owns thisVertexProperty.default VertexEdge. inVertex()Get the incoming/head vertex of this edge.default VertexEdge. outVertex()Get the outgoing/tail vertex of this edge.Methods in org.apache.tinkerpop.gremlin.structure that return types with arguments of type Vertex Modifier and Type Method Description default Iterator<Vertex>Edge. bothVertices()Get both the outgoing and incoming vertices of this edge.Iterator<Vertex>Edge. vertices(Direction direction)Retrieve the vertex (or vertices) associated with this edge as defined by the direction.Iterator<Vertex>Graph. vertices(Object... vertexIds)Iterator<Vertex>Vertex. vertices(Direction direction, String... edgeLabels)Gets anIteratorof adjacent vertices.Methods in org.apache.tinkerpop.gremlin.structure with parameters of type Vertex Modifier and Type Method Description EdgeVertex. addEdge(String label, Vertex inVertex, Object... keyValues)Add an outgoing edge to the vertex with provided label and edge properties as key/value pairs. -
Uses of Vertex in org.apache.tinkerpop.gremlin.structure.io
Methods in org.apache.tinkerpop.gremlin.structure.io that return Vertex Modifier and Type Method Description VertexGraphReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)Reads a single vertex from anInputStream.VertexGraphReader. 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.Methods in org.apache.tinkerpop.gremlin.structure.io that return types with arguments of type Vertex Modifier and Type Method Description default Iterator<Vertex>Storage. head(String location, Class readerClass)Get the vertices at the specified graph location.Iterator<Vertex>Storage. head(String location, Class readerClass, int totalLines)Get the vertices at the specified graph location.default Optional<Vertex>GraphReader. readVertex(InputStream inputStream, GraphFilter graphFilter)Reads a single vertex from anInputStream.Iterator<Vertex>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).Methods in org.apache.tinkerpop.gremlin.structure.io with parameters of type Vertex Modifier and Type Method Description voidGraphWriter. writeVertex(OutputStream outputStream, Vertex v)Write a vertex to a stream without writing its edges.voidGraphWriter. writeVertex(OutputStream outputStream, Vertex v, Direction direction)Write a vertex to a stream with its associated edges.Method parameters in org.apache.tinkerpop.gremlin.structure.io with type arguments of type Vertex Modifier and Type Method Description VertexGraphReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)Reads a single vertex from anInputStream.VertexGraphReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)Reads a single vertex from anInputStream.VertexGraphReader. 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.VertexGraphReader. 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.Iterator<Vertex>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).Iterator<Vertex>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).default voidGraphWriter. writeVertices(OutputStream outputStream, Iterator<Vertex> vertexIterator)Write a vertex to a stream without writing its 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 Vertex in org.apache.tinkerpop.gremlin.structure.io.graphml
Methods in org.apache.tinkerpop.gremlin.structure.io.graphml that return Vertex Modifier and Type Method Description VertexGraphMLReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)This method is not supported for this reader.VertexGraphMLReader. 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.Methods in org.apache.tinkerpop.gremlin.structure.io.graphml that return types with arguments of type Vertex Modifier and Type Method Description Iterator<Vertex>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.Methods in org.apache.tinkerpop.gremlin.structure.io.graphml with parameters of type Vertex Modifier and Type Method Description voidGraphMLWriter. writeVertex(OutputStream outputStream, Vertex v)This method is not supported for this writer.voidGraphMLWriter. writeVertex(OutputStream outputStream, Vertex v, Direction direction)This method is not supported for this writer.Method parameters in org.apache.tinkerpop.gremlin.structure.io.graphml with type arguments of type Vertex Modifier and Type Method Description VertexGraphMLReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)This method is not supported for this reader.VertexGraphMLReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)This method is not supported for this reader.VertexGraphMLReader. 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.VertexGraphMLReader. 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.Iterator<Vertex>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.Iterator<Vertex>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. writeVertices(OutputStream outputStream, Iterator<Vertex> vertexIterator)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 Vertex in org.apache.tinkerpop.gremlin.structure.io.graphson
Methods in org.apache.tinkerpop.gremlin.structure.io.graphson that return Vertex Modifier and Type Method Description VertexGraphSONReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)Read aVertexfrom output generated by any of theGraphSONWriterwriteVertexorwriteVerticesmethods or byGraphSONWriter.writeGraph(OutputStream, Graph).VertexGraphSONReader. 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).Methods in org.apache.tinkerpop.gremlin.structure.io.graphson that return types with arguments of type Vertex Modifier and Type Method Description Iterator<Vertex>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).Methods in org.apache.tinkerpop.gremlin.structure.io.graphson with parameters of type Vertex Modifier and Type Method Description voidGraphSONWriter. writeVertex(OutputStream outputStream, Vertex v)Writes a singleVertexwith no edges serialized.voidGraphSONWriter. writeVertex(OutputStream outputStream, Vertex v, Direction direction)Writes a singleVertexto stream where edges only from the specified direction are written.Method parameters in org.apache.tinkerpop.gremlin.structure.io.graphson with type arguments of type Vertex Modifier and Type Method Description VertexGraphSONReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)Read aVertexfrom output generated by any of theGraphSONWriterwriteVertexorwriteVerticesmethods or byGraphSONWriter.writeGraph(OutputStream, Graph).VertexGraphSONReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)Read aVertexfrom output generated by any of theGraphSONWriterwriteVertexorwriteVerticesmethods or byGraphSONWriter.writeGraph(OutputStream, Graph).VertexGraphSONReader. 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).VertexGraphSONReader. 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).Iterator<Vertex>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).Iterator<Vertex>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. writeVertices(OutputStream outputStream, Iterator<Vertex> vertexIterator)Writes a list of vertices without edges.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 Vertex in org.apache.tinkerpop.gremlin.structure.io.gryo
Methods in org.apache.tinkerpop.gremlin.structure.io.gryo that return Vertex Modifier and Type Method Description VertexGryoReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)Read aVertexfrom output generated by any of theGryoWriterwriteVertexorwriteVerticesmethods or byGryoWriter.writeGraph(OutputStream, Graph).VertexGryoReader. 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).Methods in org.apache.tinkerpop.gremlin.structure.io.gryo that return types with arguments of type Vertex Modifier and Type Method Description Optional<Vertex>GryoReader. readVertex(InputStream inputStream, GraphFilter graphFilter)Iterator<Vertex>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).Methods in org.apache.tinkerpop.gremlin.structure.io.gryo with parameters of type Vertex Modifier and Type Method Description voidGryoWriter. writeVertex(OutputStream outputStream, Vertex v)Write a vertex to a stream without writing its edges.voidGryoWriter. writeVertex(OutputStream outputStream, Vertex v, Direction direction)Write a vertex to a stream with its associated edges.Method parameters in org.apache.tinkerpop.gremlin.structure.io.gryo with type arguments of type Vertex Modifier and Type Method Description VertexGryoReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)Read aVertexfrom output generated by any of theGryoWriterwriteVertexorwriteVerticesmethods or byGryoWriter.writeGraph(OutputStream, Graph).VertexGryoReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)Read aVertexfrom output generated by any of theGryoWriterwriteVertexorwriteVerticesmethods or byGryoWriter.writeGraph(OutputStream, Graph).VertexGryoReader. 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).VertexGryoReader. 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).Iterator<Vertex>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).Iterator<Vertex>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. writeVertices(OutputStream outputStream, Iterator<Vertex> vertexIterator)Write a vertex to a stream without writing its edges.voidGryoWriter. writeVertices(OutputStream outputStream, Iterator<Vertex> vertexIterator, Direction direction)Write a list of vertices from aTraversalto a stream with its associated edges.
-