public abstract class MultiPredicateBinary extends BinaryBase
Base implementation for binary atoms with multiple predicate.
atomPattern, varName| Modifier | Constructor and Description |
|---|---|
protected |
MultiPredicateBinary(MultiPredicateBinary a) |
protected |
MultiPredicateBinary(VarAdmin pattern,
Set<Predicate> preds,
Query par) |
| Modifier and Type | Method and Description |
|---|---|
int |
equivalenceHashCode() |
protected abstract ConceptId |
extractTypeId(VarAdmin var) |
PatternAdmin |
getCombinedPattern() |
Set<Predicate> |
getMultiPredicate() |
boolean |
isValueUserDefinedName() |
protected boolean |
predicatesEquivalent(BinaryBase at) |
void |
setParentQuery(Query q) |
void |
unify(Map<VarName,VarName> unifiers)
perform unification on the atom by applying unifiers
|
equals, extractValueVariableName, getIdPredicates, getLinkedAtoms, getPredicates, getSelectedNames, getUnifiers, getValuePredicates, getValueVariable, getVarNames, hashCode, isBinary, isEquivalent, isRuleApplicable, requiresMaterialisation, setValueVariablegetApplicableRules, getRoleVarTypeMap, getType, getTypeConstraints, getTypeId, getVarTypeRoleMap, inferTypes, isAtom, isRecursive, isRelation, isResource, isRuleResolvable, isType, rewriteclone, containsVar, getParentQuery, getPattern, getVarName, isUserDefinedName, resetNames, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitisPredicate, isSelectableprotected MultiPredicateBinary(VarAdmin pattern, Set<Predicate> preds, Query par)
protected MultiPredicateBinary(MultiPredicateBinary a)
public void setParentQuery(Query q)
setParentQuery in interface AtomicsetParentQuery in class AtomBaseq - query this atom is supposed to belong topublic PatternAdmin getCombinedPattern()
getCombinedPattern in interface AtomicgetCombinedPattern in class AtomBaseprotected boolean predicatesEquivalent(BinaryBase at)
predicatesEquivalent in class BinaryBasepublic int equivalenceHashCode()
public boolean isValueUserDefinedName()
isValueUserDefinedName in class AtomBaseCopyright © 2017 Grakn Labs Ltd. All rights reserved.