public class GraknTxTinker extends GraknTxAbstract<org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph>
A GraknTx using TinkerGraph as a vendor backend.
Wraps up a TinkerGraph as a method of storing the GraknTx 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.
| Constructor and Description |
|---|
GraknTxTinker(GraknSession session,
org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph tinkerGraph) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
commit() |
boolean |
isSessionClosed() |
int |
numOpenTx() |
addVertexElement, admin, buildConcept, buildConcept, checkMutationAllowed, checkSchemaMutationAllowed, clearGraph, close, closeSession, commitSubmitNoLogs, convertToId, delete, duplicateResourcesExist, factory, fixDuplicateResources, getAttributesByValue, getAttributeType, getConcept, getConcept, getEntityType, getMetaAttributeType, getMetaConcept, getMetaEntityType, getMetaRelationType, getMetaRole, getMetaRule, getRelationshipType, getRole, getRule, getSchemaConcept, getSchemaConcept, getShardCount, getTinkerPopGraph, getTinkerTraversal, getType, graql, isBatchTx, isClosed, isValidElement, keyspace, openTransaction, putAttributeType, putAttributeType, putEntityType, putEntityType, putRelationshipType, putRelationshipType, putRelationTypeImplicit, putRole, putRole, putRoleTypeImplicit, putRule, putRule, session, shard, shardingThreshold, sups, txCache, txTypepublic GraknTxTinker(GraknSession session, org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph tinkerGraph)
public int numOpenTx()
numOpenTx in class GraknTxAbstract<org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph>public boolean isSessionClosed()
isSessionClosed in class GraknTxAbstract<org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph>public void commit()
commit in interface GraknTxcommit in class GraknTxAbstract<org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph>public void abort()
abort in interface GraknTxabort in class GraknTxAbstract<org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph>Copyright © 2018 Grakn Labs Ltd. All rights reserved.