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 boolean
isNullOrEmpty
(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, i
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceIterable<C extends Comparable<C>>
-
accept
- Specified by:
accept
in interfaceLogicalExpression
- Throws:
E extends Exception
-
matches
Apply the filter condition against the meta of the rowgroup.- Specified by:
matches
in 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)
-