Package org.apache.iceberg.flink.source
Class IcebergTableSource
- java.lang.Object
-
- org.apache.iceberg.flink.source.IcebergTableSource
-
- All Implemented Interfaces:
org.apache.flink.table.connector.source.abilities.SupportsFilterPushDown,org.apache.flink.table.connector.source.abilities.SupportsLimitPushDown,org.apache.flink.table.connector.source.abilities.SupportsProjectionPushDown,org.apache.flink.table.connector.source.DynamicTableSource,org.apache.flink.table.connector.source.ScanTableSource
@Internal public class IcebergTableSource extends java.lang.Object implements org.apache.flink.table.connector.source.ScanTableSource, org.apache.flink.table.connector.source.abilities.SupportsProjectionPushDown, org.apache.flink.table.connector.source.abilities.SupportsFilterPushDown, org.apache.flink.table.connector.source.abilities.SupportsLimitPushDownFlink Iceberg table source.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.table.connector.source.DynamicTableSource
org.apache.flink.table.connector.source.DynamicTableSource.Context, org.apache.flink.table.connector.source.DynamicTableSource.DataStructureConverter
-
-
Constructor Summary
Constructors Constructor Description IcebergTableSource(TableLoader loader, org.apache.flink.table.api.TableSchema schema, java.util.Map<java.lang.String,java.lang.String> properties, org.apache.flink.configuration.ReadableConfig readableConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.table.connector.source.abilities.SupportsFilterPushDown.ResultapplyFilters(java.util.List<org.apache.flink.table.expressions.ResolvedExpression> flinkFilters)voidapplyLimit(long newLimit)voidapplyProjection(int[][] projectFields)java.lang.StringasSummaryString()org.apache.flink.table.connector.source.DynamicTableSourcecopy()org.apache.flink.table.connector.ChangelogModegetChangelogMode()org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvidergetScanRuntimeProvider(org.apache.flink.table.connector.source.ScanTableSource.ScanContext runtimeProviderContext)booleansupportsNestedProjection()
-
-
-
Constructor Detail
-
IcebergTableSource
public IcebergTableSource(TableLoader loader, org.apache.flink.table.api.TableSchema schema, java.util.Map<java.lang.String,java.lang.String> properties, org.apache.flink.configuration.ReadableConfig readableConfig)
-
-
Method Detail
-
applyProjection
public void applyProjection(int[][] projectFields)
- Specified by:
applyProjectionin interfaceorg.apache.flink.table.connector.source.abilities.SupportsProjectionPushDown
-
applyLimit
public void applyLimit(long newLimit)
- Specified by:
applyLimitin interfaceorg.apache.flink.table.connector.source.abilities.SupportsLimitPushDown
-
applyFilters
public org.apache.flink.table.connector.source.abilities.SupportsFilterPushDown.Result applyFilters(java.util.List<org.apache.flink.table.expressions.ResolvedExpression> flinkFilters)
- Specified by:
applyFiltersin interfaceorg.apache.flink.table.connector.source.abilities.SupportsFilterPushDown
-
supportsNestedProjection
public boolean supportsNestedProjection()
- Specified by:
supportsNestedProjectionin interfaceorg.apache.flink.table.connector.source.abilities.SupportsProjectionPushDown
-
getChangelogMode
public org.apache.flink.table.connector.ChangelogMode getChangelogMode()
- Specified by:
getChangelogModein interfaceorg.apache.flink.table.connector.source.ScanTableSource
-
getScanRuntimeProvider
public org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvider getScanRuntimeProvider(org.apache.flink.table.connector.source.ScanTableSource.ScanContext runtimeProviderContext)
- Specified by:
getScanRuntimeProviderin interfaceorg.apache.flink.table.connector.source.ScanTableSource
-
copy
public org.apache.flink.table.connector.source.DynamicTableSource copy()
- Specified by:
copyin interfaceorg.apache.flink.table.connector.source.DynamicTableSource
-
asSummaryString
public java.lang.String asSummaryString()
- Specified by:
asSummaryStringin interfaceorg.apache.flink.table.connector.source.DynamicTableSource
-
-