Modifier and Type | Field and Description |
---|---|
protected Graph |
AbstractGremlinTest.graph |
Modifier and Type | Method and Description |
---|---|
default Graph |
GraphProvider.openTestGraph(Configuration config)
Creates a new
Graph instance from the Configuration object using GraphFactory . |
Graph |
GraphManager.ManagedGraphProvider.openTestGraph(Configuration config) |
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) . |
Graph |
GraphManager.ManagedGraphProvider.standardTestGraph(Class<?> test,
String testMethodName,
LoadGraphWith.GraphData loadGraphWith) |
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 |
GraphProvider.clear(Graph graph,
Configuration configuration)
Clears a
Graph of all data and settings. |
void |
GraphManager.ManagedGraphProvider.clear(Graph graph,
Configuration configuration) |
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) |
default GraphComputer |
GraphProvider.getGraphComputer(Graph graph)
Create a
GraphComputer from the Graph instance. |
GraphComputer |
GraphManager.ManagedGraphProvider.getGraphComputer(Graph graph) |
void |
AbstractGraphProvider.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. |
void |
GraphManager.ManagedGraphProvider.loadGraphData(Graph graph,
LoadGraphWith loadGraphWith,
Class testClass,
String testName) |
protected void |
AbstractGraphProvider.readIntoGraph(Graph g,
String path) |
default GraphTraversalSource |
GraphProvider.traversal(Graph graph)
Create a
GraphTraversalSource from a Graph instance. |
GraphTraversalSource |
GraphManager.ManagedGraphProvider.traversal(Graph graph) |
default GraphTraversalSource |
GraphProvider.traversal(Graph graph,
TraversalStrategy... strategies)
Create a
GraphTraversalSource from a Graph instance. |
GraphTraversalSource |
GraphManager.ManagedGraphProvider.traversal(Graph graph,
TraversalStrategy... strategies) |
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.tryRandomCommit(Graph graph)
Deprecated.
as of 3.1.1-incubating, and is not replaced
|
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.
|
static void |
AbstractGremlinSuite.validateOptInAndOutAnnotationsOnGraph(Class<? extends Graph> klass) |
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 DistributionGenerator.Builder |
DistributionGenerator.build(Graph g) |
static CommunityGenerator.Builder |
CommunityGenerator.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 |
AbstractGraphSONMessageSerializerV2d0.configure(Map<String,Object> config,
Map<String,Graph> graphs) |
void |
AbstractGryoMessageSerializerV1d0.configure(Map<String,Object> config,
Map<String,Graph> graphs) |
Constructor and Description |
---|
GremlinGenerator(Graph syntaxGraph,
Random rand) |
Modifier and Type | Method and Description |
---|---|
static CredentialGraph |
CredentialGraph.credentials(Graph graph)
Wrap up any
Graph instance in the CredentialGraph DSL. |
Constructor and Description |
---|
CredentialGraph(Graph graph) |
Modifier and Type | Method and Description |
---|---|
static CredentialGraph |
CredentialGraph.credentials(Graph graph)
Deprecated.
Wrap up any
Graph instance in the CredentialGraph DSL. |
Constructor and Description |
---|
CredentialGraph(Graph graph)
Deprecated.
|
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 |
MapReduce.loadState(Graph graph,
Configuration configuration)
When it is necessary to load the state of a MapReduce job, this method is called.
|
default void |
VertexProgram.loadState(Graph graph,
Configuration configuration)
When it is necessary to load the state of the VertexProgram, 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)
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)
Creates a clone of the given property for the given vertex.
|
Edge |
OneTimeBulkLoader.getOrCreateEdge(Edge edge,
Vertex outVertex,
Vertex inVertex,
Graph graph,
GraphTraversalSource g)
Creates a clone of the given edge between the given in- and out-vertices.
|
Edge |
BulkLoader.getOrCreateEdge(Edge edge,
Vertex outVertex,
Vertex inVertex,
Graph graph,
GraphTraversalSource g)
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)
Gets or creates a clone of the given edge between the given in- and out-vertices.
|
Vertex |
OneTimeBulkLoader.getOrCreateVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Creates a clone of the given vertex in the given graph.
|
Vertex |
BulkLoader.getOrCreateVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Gets or creates a clone of the given vertex in the given graph.
|
Vertex |
IncrementalBulkLoader.getOrCreateVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Gets or creates a clone of the given vertex in the given graph.
|
VertexProperty |
OneTimeBulkLoader.getOrCreateVertexProperty(VertexProperty<?> property,
Vertex vertex,
Graph graph,
GraphTraversalSource g)
Creates a clone of the given property for the given vertex.
|
VertexProperty |
BulkLoader.getOrCreateVertexProperty(VertexProperty<?> property,
Vertex vertex,
Graph graph,
GraphTraversalSource g)
Gets or creates a clone of the given property for the given vertex.
|
VertexProperty |
IncrementalBulkLoader.getOrCreateVertexProperty(VertexProperty<?> property,
Vertex vertex,
Graph graph,
GraphTraversalSource g)
Gets or creates a clone of the given property for the given vertex.
|
Vertex |
OneTimeBulkLoader.getVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Get a vertex that matches the given vertex from the given graph.
|
Vertex |
BulkLoader.getVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Get a vertex that matches the given vertex from the given graph.
|
Vertex |
IncrementalBulkLoader.getVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Get a vertex that matches the given vertex from the given graph.
|
default Vertex |
BulkLoader.getVertexById(Object id,
Graph graph,
GraphTraversalSource g)
Gets a vertex by its ID from the given graph.
|
void |
BulkLoaderVertexProgram.loadState(Graph graph,
Configuration config) |
Modifier and Type | Method and Description |
---|---|
void |
ClusterCountMapReduce.loadState(Graph graph,
Configuration configuration) |
void |
PeerPressureVertexProgram.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 |
TraversalVertexProgram.loadState(Graph graph,
Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
default GraphComputer |
VertexComputing.generateComputer(Graph graph)
Deprecated.
As of release 3.2.1. Please use
VertexComputing.getComputer() . |
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) |
GraphComputer |
TraversalVertexProgramStep.generateComputer(Graph graph) |
VertexProgram |
ProgramVertexProgramStep.generateProgram(Graph graph,
Memory memory) |
TraversalVertexProgram |
TraversalVertexProgramStep.generateProgram(Graph graph,
Memory memory) |
PeerPressureVertexProgram |
PeerPressureVertexProgramStep.generateProgram(Graph graph,
Memory memory) |
PageRankVertexProgram |
PageRankVertexProgramStep.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) |
static <S,E> ConfigurationTraversal<S,E> |
ConfigurationTraversal.loadState(Graph graph,
Configuration configuration,
String configKey)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <S,E> ConfigurationTraversal<S,E> |
ConfigurationTraversal.storeState(Function<Graph,Traversal.Admin<S,E>> traversalFunction,
Configuration configuration,
String configKey)
Deprecated.
|
Constructor and Description |
---|
DefaultComputerResult(Graph graph,
Memory memory) |
Modifier and Type | Class and Description |
---|---|
class |
RemoteGraph
Deprecated.
As for release 3.2.2, replaced by
TraversalSource#withRemote(RemoteConnection) or its overloads. |
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 |
---|---|
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) |
Modifier and Type | Field and Description |
---|---|
protected Graph |
GraphTraversalSource.graph |
Modifier and Type | Method and Description |
---|---|
Graph |
GraphTraversalSource.getGraph() |
Modifier and Type | Method and Description |
---|---|
GraphTraversalSource |
GraphTraversalSource.Builder.create(Graph graph)
Deprecated.
As of release 3.2.0. Please use
traversal(Class) . |
Constructor and Description |
---|
DefaultGraphTraversal(Graph graph) |
GraphTraversalSource(Graph graph) |
GraphTraversalSource(Graph graph,
TraversalStrategies traversalStrategies) |
Modifier and Type | Method and Description |
---|---|
TraversalEngine |
StandardTraversalEngine.Builder.create(Graph graph)
Deprecated.
As of release 3.2.0. Please use
traversal(Class) . |
ComputerTraversalEngine |
ComputerTraversalEngine.Builder.create(Graph graph)
Deprecated.
As of release 3.2.0. Please use
traversal(Class) . |
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 |
---|---|
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> |
TraversalScriptFunction.apply(Graph graph)
Deprecated.
|
Traversal.Admin<S,E> |
TraversalClassFunction.apply(Graph graph) |
Traversal.Admin<S,E> |
TraversalObjectFunction.apply(Graph graph) |
static <S,E> Traversal.Admin<S,E> |
TraversalScriptHelper.compute(Graph graph,
TraversalSource traversalSource,
String scriptEngineName,
String traversalScript,
Object... bindings)
Deprecated.
|
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 |
---|---|
Map<String,Graph> |
GraphManager.getGraphs()
Deprecated.
As of release 3.2.5, replaced by a combination of
GraphManager.getGraphNames() and
GraphManager.getGraph(String) - note that the expectation is this method return an immutable Map which was
not the expectation prior to 3.2.5. |
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 |
---|---|
Map<String,Graph> |
DefaultGraphManager.getGraphs()
Deprecated.
As of release 3.2.5, replaced by a combination of
DefaultGraphManager.getGraphNames() and
DefaultGraphManager.getGraph(String) |
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 | 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 |
---|---|
protected void |
GraphReadPerformanceTest.ReadFromGraph.afterLoadGraphWith(Graph g) |
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.
|
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 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. |
Modifier and Type | Field and Description |
---|---|
Function<Graph,GraphReader> |
IoEdgeTest.readerMaker |
Function<Graph,GraphReader> |
IoVertexTest.readerMaker |
Function<Graph,GraphReader> |
IoCustomTest.readerMaker |
Function<Graph,GraphReader> |
IoPropertyTest.readerMaker |
Function<Graph,GraphWriter> |
IoEdgeTest.writerMaker |
Function<Graph,GraphWriter> |
IoVertexTest.writerMaker |
Function<Graph,GraphWriter> |
IoCustomTest.writerMaker |
Function<Graph,GraphWriter> |
IoPropertyTest.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 |
---|---|
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 |
LegacyGraphSONReader.readGraph(InputStream inputStream,
Graph graphToWriteTo) |
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. |
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 . |
Modifier and Type | Method and Description |
---|---|
<R> Transaction.Workload<R> |
AbstractTransaction.submit(Function<Graph,R> work)
Deprecated.
As of release 3.2.6, not replaced.
|
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 |
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–2017 Apache Software Foundation. All rights reserved.