public class Resource extends MultiPredicateBinary
Atom implementation defining a resource atom.
atomPattern, varName| Constructor and Description |
|---|
Resource(VarAdmin pattern,
Query par) |
Resource(VarAdmin pattern,
Set<Predicate> p,
Query par) |
| Modifier and Type | Method and Description |
|---|---|
Atomic |
clone() |
protected ConceptId |
extractTypeId(VarAdmin var) |
protected VarName |
extractValueVariableName(VarAdmin var) |
Set<VarName> |
getSelectedNames() |
Set<Predicate> |
getValuePredicates() |
boolean |
isResource() |
protected boolean |
isRuleApplicable(InferenceRule child) |
boolean |
isSelectable() |
boolean |
requiresMaterialisation() |
protected void |
setValueVariable(VarName var) |
equivalenceHashCode, getCombinedPattern, getMultiPredicate, isValueUserDefinedName, predicatesEquivalent, setParentQuery, unifyequals, getIdPredicates, getLinkedAtoms, getPredicates, getUnifiers, getValueVariable, getVarNames, hashCode, isBinary, isEquivalentgetApplicableRules, getRoleVarTypeMap, getType, getTypeConstraints, getTypeId, getVarTypeRoleMap, inferTypes, isAtom, isRecursive, isRelation, isRuleResolvable, isType, rewritecontainsVar, getParentQuery, getPattern, getVarName, isUserDefinedName, resetNames, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitisPredicateprotected boolean isRuleApplicable(InferenceRule child)
isRuleApplicable in class BinaryBaseprotected ConceptId extractTypeId(VarAdmin var)
extractTypeId in class MultiPredicateBinaryprotected VarName extractValueVariableName(VarAdmin var)
extractValueVariableName in class BinaryBaseprotected void setValueVariable(VarName var)
setValueVariable in class BinaryBasepublic Atomic clone()
public boolean isResource()
isResource in class Atompublic boolean isSelectable()
public boolean requiresMaterialisation()
requiresMaterialisation in class BinaryBasepublic Set<Predicate> getValuePredicates()
getValuePredicates in class BinaryBasepublic Set<VarName> getSelectedNames()
getSelectedNames in class BinaryBaseCopyright © 2017 Grakn Labs Ltd. All rights reserved.