## Uses of Interface
org.apache.tinkerpop.gremlin.structure.Graph

- Packages that use Graph
  Package | Description
  --- | ---
  org.apache.tinkerpop.gremlin |
  org.apache.tinkerpop.gremlin.algorithm.generator |
  org.apache.tinkerpop.gremlin.driver |
  org.apache.tinkerpop.gremlin.driver.ser |
  org.apache.tinkerpop.gremlin.groovy.jsr223.dsl.credential |
  org.apache.tinkerpop.gremlin.hadoop.process.computer.traversal.step.sideEffect |
  org.apache.tinkerpop.gremlin.hadoop.structure |
  org.apache.tinkerpop.gremlin.neo4j.structure |
  org.apache.tinkerpop.gremlin.process.computer |
  org.apache.tinkerpop.gremlin.process.computer.bulkdumping |
  org.apache.tinkerpop.gremlin.process.computer.bulkloading |
  org.apache.tinkerpop.gremlin.process.computer.clone |
  org.apache.tinkerpop.gremlin.process.computer.clustering.connected |
  org.apache.tinkerpop.gremlin.process.computer.clustering.peerpressure |
  org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank |
  org.apache.tinkerpop.gremlin.process.computer.search.path |
  org.apache.tinkerpop.gremlin.process.computer.traversal |
  org.apache.tinkerpop.gremlin.process.computer.traversal.step |
  org.apache.tinkerpop.gremlin.process.computer.traversal.step.map |
  org.apache.tinkerpop.gremlin.process.computer.util |
  org.apache.tinkerpop.gremlin.process.remote.traversal |
  org.apache.tinkerpop.gremlin.process.traversal |
  org.apache.tinkerpop.gremlin.process.traversal.dsl.graph |
  org.apache.tinkerpop.gremlin.process.traversal.lambda |
  org.apache.tinkerpop.gremlin.process.traversal.step.map |
  org.apache.tinkerpop.gremlin.process.traversal.step.sideEffect |
  org.apache.tinkerpop.gremlin.process.traversal.step.util.event |
  org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration |
  org.apache.tinkerpop.gremlin.process.traversal.util |
  org.apache.tinkerpop.gremlin.server |
  org.apache.tinkerpop.gremlin.server.op.traversal |
  org.apache.tinkerpop.gremlin.server.util |
  org.apache.tinkerpop.gremlin.structure |
  org.apache.tinkerpop.gremlin.structure.io |
  org.apache.tinkerpop.gremlin.structure.io.binary.types |
  org.apache.tinkerpop.gremlin.structure.io.graphml |
  org.apache.tinkerpop.gremlin.structure.io.graphson |
  org.apache.tinkerpop.gremlin.structure.io.gryo |
  org.apache.tinkerpop.gremlin.structure.util |
  org.apache.tinkerpop.gremlin.structure.util.detached |
  org.apache.tinkerpop.gremlin.structure.util.empty |
  org.apache.tinkerpop.gremlin.structure.util.keyed |
  org.apache.tinkerpop.gremlin.structure.util.reference |
  org.apache.tinkerpop.gremlin.structure.util.star |
  org.apache.tinkerpop.gremlin.tinkergraph.process.computer |
  org.apache.tinkerpop.gremlin.tinkergraph.structure |

- - ### Uses of Graph in org.apache.tinkerpop.gremlin

    Fields in org.apache.tinkerpop.gremlin declared as Graph
    Modifier and Type | Field and Description
    --- | ---
    `protected Graph` | AbstractGremlinTest.`graph`

    Methods in org.apache.tinkerpop.gremlin that return Graph
    Modifier and Type | Method and Description
    --- | ---
    `Graph` | GraphManager.ManagedGraphProvider.`openTestGraph(Configuration config)`
    `default Graph` | GraphProvider.`openTestGraph(Configuration config)` Creates a new `Graph` instance from the `Configuration` object using `GraphFactory`.
    `Graph` | GraphManager.ManagedGraphProvider.`standardTestGraph(Class<?> test, String testMethodName, LoadGraphWith.GraphData loadGraphWith)`
    `default Graph` | GraphProvider.`standardTestGraph(Class<?> test, String testMethodName, LoadGraphWith.GraphData loadGraphWith)` Creates a new `Graph` instance using the default `org.apache.commons.configuration.Configuration` from `GraphProvider.standardGraphConfiguration(Class, String, LoadGraphWith.GraphData)`.

    Methods in org.apache.tinkerpop.gremlin that return types with arguments of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `static Consumer<Graph>` | AbstractGremlinTest.`getAssertVertexEdgeCounts(int expectedVertexCount, int expectedEdgeCount)`

    Methods in org.apache.tinkerpop.gremlin with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | AbstractGremlinTest.`afterLoadGraphWith(Graph g)`
    `static void` | AbstractGremlinTest.`assertVertexEdgeCounts(Graph graph, int expectedVertexCount, int expectedEdgeCount)`
    `protected void` | AbstractGremlinTest.`beforeLoadGraphWith(Graph g)`
    `void` | GraphManager.ManagedGraphProvider.`clear(Graph graph, Configuration configuration)`
    `void` | AbstractFileGraphProvider.`clear(Graph graph, Configuration configuration)`
    `void` | GraphProvider.`clear(Graph graph, Configuration configuration)` Clears a `Graph` of all data and settings.
    `static void` | GraphHelper.`cloneElements(Graph original, Graph clone)` make a deep clone of the graph elements that preserves ids
    `Edge` | AbstractGremlinTest.`convertToEdge(Graph graph, String outVertexName, String edgeLabel, String inVertexName)`
    `Object` | AbstractGremlinTest.`convertToEdgeId(Graph graph, String outVertexName, String edgeLabel, String inVertexName)`
    `Vertex` | AbstractGremlinTest.`convertToVertex(Graph graph, String vertexName)`
    `Object` | AbstractGremlinTest.`convertToVertexId(Graph graph, String vertexName)` Looks up the identifier as generated by the current source graph being tested.
    `GraphTraversal<Vertex,VertexProperty<Object>>` | AbstractGremlinTest.`convertToVertexProperty(Graph graph, String vertexName, String vertexPropertyKey)`
    `GraphTraversal<Vertex,Object>` | AbstractGremlinTest.`convertToVertexPropertyId(Graph graph, String vertexName, String vertexPropertyKey)`
    `static void` | TestHelper.`createRandomGraph(Graph graph, int numberOfVertices, int maxNumberOfEdgesPerVertex)`
    `GraphComputer` | GraphManager.ManagedGraphProvider.`getGraphComputer(Graph graph)`
    `default GraphComputer` | GraphProvider.`getGraphComputer(Graph graph)` Create a `GraphComputer` from the `Graph` instance.
    `protected String` | AbstractFileGraphProvider.`getInputLocation(Graph g, LoadGraphWith.GraphData graphData)`
    `void` | AbstractGraphProvider.`loadGraphData(Graph graph, LoadGraphWith loadGraphWith, Class testClass, String testName)`
    `void` | GraphManager.ManagedGraphProvider.`loadGraphData(Graph graph, LoadGraphWith loadGraphWith, Class testClass, String testName)`
    `void` | GraphProvider.`loadGraphData(Graph graph, LoadGraphWith loadGraphWith, Class testClass, String testName)` Tests are annotated with a `LoadGraphWith` annotation.
    `protected void` | AbstractGraphProvider.`readIntoGraph(Graph graph, String path)` Used by the default implementation of `AbstractGraphProvider.loadGraphData(Graph, LoadGraphWith, Class, String)` to read the graph from a Kryo file using the default `GryoReader` implementation.
    `GraphTraversalSource` | GraphManager.ManagedGraphProvider.`traversal(Graph graph)`
    `default GraphTraversalSource` | GraphProvider.`traversal(Graph graph)` Create a `GraphTraversalSource` from a `Graph` instance.
    `GraphTraversalSource` | GraphManager.ManagedGraphProvider.`traversal(Graph graph, TraversalStrategy... strategies)`
    `default GraphTraversalSource` | GraphProvider.`traversal(Graph graph, TraversalStrategy... strategies)` Create a `GraphTraversalSource` from a `Graph` instance.
    `void` | AbstractGremlinTest.`tryCommit(Graph graph)` Utility method that commits if the graph supports transactions.
    `void` | AbstractGremlinTest.`tryCommit(Graph graph, Consumer<Graph> assertFunction)` Utility method that commits if the graph supports transactions and executes an assertion function before and after the commit.
    `void` | AbstractGremlinTest.`tryRollback(Graph graph)` Utility method that rollsback if the graph supports transactions.

    Method parameters in org.apache.tinkerpop.gremlin with type arguments of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractGremlinTest.`tryCommit(Graph graph, Consumer<Graph> assertFunction)` Utility method that commits if the graph supports transactions and executes an assertion function before and after the commit.

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.algorithm.generator

    Fields in org.apache.tinkerpop.gremlin.algorithm.generator declared as Graph
    Modifier and Type | Field and Description
    --- | ---
    `protected Graph` | AbstractGenerator.`g`

    Methods in org.apache.tinkerpop.gremlin.algorithm.generator with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | CommunityGeneratorTest.DifferentDistributionsTest.`afterLoadGraphWith(Graph graph)`
    `protected void` | CommunityGeneratorTest.ProcessorTest.`afterLoadGraphWith(Graph graph)`
    `protected void` | DistributionGeneratorTest.DifferentDistributionsTest.`afterLoadGraphWith(Graph graph)`
    `protected void` | DistributionGeneratorTest.ProcessorTest.`afterLoadGraphWith(Graph graph)`
    `static CommunityGenerator.Builder` | CommunityGenerator.`build(Graph g)`
    `static DistributionGenerator.Builder` | DistributionGenerator.`build(Graph g)`
    `protected boolean` | AbstractGeneratorTest.`same(Graph g1, Graph g2)` Asserts that two graphs are the "same" in way of structure.
    `protected Iterable<Vertex>` | CommunityGeneratorTest.DifferentDistributionsTest.`verticesByOid(Graph graph)`
    `protected Iterable<Vertex>` | DistributionGeneratorTest.DifferentDistributionsTest.`verticesByOid(Graph graph)`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.driver

    Method parameters in org.apache.tinkerpop.gremlin.driver with type arguments of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `default void` | MessageSerializer.`configure(Map<String,Object> config, Map<String,Graph> graphs)` Configure the serializer with mapper settings as required.

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.driver.ser

    Method parameters in org.apache.tinkerpop.gremlin.driver.ser with type arguments of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractGraphSONMessageSerializerV1d0.`configure(Map<String,Object> config, Map<String,Graph> graphs)`
    `void` | GraphBinaryMessageSerializerV1.`configure(Map<String,Object> config, Map<String,Graph> graphs)`
    `void` | AbstractGryoMessageSerializerV1d0.`configure(Map<String,Object> config, Map<String,Graph> graphs)` Deprecated.
    `void` | AbstractGraphSONMessageSerializerV2d0.`configure(Map<String,Object> config, Map<String,Graph> graphs)`
    `void` | AbstractGryoMessageSerializerV3d0.`configure(Map<String,Object> config, Map<String,Graph> graphs)` Deprecated.

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.groovy.jsr223.dsl.credential

    Constructors in org.apache.tinkerpop.gremlin.groovy.jsr223.dsl.credential with parameters of type Graph
    Constructor and Description
    `CredentialTraversalSourceDsl(Graph graph)`
    `CredentialTraversalSourceDsl(Graph graph, TraversalStrategies traversalStrategies)`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.hadoop.process.computer.traversal.step.sideEffect

    Methods in org.apache.tinkerpop.gremlin.hadoop.process.computer.traversal.step.sideEffect with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `CloneVertexProgram` | HadoopIoStep.`generateProgram(Graph graph, Memory memory)`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.hadoop.structure

    Classes in org.apache.tinkerpop.gremlin.hadoop.structure that implement Graph
    Modifier and Type | Class and Description
    --- | ---
    `class` | `HadoopGraph`

    Methods in org.apache.tinkerpop.gremlin.hadoop.structure that return Graph
    Modifier and Type | Method and Description
    --- | ---
    `Graph` | HadoopElement.`graph()`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.neo4j.structure

    Classes in org.apache.tinkerpop.gremlin.neo4j.structure that implement Graph
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Neo4jGraph`

    Methods in org.apache.tinkerpop.gremlin.neo4j.structure that return Graph
    Modifier and Type | Method and Description
    --- | ---
    `Graph` | Neo4jElement.`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 and Description
    --- | ---
    `Graph` | ComputerResult.`graph()` Get the `Graph` computed as determined by `GraphComputer.Persist` and `GraphComputer.ResultGraph`.

    Methods in org.apache.tinkerpop.gremlin.process.computer with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `GraphComputer` | Computer.`apply(Graph graph)`
    `<P extends VertexProgram> P` | VertexProgram.Builder.`create(Graph graph)`
    `static <M extends MapReduce> M` | MapReduce.`createMapReduce(Graph graph, Configuration configuration)` A helper method to construct a `MapReduce` given the content of the supplied configuration.
    `static <V extends VertexProgram> V` | VertexProgram.`createVertexProgram(Graph graph, Configuration configuration)` A helper method to construct a `VertexProgram` given the content of the supplied configuration.
    `default void` | VertexProgram.`loadState(Graph graph, Configuration configuration)` When it is necessary to load the state of the VertexProgram, this method is called.
    `default void` | MapReduce.`loadState(Graph graph, Configuration configuration)` When it is necessary to load the state of a MapReduce job, this method is called.
    `void` | GraphComputerTest.VertexProgramM.`loadState(Graph graph, Configuration configuration)`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.process.computer.bulkdumping

    Methods in org.apache.tinkerpop.gremlin.process.computer.bulkdumping with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `BulkDumperVertexProgram` | BulkDumperVertexProgram.Builder.`create(Graph graph)`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.process.computer.bulkloading

    Methods in org.apache.tinkerpop.gremlin.process.computer.bulkloading with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `BulkLoaderVertexProgram` | BulkLoaderVertexProgram.Builder.`create(Graph graph)`
    `default Edge` | BulkLoader.`createEdge(Edge edge, Vertex outVertex, Vertex inVertex, Graph graph, GraphTraversalSource g)` Deprecated. Creates a clone of the given edge between the given in- and out-vertices.
    `default VertexProperty` | BulkLoader.`createVertexProperty(VertexProperty<?> property, Vertex vertex, Graph graph, GraphTraversalSource g)` Deprecated. Creates a clone of the given property for the given vertex.
    `Edge` | BulkLoader.`getOrCreateEdge(Edge edge, Vertex outVertex, Vertex inVertex, Graph graph, GraphTraversalSource g)` Deprecated. Gets or creates a clone of the given edge between the given in- and out-vertices.
    `Edge` | IncrementalBulkLoader.`getOrCreateEdge(Edge edge, Vertex outVertex, Vertex inVertex, Graph graph, GraphTraversalSource g)` Deprecated. Gets or creates a clone of the given edge between the given in- and out-vertices.
    `Edge` | OneTimeBulkLoader.`getOrCreateEdge(Edge edge, Vertex outVertex, Vertex inVertex, Graph graph, GraphTraversalSource g)` Deprecated. Creates a clone of the given edge between the given in- and out-vertices.
    `Vertex` | BulkLoader.`getOrCreateVertex(Vertex vertex, Graph graph, GraphTraversalSource g)` Deprecated. Gets or creates a clone of the given vertex in the given graph.
    `Vertex` | IncrementalBulkLoader.`getOrCreateVertex(Vertex vertex, Graph graph, GraphTraversalSource g)` Deprecated. Gets or creates a clone of the given vertex in the given graph.
    `Vertex` | OneTimeBulkLoader.`getOrCreateVertex(Vertex vertex, Graph graph, GraphTraversalSource g)` Deprecated. Creates a clone of the given vertex in the given graph.
    `VertexProperty` | BulkLoader.`getOrCreateVertexProperty(VertexProperty<?> property, Vertex vertex, Graph graph, GraphTraversalSource g)` Deprecated. Gets or creates a clone of the given property for the given vertex.
    `VertexProperty` | IncrementalBulkLoader.`getOrCreateVertexProperty(VertexProperty<?> property, Vertex vertex, Graph graph, GraphTraversalSource g)` Deprecated. Gets or creates a clone of the given property for the given vertex.
    `VertexProperty` | OneTimeBulkLoader.`getOrCreateVertexProperty(VertexProperty<?> property, Vertex vertex, Graph graph, GraphTraversalSource g)` Deprecated. Creates a clone of the given property for the given vertex.
    `Vertex` | BulkLoader.`getVertex(Vertex vertex, Graph graph, GraphTraversalSource g)` Deprecated. Get a vertex that matches the given vertex from the given graph.
    `Vertex` | IncrementalBulkLoader.`getVertex(Vertex vertex, Graph graph, GraphTraversalSource g)` Deprecated. Get a vertex that matches the given vertex from the given graph.
    `Vertex` | OneTimeBulkLoader.`getVertex(Vertex vertex, Graph graph, GraphTraversalSource g)` Deprecated. Get a vertex that matches the given vertex from the given graph.
    `default Vertex` | BulkLoader.`getVertexById(Object id, Graph graph, GraphTraversalSource g)` Deprecated. Gets a vertex by its ID from the given graph.
    `void` | BulkLoaderVertexProgram.`loadState(Graph graph, Configuration config)` Deprecated.

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.process.computer.clone

    Methods in org.apache.tinkerpop.gremlin.process.computer.clone with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `CloneVertexProgram` | CloneVertexProgram.Builder.`create(Graph graph)`

  - ### 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 and Description
    --- | ---
    `void` | ConnectedComponentVertexProgram.`loadState(Graph graph, 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 and Description
    --- | ---
    `void` | PeerPressureVertexProgram.`loadState(Graph graph, Configuration configuration)`
    `void` | ClusterCountMapReduce.`loadState(Graph graph, Configuration configuration)`
    `void` | ClusterPopulationMapReduce.`loadState(Graph graph, 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 and Description
    --- | ---
    `void` | PageRankMapReduce.`loadState(Graph graph, Configuration configuration)`
    `void` | PageRankVertexProgram.`loadState(Graph graph, 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 and Description
    --- | ---
    `void` | ShortestPathVertexProgram.`loadState(Graph graph, 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 and Description
    --- | ---
    `void` | TraversalVertexProgram.`loadState(Graph graph, Configuration configuration)`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.process.computer.traversal.step

    Methods in org.apache.tinkerpop.gremlin.process.computer.traversal.step with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `VertexProgram` | VertexComputing.`generateProgram(Graph graph, Memory memory)` Generate the `VertexProgram`.

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.process.computer.traversal.step.map

    Methods in org.apache.tinkerpop.gremlin.process.computer.traversal.step.map with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `Iterator<Traverser.Admin<S>>` | ComputerResultStep.`attach(Iterator<Traverser.Admin<S>> iterator, Graph graph)`
    `ShortestPathVertexProgram` | ShortestPathVertexProgramStep.`generateProgram(Graph graph, Memory memory)`
    `VertexProgram` | ProgramVertexProgramStep.`generateProgram(Graph graph, Memory memory)`
    `PageRankVertexProgram` | PageRankVertexProgramStep.`generateProgram(Graph graph, Memory memory)`
    `PeerPressureVertexProgram` | PeerPressureVertexProgramStep.`generateProgram(Graph graph, Memory memory)`
    `ConnectedComponentVertexProgram` | ConnectedComponentVertexProgramStep.`generateProgram(Graph graph, Memory memory)`
    `TraversalVertexProgram` | TraversalVertexProgramStep.`generateProgram(Graph graph, Memory memory)`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.process.computer.util

    Classes in org.apache.tinkerpop.gremlin.process.computer.util that implement Graph
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ComputerGraph`

    Fields in org.apache.tinkerpop.gremlin.process.computer.util declared as Graph
    Modifier and Type | Field and Description
    --- | ---
    `protected Graph` | DefaultComputerResult.`graph`

    Methods in org.apache.tinkerpop.gremlin.process.computer.util that return Graph
    Modifier and Type | Method and Description
    --- | ---
    `Graph` | DefaultComputerResult.`graph()`
    `Graph` | ComputerGraph.ComputerElement.`graph()`
    `Graph` | ComputerGraph.ComputerAdjacentVertex.`graph()`

    Methods in org.apache.tinkerpop.gremlin.process.computer.util with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `<P extends VertexProgram> P` | AbstractVertexProgramBuilder.`create(Graph graph)`

    Constructors in org.apache.tinkerpop.gremlin.process.computer.util with parameters of type Graph
    Constructor and Description
    `DefaultComputerResult(Graph graph, Memory memory)`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.process.remote.traversal

    Methods in org.apache.tinkerpop.gremlin.process.remote.traversal that return types with arguments of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `Optional<Graph>` | AbstractRemoteTraversal.`getGraph()`

    Methods in org.apache.tinkerpop.gremlin.process.remote.traversal with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractRemoteTraversal.`setGraph(Graph graph)`

  - ### 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 and Description
    --- | ---
    `Graph` | TraversalSource.`getGraph()` Get the `Graph` 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 and Description
    --- | ---
    `Optional<Graph>` | Traversal.Admin.`getGraph()` Gets the `Graph` instance associated to this `Traversal`.

    Methods in org.apache.tinkerpop.gremlin.process.traversal with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `void` | Traversal.Admin.`setGraph(Graph graph)`
    `T` | AnonymousTraversalSource.`withGraph(Graph graph)` Creates the specified `TraversalSource` binding a `Graph` as its reference such that traversals spawned from it will execute over that reference.

  - ### 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 and Description
    --- | ---
    `protected Graph` | GraphTraversalSource.`graph`

    Methods in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph that return Graph
    Modifier and Type | Method and Description
    --- | ---
    `Graph` | GraphTraversalSource.`getGraph()`

    Constructors in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph with parameters of type Graph
    Constructor and Description
    `DefaultGraphTraversal(Graph graph)`
    `GraphTraversalSource(Graph graph)`
    `GraphTraversalSource(Graph graph, TraversalStrategies traversalStrategies)`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.process.traversal.lambda

    Methods in org.apache.tinkerpop.gremlin.process.traversal.lambda that return types with arguments of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `Optional<Graph>` | AbstractLambdaTraversal.`getGraph()`

    Methods in org.apache.tinkerpop.gremlin.process.traversal.lambda with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractLambdaTraversal.`setGraph(Graph graph)`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.process.traversal.step.map

    Methods in org.apache.tinkerpop.gremlin.process.traversal.step.map with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | ProfileTest.`afterLoadGraphWith(Graph graph)`
    `void` | ProgramTest.TestProgram.`loadState(Graph graph, Configuration configuration)`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.process.traversal.step.sideEffect

    Methods in org.apache.tinkerpop.gremlin.process.traversal.step.sideEffect that return types with arguments of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `abstract Traversal<Vertex,Graph>` | SubgraphTest.`get_g_V_withSideEffectXsgX_outEXknowsX_subgraphXsgX_name_capXsgX(Object v1Id, Graph subgraph)`
    `Traversal<Vertex,Graph>` | SubgraphTest.Traversals.`get_g_V_withSideEffectXsgX_outEXknowsX_subgraphXsgX_name_capXsgX(Object v1Id, Graph subgraph)`

    Methods in org.apache.tinkerpop.gremlin.process.traversal.step.sideEffect with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `abstract Traversal<Vertex,Graph>` | SubgraphTest.`get_g_V_withSideEffectXsgX_outEXknowsX_subgraphXsgX_name_capXsgX(Object v1Id, Graph subgraph)`
    `Traversal<Vertex,Graph>` | SubgraphTest.Traversals.`get_g_V_withSideEffectXsgX_outEXknowsX_subgraphXsgX_name_capXsgX(Object v1Id, Graph subgraph)`
    `abstract Traversal<Vertex,String>` | SubgraphTest.`get_g_V_withSideEffectXsgX_repeatXbothEXcreatedX_subgraphXsgX_outVX_timesX5X_name_dedup(Graph subgraph)`
    `Traversal<Vertex,String>` | SubgraphTest.Traversals.`get_g_V_withSideEffectXsgX_repeatXbothEXcreatedX_subgraphXsgX_outVX_timesX5X_name_dedup(Graph subgraph)`
    `abstract Traversal<Vertex,Vertex>` | SubgraphTest.`get_g_withSideEffectXsgX_V_hasXname_danielX_outE_subgraphXsgX_inV(Graph subgraph)`
    `Traversal<Vertex,Vertex>` | SubgraphTest.Traversals.`get_g_withSideEffectXsgX_V_hasXname_danielX_outE_subgraphXsgX_inV(Graph subgraph)`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.process.traversal.step.util.event

    Constructors in org.apache.tinkerpop.gremlin.process.traversal.step.util.event with parameters of type Graph
    Constructor and Description
    `ConsoleMutationListener(Graph graph)`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration

    Constructors in org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration with parameters of type Graph
    Constructor and Description
    `TransactionalEventQueue(Graph graph)`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.process.traversal.util

    Fields in org.apache.tinkerpop.gremlin.process.traversal.util declared as Graph
    Modifier and Type | Field and Description
    --- | ---
    `protected Graph` | DefaultTraversal.`graph`

    Methods in org.apache.tinkerpop.gremlin.process.traversal.util that return types with arguments of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `Optional<Graph>` | EmptyTraversal.`getGraph()`
    `Optional<Graph>` | DefaultTraversal.`getGraph()`

    Methods in org.apache.tinkerpop.gremlin.process.traversal.util with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `Traversal.Admin<S,E>` | TraversalObjectFunction.`apply(Graph graph)`
    `Traversal.Admin<S,E>` | TraversalClassFunction.`apply(Graph graph)`
    `T` | TraversalSourceFactory.`createTraversalSource(Graph graph)`
    `static <S,E> PureTraversal<S,E>` | PureTraversal.`loadState(Configuration configuration, String configurationKey, Graph graph)`
    `void` | EmptyTraversal.`setGraph(Graph graph)`
    `void` | DefaultTraversal.`setGraph(Graph graph)`

    Constructors in org.apache.tinkerpop.gremlin.process.traversal.util with parameters of type Graph
    Constructor and Description
    `DefaultTraversal(Graph graph)`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.server

    Methods in org.apache.tinkerpop.gremlin.server that return Graph
    Modifier and Type | Method and Description
    --- | ---
    `Graph` | GraphManager.`getGraph(String graphName)` Get `Graph` instance whose name matches `graphName`.
    `Graph` | GraphManager.`openGraph(String graphName, Function<String,Graph> supplier)` Implementation that allows for custom graph-opening implementations; if the `Map` tracking graph references has a `Graph` object corresponding to the graph name, then we return that `Graph`-- otherwise, we use the custom `Function` to instantiate a new `Graph`, add it to the `Map` tracking graph references, and return said `Graph`.
    `Graph` | GraphManager.`removeGraph(String graphName)` Implementation that allows for custom graph closing implementations; this method should remove the `Graph` from the `GraphManager`.

    Methods in org.apache.tinkerpop.gremlin.server with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `void` | GraphManager.`putGraph(String graphName, Graph g)` Add or update the specified `Graph` with the specified name to `Map<String, Graph>` .

    Method parameters in org.apache.tinkerpop.gremlin.server with type arguments of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `Graph` | GraphManager.`openGraph(String graphName, Function<String,Graph> supplier)` Implementation that allows for custom graph-opening implementations; if the `Map` tracking graph references has a `Graph` object corresponding to the graph name, then we return that `Graph`-- otherwise, we use the custom `Function` to instantiate a new `Graph`, add it to the `Map` tracking graph references, and return said `Graph`.

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.server.op.traversal

    Methods in org.apache.tinkerpop.gremlin.server.op.traversal with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | TraversalOpProcessor.`beforeProcessing(Graph graph, Context ctx)`
    `protected void` | TraversalOpProcessor.`handleIterator(Context context, Iterator itty, Graph graph)`
    `protected void` | TraversalOpProcessor.`onError(Graph graph, Context ctx)`
    `protected void` | TraversalOpProcessor.`onSideEffectSuccess(Graph graph, Context ctx)`
    `protected void` | TraversalOpProcessor.`onTraversalSuccess(Graph graph, Context ctx)`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.server.util

    Methods in org.apache.tinkerpop.gremlin.server.util that return Graph
    Modifier and Type | Method and Description
    --- | ---
    `Graph` | DefaultGraphManager.`getGraph(String graphName)`
    `Graph` | DefaultGraphManager.`openGraph(String graphName, Function<String,Graph> supplier)` Implementation that allows for custom graph-opening implementations; if the `Map` tracking graph references has a `Graph` object corresponding to the graph name, then we return that `Graph`-- otherwise, we use the custom `Function` to instantiate a new `Graph`, add it to the `Map` tracking graph references, and return said `Graph`.
    `Graph` | DefaultGraphManager.`removeGraph(String graphName)` Implementation that allows for custom graph closing implementations; this method should remove the `Graph` from the `GraphManager`.

    Methods in org.apache.tinkerpop.gremlin.server.util with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `void` | DefaultGraphManager.`putGraph(String graphName, Graph g)`

    Method parameters in org.apache.tinkerpop.gremlin.server.util with type arguments of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `Graph` | DefaultGraphManager.`openGraph(String graphName, Function<String,Graph> supplier)` Implementation that allows for custom graph-opening implementations; if the `Map` tracking graph references has a `Graph` object corresponding to the graph name, then we return that `Graph`-- otherwise, we use the custom `Function` to instantiate a new `Graph`, add it to the `Map` tracking graph references, and return said `Graph`.

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.structure

    Classes in org.apache.tinkerpop.gremlin.structure that implement Graph
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RemoteGraph` `RemoteGraph` is only required for integrating with the test suite as there must be a `Graph` instance for the test suite to bind to.

    Methods in org.apache.tinkerpop.gremlin.structure with type parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `<G extends Graph> G` | Transaction.`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 and 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

    Fields in org.apache.tinkerpop.gremlin.structure.io with type parameters of type Graph
    Modifier and Type | Field and Description
    --- | ---
    `Function<Graph,GraphReader>` | IoPropertyTest.`readerMaker`
    `Function<Graph,GraphReader>` | IoCustomTest.`readerMaker`
    `Function<Graph,GraphReader>` | IoVertexTest.`readerMaker`
    `Function<Graph,GraphReader>` | IoEdgeTest.`readerMaker`
    `Function<Graph,GraphWriter>` | IoPropertyTest.`writerMaker`
    `Function<Graph,GraphWriter>` | IoCustomTest.`writerMaker`
    `Function<Graph,GraphWriter>` | IoVertexTest.`writerMaker`
    `Function<Graph,GraphWriter>` | IoEdgeTest.`writerMaker`

    Methods in org.apache.tinkerpop.gremlin.structure.io with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `static void` | IoTest.`assertClassicGraph(Graph g1, boolean assertDouble, boolean lossyForId)`
    `static void` | IoTest.`assertCrewGraph(Graph g1, boolean lossyForId)`
    `static void` | IoTest.`assertModernGraph(Graph g1, boolean assertDouble, boolean lossyForId)`
    `static void` | IoTest.`assertNoEdgeGraph(Graph g1, boolean assertDouble, boolean lossyForId)`
    `Io.Builder<? extends Io>` | Io.Builder.`graph(Graph g)` Providers use this method to supply the current instance of their `Graph` 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 an `InputStream`.
    `void` | GraphWriter.`writeGraph(OutputStream outputStream, Graph g)` Write the entire graph to a stream.

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.structure.io.binary.types

    Methods in org.apache.tinkerpop.gremlin.structure.io.binary.types that return Graph
    Modifier and Type | Method and Description
    --- | ---
    `protected Graph` | GraphSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`

    Methods in org.apache.tinkerpop.gremlin.structure.io.binary.types with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | GraphSerializer.`writeValue(Graph value, Buffer buffer, GraphBinaryWriter context)`

  - ### 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 and Description
    --- | ---
    `Io.Builder<GraphMLIo>` | GraphMLIo.Builder.`graph(Graph g)`
    `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 and Description
    --- | ---
    `Io.Builder<GraphSONIo>` | GraphSONIo.Builder.`graph(Graph g)`
    `void` | GraphSONReader.`readGraph(InputStream inputStream, Graph graphToWriteTo)` Read data into a `Graph` from output generated by any of the `GraphSONWriter` `writeVertex` or `writeVertices` methods or by `GryoWriter.writeGraph(OutputStream, Graph)`.
    `void` | LegacyGraphSONReader.`readGraph(InputStream inputStream, Graph graphToWriteTo)`
    `void` | GraphSONWriter.`writeGraph(OutputStream outputStream, Graph g)` Writes a `Graph` 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 and Description
    --- | ---
    `Io.Builder<GryoIo>` | GryoIo.Builder.`graph(Graph g)`
    `void` | GryoReader.`readGraph(InputStream inputStream, Graph graphToWriteTo)` Read data into a `Graph` from output generated by any of the `GryoWriter` `writeVertex` or `writeVertices` methods or by `GryoWriter.writeGraph(OutputStream, Graph)`.
    `void` | GryoWriter.`writeGraph(OutputStream outputStream, Graph g)` Write the entire graph to a stream.

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.structure.util

    Methods in org.apache.tinkerpop.gremlin.structure.util with type parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `<G extends Graph> G` | AbstractTransaction.`createThreadedTx()` Creates a transaction that can be executed across multiple threads.

    Methods in org.apache.tinkerpop.gremlin.structure.util that return Graph
    Modifier and Type | Method and Description
    --- | ---
    `static Graph` | GraphFactory.`open(Configuration configuration)` Open a graph.

    Methods in org.apache.tinkerpop.gremlin.structure.util with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `static IllegalStateException` | Attachable.Exceptions.`canNotGetAttachableFromHostGraph(Attachable<?> attachable, Graph hostGraph)`
    `static Edge` | Attachable.Method.`createEdge(Attachable<Edge> attachableEdge, Graph hostGraph)`
    `static Property` | Attachable.Method.`createProperty(Attachable<Property> attachableProperty, Graph hostGraph)`
    `static Vertex` | Attachable.Method.`createVertex(Attachable<Vertex> attachableVertex, Graph hostGraph)`
    `static VertexProperty` | Attachable.Method.`createVertexProperty(Attachable<VertexProperty> attachableVertexProperty, Graph hostGraph)`
    `static Optional<Edge>` | Attachable.Method.`getEdge(Attachable<Edge> attachableEdge, Graph hostGraph)`
    `static Optional<Property>` | Attachable.Method.`getProperty(Attachable<Property> attachableProperty, Graph hostGraph)`
    `static Optional<Vertex>` | Attachable.Method.`getVertex(Attachable<Vertex> attachableVertex, Graph hostGraph)`
    `static Optional<VertexProperty>` | Attachable.Method.`getVertexProperty(Attachable<VertexProperty> attachableVertexProperty, Graph hostGraph)`
    `static String` | StringFactory.`graphString(Graph graph, String internalString)` Construct the representation for a `Graph`.

    Constructors in org.apache.tinkerpop.gremlin.structure.util with parameters of type Graph
    Constructor and Description
    `AbstractThreadedTransaction(Graph g)`
    `AbstractThreadLocalTransaction(Graph g)`
    `AbstractTransaction(Graph g)`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.structure.util.detached

    Methods in org.apache.tinkerpop.gremlin.structure.util.detached that return Graph
    Modifier and Type | Method and Description
    --- | ---
    `Graph` | DetachedElement.`graph()`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.structure.util.empty

    Classes in org.apache.tinkerpop.gremlin.structure.util.empty that implement Graph
    Modifier and Type | Class and Description
    --- | ---
    `class` | `EmptyGraph`

    Methods in org.apache.tinkerpop.gremlin.structure.util.empty that return Graph
    Modifier and Type | Method and Description
    --- | ---
    `Graph` | EmptyVertexProperty.`graph()`
    `static Graph` | EmptyGraph.`instance()`
    `static Graph` | EmptyGraph.EmptyGraphFactory.`open(Configuration conf)`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.structure.util.keyed

    Methods in org.apache.tinkerpop.gremlin.structure.util.keyed that return Graph
    Modifier and Type | Method and Description
    --- | ---
    `Graph` | KeyedVertexProperty.`graph()`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.structure.util.reference

    Methods in org.apache.tinkerpop.gremlin.structure.util.reference that return Graph
    Modifier and Type | Method and Description
    --- | ---
    `Graph` | ReferenceElement.`graph()`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.structure.util.star

    Classes in org.apache.tinkerpop.gremlin.structure.util.star that implement Graph
    Modifier and Type | Class and Description
    --- | ---
    `class` | `StarGraph` A `StarGraph` is a form of `Attachable` (though the `Graph` implementation does not implement that interface itself).

    Methods in org.apache.tinkerpop.gremlin.structure.util.star that return Graph
    Modifier and Type | Method and Description
    --- | ---
    `Graph` | StarGraph.StarElement.`graph()`
    `Graph` | StarGraph.StarAdjacentVertex.`graph()`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.tinkergraph.process.computer

    Methods in org.apache.tinkerpop.gremlin.tinkergraph.process.computer that return Graph
    Modifier and Type | Method and Description
    --- | ---
    `Graph` | TinkerGraphComputerView.`processResultGraphPersist(GraphComputer.ResultGraph resultGraph, GraphComputer.Persist persist)`

  - ### Uses of Graph in org.apache.tinkerpop.gremlin.tinkergraph.structure

    Classes in org.apache.tinkerpop.gremlin.tinkergraph.structure that implement Graph
    Modifier and Type | Class and Description
    --- | ---
    `class` | `TinkerGraph` An in-memory (with optional persistence on calls to `TinkerGraph.close()`), reference implementation of the property graph interfaces provided by TinkerPop.

    Methods in org.apache.tinkerpop.gremlin.tinkergraph.structure that return Graph
    Modifier and Type | Method and Description
    --- | ---
    `Graph` | TinkerVertex.`graph()`
    `Graph` | TinkerEdge.`graph()`

Copyright © 2013–2020 Apache Software Foundation. All rights reserved.