public abstract class NeqProperty extends Object
!= property on a Concept.
This property can be queried. It asserts identity inequality between two concepts. Concepts may have shared
properties but still be distinct. For example, two instances of a type without any resources are still considered
unequal. Similarly, two resources with the same value but of different types are considered unequal.| Constructor and Description |
|---|
NeqProperty() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckInsertable, checkValid, define, from, insert, undefine, uniquelyIdentifiesConceptgetTypes, graqlString, implicitInnerVarPatterns, isUniquepublic static NeqProperty of(VarPatternAdmin var)
public abstract VarPatternAdmin var()
public String getName()
public String getProperty()
public Collection<EquivalentFragmentSet> match(Var start)
VarPropertyInternalEquivalentFragmentSet to match the given property in the graphmatch in interface VarPropertyInternalpublic java.util.stream.Stream<VarPatternAdmin> innerVarPatterns()
innerVarPatterns in interface VarPropertyinnerVarPatterns in interface VarPropertyInternalpublic Atomic mapToAtom(VarPatternAdmin var, Set<VarPatternAdmin> vars, ReasonerQuery parent)
mapToAtom in interface VarPropertypublic void buildString(StringBuilder builder)
buildString 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 PropertyExecutor define(Var var) throws GraqlQueryException
define in interface VarPropertyInternalGraqlQueryExceptionpublic PropertyExecutor undefine(Var var) throws GraqlQueryException
undefine in interface VarPropertyInternalGraqlQueryExceptionpublic 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.