Modifier and Type | Field and Description |
---|---|
protected Graph |
AbstractGremlinTest.graph |
Modifier and Type | Method and Description |
---|---|
Graph |
GraphManager.ManagedGraphProvider.openTestGraph(Configuration config) |
default Graph |
GraphProvider.openTestGraph(Configuration config)
|
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) . |
Modifier and Type | Method and Description |
---|---|
static Consumer<Graph> |
AbstractGremlinTest.getAssertVertexEdgeCounts(int expectedVertexCount,
int expectedEdgeCount) |
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.
|
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.
|
Modifier and Type | Field and Description |
---|---|
protected Graph |
AbstractGenerator.g |
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) |
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 |
---|---|
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.
|
Constructor and Description |
---|
CredentialTraversalSourceDsl(Graph graph) |
CredentialTraversalSourceDsl(Graph graph,
TraversalStrategies traversalStrategies) |
Modifier and Type | Method and Description |
---|---|
CloneVertexProgram |
HadoopIoStep.generateProgram(Graph graph,
Memory memory) |
Modifier and Type | Class and Description |
---|---|
class |
HadoopGraph |
Modifier and Type | Method and Description |
---|---|
Graph |
HadoopElement.graph() |
Modifier and Type | Class and Description |
---|---|
class |
Neo4jGraph |
Modifier and Type | Method and Description |
---|---|
Graph |
Neo4jElement.graph() |
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,
Configuration configuration)
A helper method to construct a
MapReduce given the content of the supplied configuration. |
static <V extends VertexProgram> |
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) |
Modifier and Type | Method and Description |
---|---|
BulkDumperVertexProgram |
BulkDumperVertexProgram.Builder.create(Graph 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.
|
Modifier and Type | Method and Description |
---|---|
CloneVertexProgram |
CloneVertexProgram.Builder.create(Graph graph) |
Modifier and Type | Method and Description |
---|---|
void |
ConnectedComponentVertexProgram.loadState(Graph graph,
Configuration config) |
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) |
Modifier and Type | Method and Description |
---|---|
void |
PageRankMapReduce.loadState(Graph graph,
Configuration configuration) |
void |
PageRankVertexProgram.loadState(Graph graph,
Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
ShortestPathVertexProgram.loadState(Graph graph,
Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
TraversalVertexProgram.loadState(Graph graph,
Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
VertexProgram |
VertexComputing.generateProgram(Graph graph,
Memory memory)
Generate the
VertexProgram . |
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) |
Modifier and Type | Class and Description |
---|---|
class |
ComputerGraph |
Modifier and Type | Field and Description |
---|---|
protected Graph |
DefaultComputerResult.graph |
Modifier and Type | Method and Description |
---|---|
Graph |
DefaultComputerResult.graph() |
Graph |
ComputerGraph.ComputerElement.graph() |
Graph |
ComputerGraph.ComputerAdjacentVertex.graph() |
Modifier and Type | Method and Description |
---|---|
<P extends VertexProgram> |
AbstractVertexProgramBuilder.create(Graph graph) |
Constructor and Description |
---|
DefaultComputerResult(Graph graph,
Memory memory) |
Modifier and Type | Method and Description |
---|---|
Optional<Graph> |
AbstractRemoteTraversal.getGraph() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractRemoteTraversal.setGraph(Graph graph) |
Modifier and Type | Method and Description |
---|---|
Graph |
TraversalSource.getGraph()
Get the
Graph associated with this traversal source. |
Modifier and Type | Method and Description |
---|---|
Optional<Graph> |
Traversal.Admin.getGraph()
|
Modifier and Type | Method and Description |
---|---|
void |
Traversal.Admin.setGraph(Graph graph) |
T |
AnonymousTraversalSource.withEmbedded(Graph graph)
Creates the specified
TraversalSource binding an embedded Graph as its reference such that
traversals spawned from it will execute over that reference. |
T |
AnonymousTraversalSource.withGraph(Graph graph)
Deprecated.
As of release 3.4.9, replaced by
AnonymousTraversalSource.withEmbedded(Graph) |
Modifier and Type | Field and Description |
---|---|
protected Graph |
GraphTraversalSource.graph |
Modifier and Type | Method and Description |
---|---|
Graph |
GraphTraversalSource.getGraph() |
Constructor and Description |
---|
DefaultGraphTraversal(Graph graph) |
GraphTraversalSource(Graph graph) |
GraphTraversalSource(Graph graph,
TraversalStrategies traversalStrategies) |
Modifier and Type | Method and Description |
---|---|
Optional<Graph> |
AbstractLambdaTraversal.getGraph() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractLambdaTraversal.setGraph(Graph graph) |
Modifier and Type | Method and Description |
---|---|
protected void |
ProfileTest.afterLoadGraphWith(Graph graph) |
void |
ProgramTest.TestProgram.loadState(Graph graph,
Configuration configuration) |
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) |
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) |
Constructor and Description |
---|
ConsoleMutationListener(Graph graph) |
Constructor and Description |
---|
TransactionalEventQueue(Graph graph) |
Modifier and Type | Field and Description |
---|---|
protected Graph |
DefaultTraversal.graph |
Modifier and Type | Method and Description |
---|---|
Optional<Graph> |
EmptyTraversal.getGraph() |
Optional<Graph> |
DefaultTraversal.getGraph() |
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) |
Constructor and Description |
---|
DefaultTraversal(Graph 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 . |
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> . |
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 . |
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) |
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 . |
Modifier and Type | Method and Description |
---|---|
void |
DefaultGraphManager.putGraph(String graphName,
Graph g) |
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 . |
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. |
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 | 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 |
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.
|
Modifier and Type | Method and Description |
---|---|
protected Graph |
GraphSerializer.readValue(Buffer buffer,
GraphBinaryReader context) |
Modifier and Type | Method and Description |
---|---|
protected void |
GraphSerializer.writeValue(Graph value,
Buffer buffer,
GraphBinaryWriter context) |
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.
|
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. |
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.
|
Modifier and Type | Method and Description |
---|---|
<G extends Graph> |
AbstractTransaction.createThreadedTx()
Creates a transaction that can be executed across multiple threads.
|
Modifier and Type | Method and Description |
---|---|
static Graph |
GraphFactory.open(Configuration configuration)
Open a 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 . |
Constructor and Description |
---|
AbstractThreadedTransaction(Graph g) |
AbstractThreadLocalTransaction(Graph g) |
AbstractTransaction(Graph g) |
Modifier and Type | Method and Description |
---|---|
Graph |
DetachedElement.graph() |
Modifier and Type | Class and Description |
---|---|
class |
EmptyGraph |
Modifier and Type | Method and Description |
---|---|
Graph |
EmptyVertexProperty.graph() |
static Graph |
EmptyGraph.instance() |
static Graph |
EmptyGraph.EmptyGraphFactory.open(Configuration conf) |
Modifier and Type | Method and Description |
---|---|
Graph |
KeyedVertexProperty.graph() |
Modifier and Type | Method and Description |
---|---|
Graph |
ReferenceElement.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). |
Modifier and Type | Method and Description |
---|---|
Graph |
StarGraph.StarElement.graph() |
Graph |
StarGraph.StarAdjacentVertex.graph() |
Modifier and Type | Method and Description |
---|---|
Graph |
TinkerGraphComputerView.processResultGraphPersist(GraphComputer.ResultGraph resultGraph,
GraphComputer.Persist persist) |
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. |
Modifier and Type | Method and Description |
---|---|
Graph |
TinkerVertex.graph() |
Graph |
TinkerEdge.graph() |
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.