| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Graph | ComputerResult. graph() | 
| Modifier and Type | Method and Description | 
|---|---|
| GraphComputer | Computer. apply(Graph graph) | 
| <P extends VertexProgram> | VertexProgram.Builder. create(Graph graph) | 
| static <M extends MapReduce> | MapReduce. createMapReduce(Graph graph,
               org.apache.commons.configuration.Configuration configuration)A helper method to construct a  MapReducegiven the content of the supplied configuration. | 
| static <V extends VertexProgram> | VertexProgram. createVertexProgram(Graph graph,
                   org.apache.commons.configuration.Configuration configuration)A helper method to construct a  VertexProgramgiven 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PeerPressureVertexProgram. loadState(Graph graph,
         org.apache.commons.configuration.Configuration configuration) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PageRankVertexProgram. loadState(Graph graph,
         org.apache.commons.configuration.Configuration configuration) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | TraversalVertexProgram. loadState(Graph graph,
         org.apache.commons.configuration.Configuration configuration) | 
| Modifier and Type | Method and Description | 
|---|---|
| Graph | TraversalSource. getGraph()Get the  Graphassociated with this traversal source. | 
| Modifier and Type | Method and Description | 
|---|---|
| Optional<Graph> | Traversal.Admin. getGraph() | 
| Modifier and Type | Method and Description | 
|---|---|
| TraversalEngine | TraversalEngine.Builder. create(Graph graph)Deprecated.  Create the  TraversalEngine. | 
| void | Traversal.Admin. setGraph(Graph graph) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Graph | GraphTraversalSource. graph | 
| Modifier and Type | Method and Description | 
|---|---|
| Graph | GraphTraversalSource. getGraph() | 
| Constructor and Description | 
|---|
| GraphTraversalSource(Graph graph) | 
| GraphTraversalSource(Graph graph,
                    TraversalStrategies traversalStrategies) | 
| Modifier and Type | Method and Description | 
|---|---|
| <G extends Graph> | Transaction. createThreadedTx()Creates a transaction that can be executed across multiple threads. | 
| 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. | 
| 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  Graphto 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. | 
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | GraphSONReader. readGraph(InputStream inputStream,
         Graph graphToWriteTo)Read data into a  Graphfrom output generated by any of theGraphSONWriterwriteVertexorwriteVerticesmethods or byGryoWriter.writeGraph(OutputStream, Graph). | 
| void | GraphSONWriter. writeGraph(OutputStream outputStream,
          Graph g)Writes a  Graphto stream in an adjacency list format where vertices are written with edges from both
 directions. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | GryoReader. readGraph(InputStream inputStream,
         Graph graphToWriteTo)Read data into a  Graphfrom output generated by any of theGryoWriterwriteVertexorwriteVerticesmethods or byGryoWriter.writeGraph(OutputStream, Graph). | 
| void | GryoWriter. writeGraph(OutputStream outputStream,
          Graph g)Write the entire graph to a stream. | 
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.