Class SimplePredicate<T>
java.lang.Object
org.apache.drill.metastore.expressions.SimplePredicate<T>
- Type Parameters:
T
- predicate value type
- All Implemented Interfaces:
FilterExpression
- Direct Known Subclasses:
SimplePredicate.Equal
,SimplePredicate.GreaterThan
,SimplePredicate.GreaterThanOrEqual
,SimplePredicate.LessThan
,SimplePredicate.LessThanOrEqual
,SimplePredicate.NotEqual
Indicates simple predicate implementations which have column and one value.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
IndicatesFilterExpression.Operator.EQUAL
operator expression: storagePlugin = 'dfs'.static class
IndicatesFilterExpression.Operator.GREATER_THAN
operator expression: index > 1.static class
IndicatesFilterExpression.Operator.GREATER_THAN_OR_EQUAL
operator expression: index >= 1.static class
IndicatesFilterExpression.Operator.LESS_THAN
operator expression: index < 1.static class
IndicatesFilterExpression.Operator.LESS_THAN_OR_EQUAL
operator expression: index <= 1.static class
IndicatesFilterExpression.Operator.NOT_EQUAL
operator expression: storagePlugin != 'dfs'.Nested classes/interfaces inherited from interface org.apache.drill.metastore.expressions.FilterExpression
FilterExpression.Operator, FilterExpression.Visitor<T>
-
Constructor Summary
ModifierConstructorDescriptionprotected
SimplePredicate
(MetastoreColumn column, FilterExpression.Operator operator, T value) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.drill.metastore.expressions.FilterExpression
accept
-
Constructor Details
-
SimplePredicate
-
-
Method Details
-
column
-
value
-
operator
- Specified by:
operator
in interfaceFilterExpression
-
toString
-