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

- Packages that use Graph
  Package | Description
  --- | ---
  org.apache.tinkerpop.gremlin.driver |
  org.apache.tinkerpop.gremlin.process.computer |
  org.apache.tinkerpop.gremlin.process.computer.clustering.peerpressure |
  org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank |
  org.apache.tinkerpop.gremlin.process.computer.traversal |
  org.apache.tinkerpop.gremlin.process.traversal |
  org.apache.tinkerpop.gremlin.process.traversal.dsl.graph |
  org.apache.tinkerpop.gremlin.structure |
  org.apache.tinkerpop.gremlin.structure.io |
  org.apache.tinkerpop.gremlin.structure.io.graphml |
  org.apache.tinkerpop.gremlin.structure.io.graphson |
  org.apache.tinkerpop.gremlin.structure.io.gryo |

- - ### 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.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, org.apache.commons.configuration.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, org.apache.commons.configuration.Configuration configuration)` A helper method to construct a `VertexProgram` given the content of the supplied configuration.
    `default void` | MapReduce.`loadState(Graph graph, org.apache.commons.configuration.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.configuration.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.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, org.apache.commons.configuration.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` | PageRankVertexProgram.`loadState(Graph graph, org.apache.commons.configuration.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, org.apache.commons.configuration.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 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()`

    Methods in org.apache.tinkerpop.gremlin.process.traversal with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `C` | TraversalSource.Builder.`create(Graph graph)` Deprecated. As of release 3.2.0. Please use `traversal(Class)`.
    `TraversalEngine` | TraversalEngine.Builder.`create(Graph graph)` Deprecated. Create the `TraversalEngine`.
    `void` | Traversal.Admin.`setGraph(Graph 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 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()`

    Methods in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph with parameters of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `GraphTraversalSource` | GraphTraversalSource.Builder.`create(Graph graph)` Deprecated. As of release 3.2.0. Please use `traversal(Class)`.

    Constructors in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph with parameters of type Graph
    Constructor and 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 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.

    Method parameters in org.apache.tinkerpop.gremlin.structure with type arguments of type Graph
    Modifier and Type | Method and Description
    --- | ---
    `R` | Transaction.Workload.`attempt(BiFunction<Graph,Function<Graph,R>,R> retryStrategy)` Deprecated. Try to execute a `Transaction.Workload` with a mapper retry strategy.
    `R` | Transaction.Workload.`attempt(BiFunction<Graph,Function<Graph,R>,R> retryStrategy)` Deprecated. Try to execute a `Transaction.Workload` with a mapper retry strategy.
    `<R> Transaction.Workload<R>` | Transaction.`submit(Function<Graph,R> work)` Deprecated. As of release 3.2.6, not replaced.

    Constructors in org.apache.tinkerpop.gremlin.structure with parameters of type Graph
    Constructor and Description
    `Workload(Graph g, Function<Graph,R> work)` Deprecated. Creates a new `Transaction.Workload` that will be tried to be executed within a transaction.

    Constructor parameters in org.apache.tinkerpop.gremlin.structure with type arguments of type Graph
    Constructor and Description
    `Workload(Graph g, Function<Graph,R> work)` Deprecated. Creates a new `Transaction.Workload` that will be tried to be executed within a transaction.

  - ### 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 and Description
    --- | ---
    `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.graphml

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

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