| Modifier and Type | Interface and Description |
|---|---|
interface |
IndexableGraph
An IndexableGraph is a graph that supports the manual indexing of its elements.
|
interface |
KeyIndexableGraph
A KeyIndexableGraph is a graph that supports basic index functionality around the key/value pairs of the elements of the graph.
|
interface |
MetaGraph<T>
MetaGraph can be implemented as a way to access the underlying native graph engine.
|
interface |
ThreadedTransactionalGraph
ThreadedTransactionalGraph provides more fine grained control over the transactional context.
|
interface |
TransactionalGraph
A transactional graph supports the notion of transactions.
|
| Modifier and Type | Method and Description |
|---|---|
static Graph |
GraphFactory.open(org.apache.commons.configuration.Configuration configuration)
Open a graph.
|
static Graph |
GraphFactory.open(Map configuration)
Open a graph.
|
static Graph |
GraphFactory.open(String configurationFile)
Open a graph.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TinkerGraph
An in-memory, reference implementation of the property graph interfaces provided by Blueprints.
|
| Modifier and Type | Field and Description |
|---|---|
protected Graph |
DefaultGraphQuery.graph |
| Modifier and Type | Method and Description |
|---|---|
static Edge |
GraphHelper.addEdge(Graph graph,
Object id,
Vertex outVertex,
Vertex inVertex,
String label,
Object... properties)
Add an edge to the graph with specified id and provided properties.
|
static Vertex |
GraphHelper.addVertex(Graph graph,
Object id,
Object... properties)
Add a vertex to the graph with specified id and provided properties.
|
static void |
GraphHelper.copyGraph(Graph from,
Graph to)
Copy the vertex/edges of one graph over to another graph.
|
static String |
StringFactory.graphString(Graph graph,
String internalString) |
static long |
KeyIndexableGraphHelper.reIndexElements(Graph graph,
Iterable<? extends Element> elements,
Set<String> keys)
For those graphs that do no support automatic reindexing of elements when a key is provided for indexing, this method can be used to simulate that behavior.
|
static Edge |
EdgeHelper.relabelEdge(Graph graph,
Edge oldEdge,
Object newId,
String newLabel)
An edge is relabeled by creating a new edge with the same properties, but new label.
|
static void |
EdgeHelper.relabelEdges(Graph graph,
Iterable<Edge> oldEdges,
String newLabel)
Edges are relabeled by creating new edges with the same properties, but new label.
|
| Constructor and Description |
|---|
DefaultGraphQuery(Graph graph) |
| Modifier and Type | Method and Description |
|---|---|
static void |
GMLReader.inputGraph(Graph graph,
InputStream inputStream)
Load the GML file into the Graph.
|
static void |
GMLReader.inputGraph(Graph inputGraph,
InputStream inputStream,
int bufferSize,
String defaultEdgeLabel,
String vertexIdKey,
String edgeIdKey,
String edgeLabelKey)
Load the GML file into the Graph.
|
static void |
GMLReader.inputGraph(Graph graph,
String filename)
Load the GML file into the Graph.
|
static void |
GMLReader.inputGraph(Graph inputGraph,
String filename,
int bufferSize,
String defaultEdgeLabel,
String vertexIdKey,
String edgeIdKey,
String edgeLabelKey)
Load the GML file into the Graph.
|
static void |
GMLWriter.outputGraph(Graph graph,
OutputStream graphMLOutputStream)
Write the data in a Graph to a GML OutputStream.
|
static void |
GMLWriter.outputGraph(Graph graph,
String filename)
Write the data in a Graph to a GML OutputStream.
|
| Constructor and Description |
|---|
GMLReader(Graph graph)
Create a new GML reader
(Uses default edge label DEFAULT_LABEL)
|
GMLReader(Graph graph,
String defaultEdgeLabel)
Create a new GML reader
|
GMLWriter(Graph graph) |
| Modifier and Type | Method and Description |
|---|---|
static void |
GraphMLReader.inputGraph(Graph inputGraph,
InputStream graphMLInputStream)
Input the GraphML stream data into the graph.
|
static void |
GraphMLReader.inputGraph(Graph inputGraph,
InputStream graphMLInputStream,
int bufferSize,
String vertexIdKey,
String edgeIdKey,
String edgeLabelKey)
Input the GraphML stream data into the graph.
|
static void |
GraphMLReader.inputGraph(Graph inputGraph,
String filename)
Input the GraphML stream data into the graph.
|
static void |
GraphMLReader.inputGraph(Graph inputGraph,
String filename,
int bufferSize,
String vertexIdKey,
String edgeIdKey,
String edgeLabelKey)
Input the GraphML stream data into the graph.
|
static void |
GraphMigrator.migrateGraph(Graph fromGraph,
Graph toGraph)
Pipe the data from one graph to another graph.
|
static void |
GraphMLWriter.outputGraph(Graph graph,
OutputStream graphMLOutputStream)
Write the data in a Graph to a GraphML OutputStream.
|
static void |
GraphMLWriter.outputGraph(Graph graph,
OutputStream graphMLOutputStream,
Map<String,String> vertexKeyTypes,
Map<String,String> edgeKeyTypes)
Write the data in a Graph to a GraphML OutputStream.
|
static void |
GraphMLWriter.outputGraph(Graph graph,
String filename)
Write the data in a Graph to a GraphML file.
|
static void |
GraphMLWriter.outputGraph(Graph graph,
String filename,
Map<String,String> vertexKeyTypes,
Map<String,String> edgeKeyTypes)
Write the data in a Graph to a GraphML file.
|
| Constructor and Description |
|---|
GraphMLReader(Graph graph) |
GraphMLWriter(Graph graph) |
| Modifier and Type | Method and Description |
|---|---|
static void |
GraphSONReader.inputGraph(Graph graph,
InputStream jsonInputStream)
Input the JSON stream data into the graph.
|
static void |
GraphSONReader.inputGraph(Graph inputGraph,
InputStream jsonInputStream,
int bufferSize) |
static void |
GraphSONReader.inputGraph(Graph inputGraph,
InputStream jsonInputStream,
int bufferSize,
Set<String> edgePropertyKeys,
Set<String> vertexPropertyKeys)
Input the JSON stream data into the graph.
|
static void |
GraphSONReader.inputGraph(Graph graph,
String filename)
Input the JSON stream data into the graph.
|
static void |
GraphSONReader.inputGraph(Graph inputGraph,
String filename,
int bufferSize) |
static void |
GraphSONReader.inputGraph(Graph inputGraph,
String filename,
int bufferSize,
Set<String> edgePropertyKeys,
Set<String> vertexPropertyKeys)
Input the JSON stream data into the graph.
|
static void |
GraphSONWriter.outputGraph(Graph graph,
OutputStream jsonOutputStream)
Write the data in a Graph to a JSON OutputStream.
|
static void |
GraphSONWriter.outputGraph(Graph graph,
OutputStream jsonOutputStream,
GraphSONMode mode)
Write the data in a Graph to a JSON OutputStream.
|
static void |
GraphSONWriter.outputGraph(Graph graph,
OutputStream jsonOutputStream,
Set<String> vertexPropertyKeys,
Set<String> edgePropertyKeys,
GraphSONMode mode)
Write the data in a Graph to a JSON OutputStream.
|
static void |
GraphSONWriter.outputGraph(Graph graph,
String filename)
Write the data in a Graph to a JSON OutputStream.
|
static void |
GraphSONWriter.outputGraph(Graph graph,
String filename,
GraphSONMode mode)
Write the data in a Graph to a JSON OutputStream.
|
static void |
GraphSONWriter.outputGraph(Graph graph,
String filename,
Set<String> vertexPropertyKeys,
Set<String> edgePropertyKeys,
GraphSONMode mode)
Write the data in a Graph to a JSON OutputStream.
|
| Constructor and Description |
|---|
GraphElementFactory(Graph g) |
GraphSONReader(Graph graph) |
GraphSONWriter(Graph graph) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
WrapperGraph<T extends Graph>
A WrapperGraph has an underlying graph object to which it delegates its operations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BatchGraph<T extends TransactionalGraph>
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 memory-efficient vertex cache so that the entire transactional state can
be flushed after each chunk is loaded.
|
| Modifier and Type | Method and Description |
|---|---|
static BatchGraph |
BatchGraph.wrap(Graph graph)
Constructs a BatchGraph wrapping the provided baseGraph.
|
static BatchGraph |
BatchGraph.wrap(Graph graph,
long buffer)
Constructs a BatchGraph wrapping the provided baseGraph.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EventGraph<T extends Graph>
An EventGraph is a wrapper to existing Graph implementations and provides for graph events to be raised
to one or more listeners on changes to the Graph.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EventGraph<T extends Graph>
An EventGraph is a wrapper to existing Graph implementations and provides for graph events to be raised
to one or more listeners on changes to the Graph.
|
class |
EventIndexableGraph<T extends IndexableGraph>
EventIndexableGraph is merely a proxy to index methods exposing EventGraph methods in the "evented" way.
|
class |
EventTransactionalGraph<T extends TransactionalGraph>
The transactional implementation of EventGraph where events are raised in batch in the order they
changes occured to the graph, but only after a successful commit to the underlying graph.
|
class |
EventTransactionalIndexableGraph<T extends IndexableGraph & TransactionalGraph>
The transactional and indexable implementation of EventGraph where events are raised in batch in the order they
changes occured to the graph, but only after a successful commit to the underlying graph.
|
| Modifier and Type | Field and Description |
|---|---|
protected T |
EventGraph.baseGraph |
| Constructor and Description |
|---|
ConsoleGraphChangedListener(Graph graph) |
| Modifier and Type | Class and Description |
|---|---|
class |
IdGraph<T extends KeyIndexableGraph>
A Graph implementation which wraps another Graph implementation,
enabling custom element IDs even for those graphs which don't otherwise support them.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PartitionGraph<T extends Graph> |
| Modifier and Type | Class and Description |
|---|---|
class |
PartitionGraph<T extends Graph> |
class |
PartitionIndexableGraph<T extends IndexableGraph> |
| Modifier and Type | Field and Description |
|---|---|
protected T |
PartitionGraph.baseGraph |
| Modifier and Type | Class and Description |
|---|---|
class |
ReadOnlyGraph<T extends Graph>
A ReadOnlyGraph wraps a Graph and overrides the underlying graph's mutating methods.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ReadOnlyGraph<T extends Graph>
A ReadOnlyGraph wraps a Graph and overrides the underlying graph's mutating methods.
|
class |
ReadOnlyIndexableGraph<T extends IndexableGraph>
A ReadOnlyIndexableGraph wraps an IndexableGraph and overrides the underlying graph's mutating methods.
|
class |
ReadOnlyKeyIndexableGraph<T extends KeyIndexableGraph>
A ReadOnlyKeyIndexableGraph wraps a KeyIndexableGraph and overrides the underlying graph's mutating methods.
|
| Modifier and Type | Field and Description |
|---|---|
protected T |
ReadOnlyGraph.baseGraph |
| Modifier and Type | Class and Description |
|---|---|
class |
WrappedGraph<T extends Graph>
WrappedGraph serves as a template for writing a wrapper graph.
|
| Modifier and Type | Class and Description |
|---|---|
class |
WrappedGraph<T extends Graph>
WrappedGraph serves as a template for writing a wrapper graph.
|
class |
WrappedIndexableGraph<T extends IndexableGraph> |
| Modifier and Type | Field and Description |
|---|---|
protected T |
WrappedGraph.baseGraph |
Copyright © 2010-2014. All Rights Reserved.