public class FileSystemTableSource extends Object implements org.apache.flink.table.connector.source.ScanTableSource, org.apache.flink.table.connector.source.abilities.SupportsProjectionPushDown, org.apache.flink.table.connector.source.abilities.SupportsLimitPushDown, org.apache.flink.table.connector.source.abilities.SupportsPartitionPushDown, org.apache.flink.table.connector.source.abilities.SupportsFilterPushDown
org.apache.flink.table.connector.source.ScanTableSource.ScanContext, org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvider| Constructor and Description |
|---|
FileSystemTableSource(org.apache.flink.table.factories.DynamicTableFactory.Context context,
org.apache.flink.table.connector.format.DecodingFormat<org.apache.flink.connector.file.src.reader.BulkFormat<org.apache.flink.table.data.RowData,org.apache.flink.connector.file.src.FileSourceSplit>> bulkReaderFormat,
org.apache.flink.table.connector.format.DecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>> deserializationFormat,
org.apache.flink.table.factories.FileSystemFormatFactory formatFactory) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.table.connector.source.abilities.SupportsFilterPushDown.Result |
applyFilters(List<org.apache.flink.table.expressions.ResolvedExpression> filters) |
void |
applyLimit(long limit) |
void |
applyPartitions(List<Map<String,String>> remainingPartitions) |
void |
applyProjection(int[][] projectedFields) |
String |
asSummaryString() |
FileSystemTableSource |
copy() |
org.apache.flink.table.connector.ChangelogMode |
getChangelogMode() |
org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvider |
getScanRuntimeProvider(org.apache.flink.table.connector.source.ScanTableSource.ScanContext scanContext) |
Optional<List<Map<String,String>>> |
listPartitions() |
boolean |
supportsNestedProjection() |
public FileSystemTableSource(org.apache.flink.table.factories.DynamicTableFactory.Context context,
@Nullable
org.apache.flink.table.connector.format.DecodingFormat<org.apache.flink.connector.file.src.reader.BulkFormat<org.apache.flink.table.data.RowData,org.apache.flink.connector.file.src.FileSourceSplit>> bulkReaderFormat,
@Nullable
org.apache.flink.table.connector.format.DecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>> deserializationFormat,
@Nullable
org.apache.flink.table.factories.FileSystemFormatFactory formatFactory)
public org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvider getScanRuntimeProvider(org.apache.flink.table.connector.source.ScanTableSource.ScanContext scanContext)
getScanRuntimeProvider in interface org.apache.flink.table.connector.source.ScanTableSourcepublic org.apache.flink.table.connector.ChangelogMode getChangelogMode()
getChangelogMode in interface org.apache.flink.table.connector.source.ScanTableSourcepublic org.apache.flink.table.connector.source.abilities.SupportsFilterPushDown.Result applyFilters(List<org.apache.flink.table.expressions.ResolvedExpression> filters)
applyFilters in interface org.apache.flink.table.connector.source.abilities.SupportsFilterPushDownpublic void applyLimit(long limit)
applyLimit in interface org.apache.flink.table.connector.source.abilities.SupportsLimitPushDownpublic Optional<List<Map<String,String>>> listPartitions()
listPartitions in interface org.apache.flink.table.connector.source.abilities.SupportsPartitionPushDownpublic void applyPartitions(List<Map<String,String>> remainingPartitions)
applyPartitions in interface org.apache.flink.table.connector.source.abilities.SupportsPartitionPushDownpublic boolean supportsNestedProjection()
supportsNestedProjection in interface org.apache.flink.table.connector.source.abilities.SupportsProjectionPushDownpublic void applyProjection(int[][] projectedFields)
applyProjection in interface org.apache.flink.table.connector.source.abilities.SupportsProjectionPushDownpublic FileSystemTableSource copy()
copy in interface org.apache.flink.table.connector.source.DynamicTableSourcepublic String asSummaryString()
asSummaryString in interface org.apache.flink.table.connector.source.DynamicTableSourceCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.