Class OrientStandardGraph
java.lang.Object
org.apache.tinkerpop.gremlin.orientdb.OrientStandardGraph
- All Implemented Interfaces:
AutoCloseable,OGraph,org.apache.tinkerpop.gremlin.structure.Graph,org.apache.tinkerpop.gremlin.structure.util.Host
Created by Enrico Risa on 30/08/2017.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Graph
org.apache.tinkerpop.gremlin.structure.Graph.Exceptions, org.apache.tinkerpop.gremlin.structure.Graph.Features, org.apache.tinkerpop.gremlin.structure.Graph.Hidden, org.apache.tinkerpop.gremlin.structure.Graph.OptIn, org.apache.tinkerpop.gremlin.structure.Graph.OptIns, org.apache.tinkerpop.gremlin.structure.Graph.OptOut, org.apache.tinkerpop.gremlin.structure.Graph.OptOuts, org.apache.tinkerpop.gremlin.structure.Graph.Variables -
Field Summary
FieldsFields inherited from interface org.apache.tinkerpop.gremlin.structure.Graph
GRAPH -
Constructor Summary
ConstructorsConstructorDescriptionOrientStandardGraph(OrientGraphBaseFactory factory, org.apache.commons.configuration2.Configuration config) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.tinkerpop.gremlin.structure.VertexclassNameToLabel(String className) voidclose()protected voidorg.apache.tinkerpop.gremlin.process.computer.GraphComputercompute()<C extends org.apache.tinkerpop.gremlin.process.computer.GraphComputer>
Corg.apache.commons.configuration2.ConfigurationcreateEdgeClass(String label) createVertexClass(String label) voiddrop()Iterator<org.apache.tinkerpop.gremlin.structure.Edge>executeSql(String sql, Map params) booleanexistClass(String label) org.apache.tinkerpop.gremlin.structure.Graph.Featuresfeatures()getIndexedEdges(OIndex index, Iterator<Object> valueIter) getIndexedKeys(Class<? extends org.apache.tinkerpop.gremlin.structure.Element> elementClass, String label) getIndexedVertices(OIndex index, Iterator<Object> valueIter) protected OrientGraphgraph()<I extends org.apache.tinkerpop.gremlin.structure.io.Io>
Iio(org.apache.tinkerpop.gremlin.structure.io.Io.Builder<I> builder) booleanisOpen()labelToClassName(String label, String prefix) toString()org.apache.tinkerpop.gremlin.structure.Transactiontx()org.apache.tinkerpop.gremlin.structure.Graph.VariablesIterator<org.apache.tinkerpop.gremlin.structure.Vertex>Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.tinkerpop.gremlin.structure.Graph
addVertex, getServiceRegistry, traversal, traversal, tx
-
Field Details
-
graphInternal
-
-
Constructor Details
-
OrientStandardGraph
public OrientStandardGraph(OrientGraphBaseFactory factory, org.apache.commons.configuration2.Configuration config)
-
-
Method Details
-
addVertex
- Specified by:
addVertexin interfaceorg.apache.tinkerpop.gremlin.structure.Graph
-
compute
public <C extends org.apache.tinkerpop.gremlin.process.computer.GraphComputer> C compute(Class<C> graphComputerClass) throws IllegalArgumentException - Specified by:
computein interfaceorg.apache.tinkerpop.gremlin.structure.Graph- Throws:
IllegalArgumentException
-
compute
public org.apache.tinkerpop.gremlin.process.computer.GraphComputer compute() throws IllegalArgumentException- Specified by:
computein interfaceorg.apache.tinkerpop.gremlin.structure.Graph- Throws:
IllegalArgumentException
-
vertices
- Specified by:
verticesin interfaceorg.apache.tinkerpop.gremlin.structure.Graph
-
edges
- Specified by:
edgesin interfaceorg.apache.tinkerpop.gremlin.structure.Graph
-
tx
public org.apache.tinkerpop.gremlin.structure.Transaction tx()- Specified by:
txin interfaceorg.apache.tinkerpop.gremlin.structure.Graph
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.apache.tinkerpop.gremlin.structure.Graph- Throws:
Exception
-
variables
public org.apache.tinkerpop.gremlin.structure.Graph.Variables variables()- Specified by:
variablesin interfaceorg.apache.tinkerpop.gremlin.structure.Graph
-
features
public org.apache.tinkerpop.gremlin.structure.Graph.Features features()- Specified by:
featuresin interfaceorg.apache.tinkerpop.gremlin.structure.Graph
-
configuration
public org.apache.commons.configuration2.Configuration configuration()- Specified by:
configurationin interfaceorg.apache.tinkerpop.gremlin.structure.Graph
-
graph
-
io
public <I extends org.apache.tinkerpop.gremlin.structure.io.Io> I io(org.apache.tinkerpop.gremlin.structure.io.Io.Builder<I> builder) - Specified by:
ioin interfaceorg.apache.tinkerpop.gremlin.structure.Graph
-
drop
public void drop() -
closeGraphs
protected void closeGraphs() -
labelToClassName
- Specified by:
labelToClassNamein interfaceOGraph
-
classNameToLabel
- Specified by:
classNameToLabelin interfaceOGraph
-
createEdgeClass
- Specified by:
createEdgeClassin interfaceOGraph
-
createVertexClass
- Specified by:
createVertexClassin interfaceOGraph
-
getIndexedVertices
- Specified by:
getIndexedVerticesin interfaceOGraph
-
getIndexedEdges
- Specified by:
getIndexedEdgesin interfaceOGraph
-
getRawDatabase
- Specified by:
getRawDatabasein interfaceOGraph
-
executeSql
- Specified by:
executeSqlin interfaceOGraph
-
querySql
-
getIndexedKeys
public Set<String> getIndexedKeys(Class<? extends org.apache.tinkerpop.gremlin.structure.Element> elementClass, String label) - Specified by:
getIndexedKeysin interfaceOGraph
-
existClass
- Specified by:
existClassin interfaceOGraph
-
elementFactory
- Specified by:
elementFactoryin interfaceOGraph
-
isOpen
public boolean isOpen() -
toString
-