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() |
boolean |
isConceptModified(Concept concept) |
boolean |
isSessionClosed() |
int |
numOpenTx() |
abort, admin, buildConcept, buildConcept, clearGraph, close, closeSession, commit, commitNoLogs, convertToId, delete, duplicateResourcesExist, fixDuplicateResources, getConcept, getConcept, getEngineUrl, getEntityType, getKeyspace, getMetaConcept, getMetaEntityType, getMetaRelationType, getMetaResourceType, getMetaRole, getMetaRuleConstraint, getMetaRuleInference, getMetaRuleType, getOntologyConcept, getRelationType, getResourcesByValue, getResourceType, getRole, getRuleType, getTinkerPopGraph, getTinkerTraversal, getType, graql, isBatchGraph, isClosed, isReadOnly, openTransaction, putEntityType, putEntityType, putRelationType, putRelationType, putResourceType, putResourceType, putRole, putRole, putRuleType, putRuleType, shard, updateConceptCounts, validVertexpublic GraknOrientDBGraph(org.apache.tinkerpop.gremlin.orientdb.OrientGraph graph,
String name,
String engineUrl,
Properties properties)
public boolean isConceptModified(Concept 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()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.