Uses of Interface
org.apache.tinkerpop.gremlin.structure.Graph
-
-
Uses of Graph in org.apache.tinkerpop.gremlin.process.computer
Methods in org.apache.tinkerpop.gremlin.process.computer that return Graph Modifier and Type Method Description Graph
ComputerResult. graph()
Methods in org.apache.tinkerpop.gremlin.process.computer with parameters of type Graph Modifier and Type Method Description GraphComputer
Computer. apply(Graph graph)
<P extends VertexProgram>
PVertexProgram.Builder. create(Graph graph)
static <M extends MapReduce>
MMapReduce. createMapReduce(Graph graph, org.apache.commons.configuration2.Configuration configuration)
A helper method to construct aMapReduce
given the content of the supplied configuration.static <V extends VertexProgram>
VVertexProgram. createVertexProgram(Graph graph, org.apache.commons.configuration2.Configuration configuration)
A helper method to construct aVertexProgram
given the content of the supplied configuration.default void
MapReduce. loadState(Graph graph, org.apache.commons.configuration2.Configuration configuration)
When it is necessary to load the state of a MapReduce job, this method is called.default void
VertexProgram. loadState(Graph graph, org.apache.commons.configuration2.Configuration configuration)
When it is necessary to load the state of the VertexProgram, this method is called. -
Uses of Graph in org.apache.tinkerpop.gremlin.process.computer.clustering.connected
Methods in org.apache.tinkerpop.gremlin.process.computer.clustering.connected with parameters of type Graph Modifier and Type Method Description void
ConnectedComponentVertexProgram. loadState(Graph graph, org.apache.commons.configuration2.Configuration config)
-
Uses of Graph in org.apache.tinkerpop.gremlin.process.computer.clustering.peerpressure
Methods in org.apache.tinkerpop.gremlin.process.computer.clustering.peerpressure with parameters of type Graph Modifier and Type Method Description void
PeerPressureVertexProgram. loadState(Graph graph, org.apache.commons.configuration2.Configuration configuration)
-
Uses of Graph in org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank
Methods in org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank with parameters of type Graph Modifier and Type Method Description void
PageRankVertexProgram. loadState(Graph graph, org.apache.commons.configuration2.Configuration configuration)
-
Uses of Graph in org.apache.tinkerpop.gremlin.process.computer.search.path
Methods in org.apache.tinkerpop.gremlin.process.computer.search.path with parameters of type Graph Modifier and Type Method Description void
ShortestPathVertexProgram. loadState(Graph graph, org.apache.commons.configuration2.Configuration configuration)
-
Uses of Graph in org.apache.tinkerpop.gremlin.process.computer.traversal
Methods in org.apache.tinkerpop.gremlin.process.computer.traversal with parameters of type Graph Modifier and Type Method Description void
TraversalVertexProgram. loadState(Graph graph, org.apache.commons.configuration2.Configuration configuration)
-
Uses of Graph in org.apache.tinkerpop.gremlin.process.traversal
Methods in org.apache.tinkerpop.gremlin.process.traversal that return Graph Modifier and Type Method Description Graph
TraversalSource. getGraph()
Get theGraph
associated with this traversal source.Methods in org.apache.tinkerpop.gremlin.process.traversal that return types with arguments of type Graph Modifier and Type Method Description Optional<Graph>
Traversal.Admin. getGraph()
Methods in org.apache.tinkerpop.gremlin.process.traversal with parameters of type Graph Modifier and Type Method Description void
Traversal.Admin. setGraph(Graph graph)
T
AnonymousTraversalSource. withEmbedded(Graph graph)
Creates the specifiedTraversalSource
binding an embeddedGraph
as its reference such that traversals spawned from it will execute over that reference.T
AnonymousTraversalSource. withGraph(Graph graph)
Deprecated.As of release 3.4.9, replaced byAnonymousTraversalSource.withEmbedded(Graph)
-
Uses of Graph in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph
Fields in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph declared as Graph Modifier and Type Field Description protected Graph
GraphTraversalSource. graph
Methods in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph that return Graph Modifier and Type Method Description Graph
GraphTraversalSource. getGraph()
Constructors in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph with parameters of type Graph Constructor Description GraphTraversalSource(Graph graph)
GraphTraversalSource(Graph graph, TraversalStrategies traversalStrategies)
-
Uses of Graph in org.apache.tinkerpop.gremlin.structure
Methods in org.apache.tinkerpop.gremlin.structure with type parameters of type Graph Modifier and Type Method Description default <G extends Graph>
GTransaction. createThreadedTx()
Creates a transaction that can be executed across multiple threads.Methods in org.apache.tinkerpop.gremlin.structure that return Graph Modifier and Type Method Description Graph
Element. graph()
Get the graph that this element is within.default Graph
VertexProperty. graph()
Get the graph that this element is within. -
Uses of Graph in org.apache.tinkerpop.gremlin.structure.io
Methods in org.apache.tinkerpop.gremlin.structure.io with parameters of type Graph Modifier and Type Method Description Io.Builder<? extends Io>
Io.Builder. graph(Graph g)
Providers use this method to supply the current instance of theirGraph
to the builder.static void
GraphMigrator. migrateGraph(Graph fromGraph, Graph toGraph)
Use Gryo to pipe the data from one graph to another graph.static void
GraphMigrator. migrateGraph(Graph fromGraph, Graph toGraph, GraphReader reader, GraphWriter writer)
Pipe the data from one graph to another graph.void
GraphReader. readGraph(InputStream inputStream, Graph graphToWriteTo)
Reads an entire graph from anInputStream
.void
GraphWriter. writeGraph(OutputStream outputStream, Graph g)
Write the entire graph to a stream. -
Uses of Graph in org.apache.tinkerpop.gremlin.structure.io.graphml
Methods in org.apache.tinkerpop.gremlin.structure.io.graphml with parameters of type Graph Modifier and Type Method Description void
GraphMLReader. readGraph(InputStream graphInputStream, Graph graphToWriteTo)
void
GraphMLWriter. writeGraph(OutputStream outputStream, Graph g)
Write the data in a Graph to a GraphML OutputStream. -
Uses of Graph in org.apache.tinkerpop.gremlin.structure.io.graphson
Methods in org.apache.tinkerpop.gremlin.structure.io.graphson with parameters of type Graph Modifier and Type Method Description void
GraphSONReader. readGraph(InputStream inputStream, Graph graphToWriteTo)
Read data into aGraph
from output generated by any of theGraphSONWriter
writeVertex
orwriteVertices
methods or byGryoWriter.writeGraph(OutputStream, Graph)
.void
GraphSONWriter. writeGraph(OutputStream outputStream, Graph g)
Writes aGraph
to stream in an adjacency list format where vertices are written with edges from both directions. -
Uses of Graph in org.apache.tinkerpop.gremlin.structure.io.gryo
Methods in org.apache.tinkerpop.gremlin.structure.io.gryo with parameters of type Graph Modifier and Type Method Description void
GryoReader. readGraph(InputStream inputStream, Graph graphToWriteTo)
Read data into aGraph
from output generated by any of theGryoWriter
writeVertex
orwriteVertices
methods or byGryoWriter.writeGraph(OutputStream, Graph)
.void
GryoWriter. writeGraph(OutputStream outputStream, Graph g)
Write the entire graph to a stream.
-