public class GraknOrientDBGraph extends AbstractGraknGraph<org.apache.tinkerpop.gremlin.orientdb.OrientGraph>
A Grakn Graph using OrientGraph as a vendor backend.
Wraps up a OrientGraph as a method of storing the Grakn Graph object Model.
With this vendor some issues to be aware of:
1. AbstractGraknGraph.isConceptModified(ConceptImpl) always returns true due to methods not available
yet on orient's side.
2. Indexing is done across labels as opposed to global indices
LOG, NORMAL_CACHE_TIMEOUT_MS, SHARDING_THRESHOLD| Constructor and Description |
|---|
GraknOrientDBGraph(org.apache.tinkerpop.gremlin.orientdb.OrientGraph graph,
String name,
String engineUrl,
Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
commitTransactionInternal() |
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<org.apache.tinkerpop.gremlin.structure.Vertex,org.apache.tinkerpop.gremlin.structure.Vertex> |
getTinkerTraversal()
Utility function to get a read-only Tinkerpop traversal.
|
boolean |
isConceptModified(ai.grakn.graph.internal.ConceptImpl concept) |
boolean |
isSessionClosed() |
int |
numOpenTx() |
abort, admin, buildConcept, clearGraph, close, closeSession, commit, commitNoLogs, convertToId, delete, duplicateResourcesExist, fixDuplicateResources, getConcept, getConcept, getEntityType, getKeyspace, getMetaConcept, getMetaEntityType, getMetaRelationType, getMetaResourceType, getMetaRoleType, getMetaRuleConstraint, getMetaRuleInference, getMetaRuleType, getOntologyConcept, getRelationType, getResourcesByValue, getResourceType, getRole, getRuleType, getTinkerPopGraph, getType, graql, implicitConceptsVisible, isBatchGraph, isClosed, isReadOnly, openTransaction, putEntityType, putEntityType, putRelationType, putRelationType, putResourceType, putResourceType, putRole, putRole, putRuleType, putRuleType, shard, showImplicitConcepts, updateConceptCounts, validVertexpublic GraknOrientDBGraph(org.apache.tinkerpop.gremlin.orientdb.OrientGraph graph,
String name,
String engineUrl,
Properties properties)
public boolean isConceptModified(ai.grakn.graph.internal.ConceptImpl concept)
isConceptModified in class AbstractGraknGraph<org.apache.tinkerpop.gremlin.orientdb.OrientGraph>concept - A concept in the graphOrientElement which helps us to determine this.public int numOpenTx()
numOpenTx in class AbstractGraknGraph<org.apache.tinkerpop.gremlin.orientdb.OrientGraph>public boolean isSessionClosed()
isSessionClosed in class AbstractGraknGraph<org.apache.tinkerpop.gremlin.orientdb.OrientGraph>protected void commitTransactionInternal()
public org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<org.apache.tinkerpop.gremlin.structure.Vertex,org.apache.tinkerpop.gremlin.structure.Vertex> getTinkerTraversal()
GraknAdmingetTinkerTraversal in interface GraknAdmingetTinkerTraversal in class AbstractGraknGraph<org.apache.tinkerpop.gremlin.orientdb.OrientGraph>Copyright © 2017 Grakn Labs Ltd. All rights reserved.