public interface VarPropertyInternal extends VarProperty
VarProperty, providing additional methods to match, insert or delete the property.| Modifier and Type | Method and Description |
|---|---|
default void |
checkInsertable(VarPatternAdmin var)
Check if the given property can be inserted
|
void |
checkValid(GraknGraph graph,
VarPatternAdmin var)
Check if the given property can be used in a match query
|
void |
delete(GraknGraph graph,
Concept concept)
Delete the given property from the graph, if possible.
|
default java.util.stream.Stream<VarPatternAdmin> |
getInnerVars()
Get a stream of any inner
VarPatternAdmin within this `VarProperty`. |
void |
insert(InsertQueryExecutor insertQueryExecutor,
Concept concept)
Insert the given property into the graph, if possible.
|
Collection<EquivalentFragmentSet> |
match(Var start)
Return a collection of
EquivalentFragmentSet to match the given property in the graph |
buildString, getImplicitInnerVars, getTypes, graqlString, isUnique, mapToAtomvoid checkValid(GraknGraph graph, VarPatternAdmin var) throws GraqlQueryException
GraqlQueryExceptiondefault void checkInsertable(VarPatternAdmin var) throws GraqlQueryException
GraqlQueryExceptionCollection<EquivalentFragmentSet> match(Var start)
EquivalentFragmentSet to match the given property in the graphvoid insert(InsertQueryExecutor insertQueryExecutor, Concept concept) throws GraqlQueryException
insertQueryExecutor - the instance handling the insert queryconcept - the concept to insert a property onGraqlQueryExceptionvoid delete(GraknGraph graph, Concept concept) throws GraqlQueryException
graph - the graph to operate onconcept - the concept to delete properties ofGraqlQueryExceptiondefault java.util.stream.Stream<VarPatternAdmin> getInnerVars()
VarPropertyVarPatternAdmin within this `VarProperty`.getInnerVars in interface VarPropertyCopyright © 2017 Grakn Labs Ltd. All rights reserved.