public class GraknTxTinker extends EmbeddedGraknTx<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(EmbeddedGraknSession session,
org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph tinkerGraph) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
commit()
Commits and closes the transaction without returning CommitLog
|
boolean |
isTinkerPopGraphClosed() |
int |
numOpenTx() |
addVertexElement, admin, buildConcept, buildConcept, checkMutationAllowed, checkSchemaMutationAllowed, clearGraph, close, closeSession, commitAndGetLogs, convertToId, duplicateResourcesExist, factory, fixDuplicateResources, getAttributesByValue, getAttributeType, getConcept, getConcept, getEntityType, getRelationshipType, getRole, getRule, getSchemaConcept, getSchemaConcept, getShardCount, getTinkerPopGraph, getTinkerTraversal, getType, graql, isBatchTx, isClosed, isValidElement, openTransaction, putAttributeType, putEntityType, putRelationshipType, putRelationTypeImplicit, putRole, putRoleTypeImplicit, putRule, queryExecutor, ruleCache, session, shard, shardingThreshold, sups, txCache, txTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetaAttributeType, getMetaConcept, getMetaEntityType, getMetaRelationType, getMetaRole, getMetaRulekeyspace, putAttributeType, putEntityType, putRelationshipType, putRole, putRulepublic GraknTxTinker(EmbeddedGraknSession session, org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph tinkerGraph)
public int numOpenTx()
numOpenTx in class EmbeddedGraknTx<org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph>public boolean isTinkerPopGraphClosed()
isTinkerPopGraphClosed in class EmbeddedGraknTx<org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph>public void commit()
EmbeddedGraknTxcommit in interface GraknTxcommit in class EmbeddedGraknTx<org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph>public void abort()
Copyright © 2018 Grakn Labs Ltd. All rights reserved.