| 程序包 | 说明 |
|---|---|
| org.apache.flink.table.catalog | |
| org.apache.flink.table.expressions | |
| org.apache.flink.table.factories | |
| org.apache.flink.table.sources |
| 限定符和类型 | 方法和说明 |
|---|---|
List<CatalogPartitionSpec> |
Catalog.listPartitionsByFilter(ObjectPath tablePath,
List<Expression> filters)
Get CatalogPartitionSpec of partitions by expression filters in the table.
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ResolvedExpression
Expression that has been fully resolved and validated.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
CallExpression
Resolved and validated call expression for calling a function.
|
class |
FieldReferenceExpression
A reference to a field in an input.
|
class |
TypeLiteralExpression
Expression that wraps
DataType as a literal. |
class |
ValueLiteralExpression
Expression for constant literal values.
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<Expression> |
CallExpression.getChildren() |
List<Expression> |
ValueLiteralExpression.getChildren() |
List<Expression> |
FieldReferenceExpression.getChildren() |
List<Expression> |
Expression.getChildren() |
List<Expression> |
TypeLiteralExpression.getChildren() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract T |
ExpressionDefaultVisitor.defaultMethod(Expression expression) |
static <V> Optional<V> |
ExpressionUtils.extractValue(Expression expression,
Class<V> targetClass)
Extracts the value (excluding null) of a given class from an expression assuming it is a
ValueLiteralExpression. |
R |
ExpressionVisitor.visit(Expression other) |
T |
ExpressionDefaultVisitor.visit(Expression other) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Expression> |
FileSystemFormatFactory.ReaderContext.getPushedDownFilters()
Pushed down filters, reader can try its best to filter records.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Expression |
FieldComputer.getExpression(ResolvedFieldReference[] fieldAccesses)
Returns the
Expression that computes the value of the field. |
| 限定符和类型 | 方法和说明 |
|---|---|
TableSource<T> |
FilterableTableSource.applyPredicate(List<Expression> predicates)
Check and pick all predicates this table source can support.
|
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.