| Modifier and Type | Field and Description |
|---|---|
static java.util.function.BiFunction<Map<VarName,Concept>,NotEquals,java.util.stream.Stream<Map<VarName,Concept>>> |
notEqualsFunction |
atomPattern, varName| Constructor and Description |
|---|
NotEquals(NotEquals a) |
NotEquals(VarName varName,
NeqProperty prop,
Query parent) |
| Modifier and Type | Method and Description |
|---|---|
Atomic |
clone() |
boolean |
equals(Object obj) |
int |
equivalenceHashCode() |
QueryAnswers |
filter(QueryAnswers answers)
apply the not equals filter to answer set
|
java.util.stream.Stream<Map<VarName,Concept>> |
filter(java.util.stream.Stream<Map<VarName,Concept>> answers)
apply the not equals filter to answer stream
|
VarName |
getReferenceVarName() |
int |
hashCode() |
boolean |
isEquivalent(Object obj) |
static boolean |
notEqualsOperator(Map<VarName,Concept> answer,
NotEquals atom) |
void |
unify(Map<VarName,VarName> unifiers)
perform unification on the atom by applying unifiers
|
containsVar, getCombinedPattern, getParentQuery, getPattern, getSelectedNames, getUnifiers, getVarName, getVarNames, isUserDefinedName, isValueUserDefinedName, resetNames, setParentQuery, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitisAtom, isPredicate, isRecursive, isRuleResolvable, isSelectablepublic static java.util.function.BiFunction<Map<VarName,Concept>,NotEquals,java.util.stream.Stream<Map<VarName,Concept>>> notEqualsFunction
public NotEquals(VarName varName, NeqProperty prop, Query parent)
public NotEquals(NotEquals a)
public boolean isEquivalent(Object obj)
public int equivalenceHashCode()
public Atomic clone()
public void unify(Map<VarName,VarName> unifiers)
AtomBasepublic VarName getReferenceVarName()
public static boolean notEqualsOperator(Map<VarName,Concept> answer, NotEquals atom)
public QueryAnswers filter(QueryAnswers answers)
answers - the filter should be applied topublic java.util.stream.Stream<Map<VarName,Concept>> filter(java.util.stream.Stream<Map<VarName,Concept>> answers)
answers - the filter should be applied toCopyright © 2017 Grakn Labs Ltd. All rights reserved.