public final class WildPatternPredicate<T> extends OperatorPredicate<T>
May only be used when nested immediately within a
VariablePredicate
. Within the QueryRewriter this predicate matches
any other operator whose name matches this predicate's operator name.
QueryRewriter
Constructor and Description |
---|
WildPatternPredicate(String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
getCost() |
int |
hashCode() |
boolean |
match(T object)
Does this predicate match this object?
|
String |
toString() |
copy, getOperator, getValue
and, and, any, getChild, getChildCount, getChildren, not, or, or
public WildPatternPredicate(String name)
public boolean match(T object)
Predicate
public int getCost()
public int hashCode()
hashCode
in class OperatorPredicate<T>
public boolean equals(Object other)
equals
in class OperatorPredicate<T>
public String toString()
toString
in class OperatorPredicate<T>