public class HasAtom extends OntologicalAtom
TypeAtom corresponding to graql a HasAttributeTypeProperty property.
| Constructor and Description |
|---|
HasAtom(VarPattern pattern,
Var predicateVar,
IdPredicate p,
ReasonerQuery par) |
| Modifier and Type | Method and Description |
|---|---|
Atomic |
copy() |
Class<? extends VarProperty> |
getVarPropertyClass() |
Atom |
rewriteToUserDefined(Atom parentAtom)
rewrites the atom to one with suitably user-defined names depending on provided parent
|
Atom |
rewriteWithTypeVariable() |
Set<TypeAtom> |
unify(Unifier u) |
getApplicableRules, isSelectable, validateAsRuleHeadcomputePriority, equals, getSchemaConcept, hashCode, isRuleApplicableViaAtom, isType, requiresMaterialisationalphaEquivalenceHashCode, checkValid, createCombinedPattern, getInnerPredicates, getPredicateVariable, getTypeId, getTypePredicate, getUnifier, getVarNames, isAlphaEquivalent, isStructurallyEquivalent, setParentQuery, structuralEquivalenceHashCodeaddType, atomOptions, getIdPredicate, getInnerPredicates, getMultiUnifier, getNeighbours, getNonSelectableConstraints, getPartialSubstitutions, getPotentialRules, getPredicate, getPredicates, getPredicates, getRoleExpansionVariables, getSpecificTypeConstraints, getTypeConstraints, getVarProperties, inferTypes, inferTypes, isAtom, isGround, isRecursive, isRuleResolvable, materialise, requiresRoleExpansion, rewriteWithRelationVariable, rewriteWithTypeVariable, toRelationshipAtomcontainsVar, getCombinedPattern, getParentQuery, getPattern, getVarName, isUserDefined, toString, txclone, finalize, getClass, notify, notifyAll, wait, wait, waitisCompatibleWith, isRelation, isResource, validateOntologicallypublic HasAtom(VarPattern pattern, Var predicateVar, IdPredicate p, ReasonerQuery par)
public Class<? extends VarProperty> getVarPropertyClass()
getVarPropertyClass in class Atompublic Atomic copy()
copy in interface Atomiccopy in class AtomicBasepublic Atom rewriteWithTypeVariable()
rewriteWithTypeVariable in class Atompublic Atom rewriteToUserDefined(Atom parentAtom)
AtomrewriteToUserDefined in class AtomparentAtom - parent atom that triggers rewriteCopyright © 2018 Grakn Labs Ltd. All rights reserved.