| Modifier and Type | Method and Description |
|---|---|
default Traverser.Admin<T> |
Traverser.Admin.attach(Graph graph)
Traversers can not attach to graphs and thus, an
UnsupportedOperationException is thrown. |
| Modifier and Type | Method and Description |
|---|---|
Graph |
ComputerResult.graph()
Get the view of the original
Graph computed on by the GraphComputer. |
| Constructor and Description |
|---|
ComputerResult(Graph graph,
Memory memory) |
| Modifier and Type | Method and Description |
|---|---|
TraversalScript<S,E> |
TraversalScript.over(Graph graph) |
| Modifier and Type | Method and Description |
|---|---|
static StrategyGraph |
ComputerDataStrategy.wrapGraph(Graph graph,
VertexProgram<?> vertexProgram) |
| Modifier and Type | Field and Description |
|---|---|
protected Graph |
GraphStep.graph |
| Modifier and Type | Method and Description |
|---|---|
<G extends Graph> |
GraphStep.getGraph(java.lang.Class<G> graphClass) |
| Constructor and Description |
|---|
GraphStep(Traversal traversal,
Graph graph,
java.lang.Class<E> returnClass,
java.lang.Object... ids) |
| Modifier and Type | Method and Description |
|---|---|
<G extends Graph> |
Transaction.create()
Creates a transaction that can be executed across multiple threads.
|
| Modifier and Type | Method and Description |
|---|---|
default Graph |
VertexProperty.graph()
Get the graph that this element is within.
|
Graph |
Element.graph()
Get the graph that this element is within.
|
| Modifier and Type | Method and Description |
|---|---|
R |
Transaction.Workload.attempt(java.util.function.BiFunction<Graph,java.util.function.Function<Graph,R>,R> retryStrategy)
Try to execute a
Transaction.Workload with a mapper retry strategy. |
R |
Transaction.Workload.attempt(java.util.function.BiFunction<Graph,java.util.function.Function<Graph,R>,R> retryStrategy)
Try to execute a
Transaction.Workload with a mapper retry strategy. |
<R> Transaction.Workload<R> |
Transaction.submit(java.util.function.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,
java.util.function.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,
java.util.function.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 Kryo 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(java.io.InputStream inputStream,
Graph graphToWriteTo)
Reads an entire graph from an
InputStream. |
void |
GraphWriter.writeGraph(java.io.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(java.io.InputStream graphInputStream,
Graph graphToWriteTo) |
void |
GraphMLWriter.writeGraph(java.io.OutputStream outputStream,
Graph g)
Write the data in a Graph to a GraphML OutputStream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LegacyGraphSONReader.readGraph(java.io.InputStream inputStream,
Graph graphToWriteTo) |
void |
GraphSONReader.readGraph(java.io.InputStream inputStream,
Graph graphToWriteTo) |
void |
GraphSONWriter.writeGraph(java.io.OutputStream outputStream,
Graph g) |
| Constructor and Description |
|---|
GraphSONUtility(Graph g) |
| Modifier and Type | Method and Description |
|---|---|
void |
KryoReader.readGraph(java.io.InputStream inputStream,
Graph graphToWriteTo) |
void |
KryoWriter.writeGraph(java.io.OutputStream outputStream,
Graph g) |
| Modifier and Type | Class and Description |
|---|---|
class |
StrategyGraph
A wrapper class for
Graph instances that host and apply a GraphStrategy. |
| Modifier and Type | Method and Description |
|---|---|
Graph |
StrategyGraph.getBaseGraph()
Gets the underlying base
Graph that is being hosted within this wrapper. |
Graph |
StrategyVertexProperty.graph() |
Graph |
StrategyVertex.graph() |
Graph |
StrategyEdge.graph() |
| Modifier and Type | Method and Description |
|---|---|
java.util.function.UnaryOperator<java.util.function.Supplier<Graph>> |
SequenceStrategy.getEdgeGraphStrategy(StrategyContext<StrategyEdge> ctx,
GraphStrategy composingStrategy) |
default java.util.function.UnaryOperator<java.util.function.Supplier<Graph>> |
GraphStrategy.getEdgeGraphStrategy(StrategyContext<StrategyEdge> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Element.graph(). |
java.util.function.UnaryOperator<java.util.function.Supplier<Graph>> |
SequenceStrategy.getVertexGraphStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy) |
default java.util.function.UnaryOperator<java.util.function.Supplier<Graph>> |
GraphStrategy.getVertexGraphStrategy(StrategyContext<StrategyVertex> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of Element.graph(). |
<V> java.util.function.UnaryOperator<java.util.function.Supplier<Graph>> |
SequenceStrategy.getVertexPropertyGraphStrategy(StrategyContext<StrategyVertexProperty<V>> ctx,
GraphStrategy composingStrategy) |
default <V> java.util.function.UnaryOperator<java.util.function.Supplier<Graph>> |
GraphStrategy.getVertexPropertyGraphStrategy(StrategyContext<StrategyVertexProperty<V>> ctx,
GraphStrategy composingStrategy)
Construct a
Supplier that enhances the features of VertexProperty.graph(). |
| Constructor and Description |
|---|
StrategyGraph(Graph baseGraph) |
StrategyGraph(Graph baseGraph,
GraphStrategy strategy) |
| Modifier and Type | Method and Description |
|---|---|
static Graph |
GraphFactory.open(org.apache.commons.configuration.Configuration configuration)
Open a graph.
|
static Graph |
GraphFactory.open(java.util.Map configuration)
Open a graph.
|
static Graph |
GraphFactory.open(java.lang.String configurationFile)
Open a graph.
|
| Modifier and Type | Method and Description |
|---|---|
static Vertex |
ElementHelper.getOrAddVertex(Graph graph,
java.lang.Object id,
java.lang.String label)
Check if the vertex, by ID, exists.
|
static java.lang.String |
StringFactory.graphStrategyString(GraphStrategy graphStrategy,
Graph graph) |
static java.lang.String |
StringFactory.graphString(Graph graph,
java.lang.String internalString)
Construct the representation for a
Graph. |
| Modifier and Type | Class and Description |
|---|---|
class |
BatchGraph<G extends Graph>
BatchGraph is a wrapper that enables batch loading of a large number of edges and vertices by chunking the entire
load into smaller batches and maintaining a sideEffects-efficient vertex cache so that the entire transactional state can
be flushed after each chunk is loaded. |
static class |
BatchGraph.Builder<G extends Graph> |
| Modifier and Type | Class and Description |
|---|---|
class |
BatchGraph<G extends Graph>
BatchGraph is a wrapper that enables batch loading of a large number of edges and vertices by chunking the entire
load into smaller batches and maintaining a sideEffects-efficient vertex cache so that the entire transactional state can
be flushed after each chunk is loaded. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Graph> |
BatchGraph.build(T g) |
| Modifier and Type | Method and Description |
|---|---|
Graph |
DetachedElement.graph() |
| Modifier and Type | Method and Description |
|---|---|
static Edge |
DetachedEdge.addTo(Graph graph,
DetachedEdge detachedEdge) |
static Vertex |
DetachedVertex.addTo(Graph graph,
DetachedVertex detachedVertex) |
VertexProperty<V> |
DetachedVertexProperty.attach(Graph hostGraph) |
Vertex |
DetachedVertex.attach(Graph hostGraph) |
Property<V> |
DetachedProperty.attach(Graph hostGraph) |
Path |
DetachedPath.attach(Graph hostGraph) |
Edge |
DetachedEdge.attach(Graph hostGraph) |
T |
Attachable.attach(Graph hostGraph) |
| Modifier and Type | Class and Description |
|---|---|
class |
EmptyGraph |
| Modifier and Type | Method and Description |
|---|---|
Graph |
EmptyVertexProperty.graph() |
static Graph |
EmptyGraph.instance() |
Copyright © 2013-2015 TinkerPop. All Rights Reserved.