public class GraknTinkerGraph extends AbstractGraknGraph<org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph>
A Grakn Graph using TinkerGraph as a vendor backend.
Wraps up a TinkerGraph as a method of storing the Grakn Graph object Model.
With this vendor some exceptions are in place:
1. Transactions do not exists and all threads work on the same graph at the same time.
2. The rollback() operation is unsupported due to Tinkerpop Transactions not being supported.
LOG| Constructor and Description |
|---|
GraknTinkerGraph(org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph tinkerGraph,
String name,
String engineUrl,
boolean batchLoading) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Concept> |
getConceptByBaseIdentifier(Object baseIdentifier) |
boolean |
isConceptModified(ai.grakn.graph.internal.ConceptImpl concept) |
void |
rollback()
Resets the current transaction without committing.
|
admin, buildConcept, clear, clearGraph, close, closeGraph, closePermanent, commit, commit, commit, commitNoLogs, commitTransaction, finaliseClose, fixDuplicateCastings, fixDuplicateResources, getConcept, getConcept, getEntityType, getKeyspace, getMetaConcept, getMetaEntityType, getMetaRelationType, getMetaResourceType, getMetaRoleType, getMetaRuleConstraint, getMetaRuleInference, getMetaRuleType, getRelation, getRelationType, getResourcesByValue, getResourceType, getRoleType, getRuleType, getTinkerPopGraph, getTinkerTraversal, getType, graql, hasCommitted, implicitConceptsVisible, initialiseMetaConcepts, isBatchLoadingEnabled, isClosed, open, putEntityType, putEntityType, putRelationType, putRelationType, putResourceType, putResourceType, putResourceTypeUnique, putResourceTypeUnique, putRoleType, putRoleType, putRuleType, putRuleType, showImplicitConcepts, validVertexpublic boolean isConceptModified(ai.grakn.graph.internal.ConceptImpl concept)
isConceptModified in class AbstractGraknGraph<org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph>concept - A concept in the graphTinkerVertex has been modified or not.public <T extends Concept> T getConceptByBaseIdentifier(Object baseIdentifier)
getConceptByBaseIdentifier in class AbstractGraknGraph<org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph>public void rollback()
GraknGraphrollback in interface GraknGraphrollback in class AbstractGraknGraph<org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph>Copyright © 2017 Grakn Labs Ltd. All rights reserved.