public class ConceptLog extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
clearTransaction()
Removes all the concepts from the transaction tracker
|
ai.grakn.graph.internal.RelationImpl |
getCachedRelation(String index)
Gets a cached relation by index.
|
Set<String> |
getModifiedCastingIds() |
Set<ai.grakn.graph.internal.ConceptImpl> |
getModifiedConcepts() |
Set<String> |
getModifiedResourceIds() |
void |
putConcept(ai.grakn.graph.internal.ConceptImpl concept) |
void |
removeConcept(ai.grakn.graph.internal.ConceptImpl c) |
public void clearTransaction()
public void putConcept(ai.grakn.graph.internal.ConceptImpl concept)
concept - The concept to be later validatedpublic Set<ai.grakn.graph.internal.ConceptImpl> getModifiedConcepts()
public Set<String> getModifiedCastingIds()
public Set<String> getModifiedResourceIds()
public void removeConcept(ai.grakn.graph.internal.ConceptImpl c)
c - The concept to nio longer trackpublic ai.grakn.graph.internal.RelationImpl getCachedRelation(String index)
index - Copyright © 2016 Grakn Labs Ltd. All rights reserved.