public class IsAbstractProperty extends Object implements UniqueVarProperty
is-abstract property on a Type.
This property can be matched or inserted.
This property states that a type cannot have direct instances.| Modifier and Type | Method and Description |
|---|---|
void |
buildString(StringBuilder builder) |
void |
checkValid(GraknTx graph,
VarPatternAdmin var)
Check if the given property can be used in a
Match |
PropertyExecutor |
define(Var var) |
static IsAbstractProperty |
get() |
java.util.stream.Stream<VarPatternAdmin> |
getTypes() |
java.util.stream.Stream<VarPatternAdmin> |
implicitInnerVarPatterns() |
PropertyExecutor |
insert(Var var)
Returns a
PropertyExecutor that describes how to insert the given VarProperty into. |
Atomic |
mapToAtom(VarPatternAdmin var,
Set<VarPatternAdmin> vars,
ReasonerQuery parent) |
Collection<EquivalentFragmentSet> |
match(Var start)
Return a collection of
EquivalentFragmentSet to match the given property in the graph |
String |
toString() |
PropertyExecutor |
undefine(Var var) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisUniquegetTypes, graqlString, implicitInnerVarPatterns, innerVarPatternscheckInsertable, from, innerVarPatterns, uniquelyIdentifiesConceptpublic static final String NAME
public static IsAbstractProperty get()
public void buildString(StringBuilder builder)
buildString in interface VarPropertypublic Collection<EquivalentFragmentSet> match(Var start)
VarPropertyInternalEquivalentFragmentSet to match the given property in the graphmatch in interface VarPropertyInternalpublic PropertyExecutor define(Var var) throws GraqlQueryException
define in interface VarPropertyInternalGraqlQueryExceptionpublic PropertyExecutor undefine(Var var) throws GraqlQueryException
undefine in interface VarPropertyInternalGraqlQueryExceptionpublic Atomic mapToAtom(VarPatternAdmin var, Set<VarPatternAdmin> vars, ReasonerQuery parent)
mapToAtom in interface VarPropertypublic final void checkValid(GraknTx graph, VarPatternAdmin var) throws GraqlQueryException
VarPropertyInternalMatchcheckValid in interface VarPropertyInternalGraqlQueryExceptionpublic PropertyExecutor insert(Var var) throws GraqlQueryException
VarPropertyInternalPropertyExecutor that describes how to insert the given VarProperty into.insert in interface VarPropertyInternalGraqlQueryException - if this VarProperty cannot be insertedpublic java.util.stream.Stream<VarPatternAdmin> getTypes()
getTypes in interface VarPropertypublic java.util.stream.Stream<VarPatternAdmin> implicitInnerVarPatterns()
implicitInnerVarPatterns in interface VarPropertyCopyright © 2017 Grakn Labs Ltd. All rights reserved.