Package org.apache.drill.exec.expr
Class IsPredicate<C extends Comparable<C>>
java.lang.Object
org.apache.drill.common.expression.LogicalExpressionBase
org.apache.drill.exec.expr.IsPredicate<C>
- All Implemented Interfaces:
Iterable<LogicalExpression>,LogicalExpression,FilterPredicate<C>
public class IsPredicate<C extends Comparable<C>>
extends LogicalExpressionBase
implements FilterPredicate<C>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.drill.common.expression.LogicalExpression
LogicalExpression.De, LogicalExpression.Se -
Method Summary
Modifier and TypeMethodDescription<T,V, E extends Exception>
Taccept(ExprVisitor<T, V, E> visitor, V value) static <C extends Comparable<C>>
LogicalExpressioncreateIsPredicate(String function, LogicalExpression expr) static booleanisNullOrEmpty(ColumnStatistics<?> stat) iterator()matches(StatisticsProvider<C> evaluator) Apply the filter condition against the meta of the rowgroup.Methods inherited from class org.apache.drill.common.expression.LogicalExpressionBase
getCumulativeCost, getDescription, getMajorType, getPosition, getSelfCost, iMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
iterator
- Specified by:
iteratorin interfaceIterable<C extends Comparable<C>>
-
accept
- Specified by:
acceptin interfaceLogicalExpression- Throws:
E
-
matches
Apply the filter condition against the meta of the rowgroup.- Specified by:
matchesin interfaceFilterPredicate<C extends Comparable<C>>
-
isNullOrEmpty
- Parameters:
stat- statistics object- Returns:
- true if the input stat object is null or has invalid statistics; false otherwise
-
createIsPredicate
public static <C extends Comparable<C>> LogicalExpression createIsPredicate(String function, LogicalExpression expr)
-