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 |
---|---|
<G extends Graph> |
Transaction.create()
Creates a transaction that can be executed across multiple threads.
|
static <G extends Graph> |
Graph.empty(Class<G> graphClass) |
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 |
---|---|
R |
Transaction.Workload.attempt(BiFunction<Graph,Function<Graph,R>,R> retryStrategy)
Try to execute a
Transaction.Workload with a mapper retry strategy. |
R |
Transaction.Workload.attempt(BiFunction<Graph,Function<Graph,R>,R> retryStrategy)
Try to execute a
Transaction.Workload with a mapper retry strategy. |
<R> Transaction.Workload<R> |
Transaction.submit(Function<Graph,R> work)
Submit a unit of work that represents a transaction returning a
Transaction.Workload that can be automatically
retried in the event of failure. |
Constructor and Description |
---|
Workload(Graph g,
Function<Graph,R> work)
Creates a new
Transaction.Workload that will be tried to be executed within a transaction. |
Constructor and Description |
---|
Workload(Graph g,
Function<Graph,R> work)
Creates a new
Transaction.Workload that will be tried to be executed within a transaction. |
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
DefaultIo(Graph g) |
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) |
void |
LegacyGraphSONReader.readGraph(InputStream inputStream,
Graph graphToWriteTo) |
void |
GraphSONWriter.writeGraph(OutputStream outputStream,
Graph g) |
Constructor and Description |
---|
GraphSONUtility(Graph g) |
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.