| 程序包 | 说明 |
|---|---|
| org.apache.flink.table.factories | |
| org.apache.flink.table.sources | |
| org.apache.flink.table.utils |
| 限定符和类型 | 方法和说明 |
|---|---|
default TableSource<T> |
TableSourceFactory.createTableSource(Map<String,String> properties)
已过时。
TableSourceFactory.Context contains more information, and already contains table schema too.
Please use TableSourceFactory.createTableSource(Context) instead. |
default TableSource<T> |
TableSourceFactory.createTableSource(ObjectPath tablePath,
CatalogTable table)
已过时。
TableSourceFactory.Context contains more information, and already contains table schema too.
Please use TableSourceFactory.createTableSource(Context) instead. |
default TableSource<T> |
TableSourceFactory.createTableSource(TableSourceFactory.Context context)
Creates and configures a
TableSource based on the given
TableSourceFactory.Context. |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
LookupableTableSource<T>
A
TableSource which supports for lookup accessing via key column(s). |
| 限定符和类型 | 方法和说明 |
|---|---|
TableSource<T> |
LimitableTableSource.applyLimit(long limit)
Check and push down the limit to the table source.
|
TableSource |
PartitionableTableSource.applyPartitionPruning(List<Map<String,String>> remainingPartitions)
Applies the remaining partitions to the table source.
|
TableSource<T> |
FilterableTableSource.applyPredicate(List<Expression> predicates)
Check and pick all predicates this table source can support.
|
TableSource<T> |
ProjectableTableSource.projectFields(int[] fields)
Creates a copy of the
TableSource that projects its output to the given field indexes. |
TableSource<T> |
NestedFieldsProjectableTableSource.projectNestedFields(int[] fields,
String[][] nestedFields)
Creates a copy of the
TableSource that projects its output to the given field indexes. |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
TableSourceValidation.hasProctimeAttribute(TableSource<?> tableSource)
Checks if the given
TableSource defines a proctime attribute. |
static boolean |
TableSourceValidation.hasRowtimeAttribute(TableSource<?> tableSource)
Checks if the given
TableSource defines a rowtime attribute. |
static void |
TableSourceValidation.validateTableSource(TableSource<?> tableSource,
TableSchema schema)
Validates a TableSource.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static int[] |
TypeMappingUtils.computePhysicalIndicesOrTimeAttributeMarkers(TableSource<?> tableSource,
List<TableColumn> logicalColumns,
boolean streamMarkers,
java.util.function.Function<String,String> nameRemapping)
Computes indices of physical fields corresponding to the selected logical fields of a
TableSchema. |
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.