public class ExpressionPredicates extends Object
ResolvedExpressions.| Modifier and Type | Class and Description |
|---|---|
static class |
ExpressionPredicates.AlwaysNull
A special predicate which is not possible to match any condition.
|
static class |
ExpressionPredicates.And
An AND predicate that can be evaluated by the FileInputFormat.
|
static class |
ExpressionPredicates.ColumnPredicate
Column predicate which depends on the given field.
|
static class |
ExpressionPredicates.Equals
An EQUALS predicate that can be evaluated by the FileInputFormat.
|
static class |
ExpressionPredicates.GreaterThan
A GREATER_THAN predicate that can be evaluated by the FileInputFormat.
|
static class |
ExpressionPredicates.GreaterThanOrEqual
A GREATER_THAN_OR_EQUAL predicate that can be evaluated by the FileInputFormat.
|
static class |
ExpressionPredicates.In
An IN predicate that can be evaluated by the FileInputFormat.
|
static class |
ExpressionPredicates.LessThan
A LESS_THAN predicate that can be evaluated by the FileInputFormat.
|
static class |
ExpressionPredicates.LessThanOrEqual
A LESS_THAN_OR_EQUAL predicate that can be evaluated by the FileInputFormat.
|
static class |
ExpressionPredicates.Not
A NOT predicate to negate a predicate that can be evaluated by the FileInputFormat.
|
static class |
ExpressionPredicates.NotEquals
A NOT_EQUALS predicate that can be evaluated by the FileInputFormat.
|
static class |
ExpressionPredicates.Or
An OR predicate that can be evaluated by the FileInputFormat.
|
static interface |
ExpressionPredicates.Predicate
A filter predicate that can be evaluated by the FileInputFormat.
|
| Constructor and Description |
|---|
ExpressionPredicates() |
| Modifier and Type | Method and Description |
|---|---|
static ExpressionPredicates.Predicate |
fromExpression(org.apache.flink.table.expressions.CallExpression callExpression)
Converts specific call expression to the predicate.
|
static List<ExpressionPredicates.Predicate> |
fromExpression(List<org.apache.flink.table.expressions.ResolvedExpression> resolvedExpressions)
Converts specific call expression list to the predicate list.
|
public static List<ExpressionPredicates.Predicate> fromExpression(List<org.apache.flink.table.expressions.ResolvedExpression> resolvedExpressions)
resolvedExpressions - The resolved expressions to convert.public static ExpressionPredicates.Predicate fromExpression(org.apache.flink.table.expressions.CallExpression callExpression)
Two steps to bind the call: 1. map the predicate instance; 2. bind the field reference;
Normalize the expression to simplify the subsequent decision logic: always put the literal expression in the RHS.
callExpression - The call expression to convert.Copyright © 2023 The Apache Software Foundation. All rights reserved.