public abstract class TypeAtom extends Binary
Atom implementation defining type atoms of the general form:
{isa|sub|plays|relates|has}($varName, $predicateVariable)
Type atoms correspond to the following respective graql properties:
IsaProperty,
SubProperty,
PlaysProperty
RelatesProperty
HasAttributeTypeProperty
applicableRules| Constructor and Description |
|---|
TypeAtom() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRuleApplicableViaAtom(Atom ruleAtom) |
boolean |
isSelectable() |
boolean |
isType() |
boolean |
isUnifiableWith(Atom atom) |
boolean |
requiresMaterialisation() |
abstract Set<TypeAtom> |
unify(Unifier u) |
alphaEquivalenceHashCode, checkValid, createCombinedPattern, getInnerPredicates, getPredicateVariable, getSchemaConcept, getTypeId, getTypePredicate, getUnifier, getVarNames, isAlphaEquivalent, isDirect, isStructurallyEquivalent, structuralEquivalenceHashCodeaddType, atomOptions, getApplicableRules, getInnerPredicates, getMultiUnifier, getNeighbours, getNonSelectableConstraints, getPartialSubstitutions, getPossibleTypes, getPotentialRules, getRoleExpansionVariables, getTypeConstraints, getVarProperties, getVarPropertyClass, inferTypes, inferTypes, isAtom, isBounded, isDisconnected, isGround, isRecursive, isRuleResolvable, materialise, requiresDecomposition, requiresRoleExpansion, requiresSchema, rewriteToAtoms, rewriteToUserDefined, rewriteWithRelationVariable, rewriteWithTypeVariable, rewriteWithTypeVariable, toIsaAtom, toRelationshipAtom, validateAsRuleHeadgetCombinedPattern, getIdPredicate, getPredicate, getPredicates, getPredicates, isUserDefined, toString, txclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopy, getParentQuery, getPattern, getVarName, isCompatibleWith, isRelation, isResource, validateOntologicallypublic boolean isType()
public boolean isUnifiableWith(Atom atom)
isUnifiableWith in class Atompublic boolean isRuleApplicableViaAtom(Atom ruleAtom)
isRuleApplicableViaAtom in class Atompublic boolean isSelectable()
public boolean requiresMaterialisation()
requiresMaterialisation in class AtomCopyright © 2018 Grakn Labs Ltd. All rights reserved.