Package org.apache.flink.orc
Class OrcFileFormatFactory.OrcBulkDecodingFormat
- java.lang.Object
-
- org.apache.flink.orc.OrcFileFormatFactory.OrcBulkDecodingFormat
-
- All Implemented Interfaces:
org.apache.flink.connector.file.table.format.BulkDecodingFormat<org.apache.flink.table.data.RowData>,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>>,org.apache.flink.table.connector.format.FileBasedStatisticsReportableInputFormat,org.apache.flink.table.connector.format.Format,org.apache.flink.table.connector.format.ProjectableDecodingFormat<org.apache.flink.connector.file.src.reader.BulkFormat<org.apache.flink.table.data.RowData,org.apache.flink.connector.file.src.FileSourceSplit>>
- Enclosing class:
- OrcFileFormatFactory
@VisibleForTesting public static class OrcFileFormatFactory.OrcBulkDecodingFormat extends Object implements org.apache.flink.connector.file.table.format.BulkDecodingFormat<org.apache.flink.table.data.RowData>, org.apache.flink.table.connector.format.ProjectableDecodingFormat<org.apache.flink.connector.file.src.reader.BulkFormat<org.apache.flink.table.data.RowData,org.apache.flink.connector.file.src.FileSourceSplit>>, org.apache.flink.table.connector.format.FileBasedStatisticsReportableInputFormat
OrcBulkDecodingFormat which implementsFileBasedStatisticsReportableInputFormat.
-
-
Constructor Summary
Constructors Constructor Description OrcBulkDecodingFormat(org.apache.flink.configuration.ReadableConfig formatOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyFilters(List<org.apache.flink.table.expressions.ResolvedExpression> filters)org.apache.flink.connector.file.src.reader.BulkFormat<org.apache.flink.table.data.RowData,org.apache.flink.connector.file.src.FileSourceSplit>createRuntimeDecoder(org.apache.flink.table.connector.source.DynamicTableSource.Context sourceContext, org.apache.flink.table.types.DataType producedDataType, int[][] projections)org.apache.flink.table.connector.ChangelogModegetChangelogMode()org.apache.flink.table.plan.stats.TableStatsreportStatistics(List<org.apache.flink.core.fs.Path> files, org.apache.flink.table.types.DataType producedDataType)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
createRuntimeDecoder
public org.apache.flink.connector.file.src.reader.BulkFormat<org.apache.flink.table.data.RowData,org.apache.flink.connector.file.src.FileSourceSplit> createRuntimeDecoder(org.apache.flink.table.connector.source.DynamicTableSource.Context sourceContext, org.apache.flink.table.types.DataType producedDataType, int[][] projections)- Specified by:
createRuntimeDecoderin interfaceorg.apache.flink.table.connector.format.ProjectableDecodingFormat<org.apache.flink.connector.file.src.reader.BulkFormat<org.apache.flink.table.data.RowData,org.apache.flink.connector.file.src.FileSourceSplit>>
-
getChangelogMode
public org.apache.flink.table.connector.ChangelogMode getChangelogMode()
- Specified by:
getChangelogModein interfaceorg.apache.flink.table.connector.format.Format
-
applyFilters
public void applyFilters(List<org.apache.flink.table.expressions.ResolvedExpression> filters)
- Specified by:
applyFiltersin interfaceorg.apache.flink.connector.file.table.format.BulkDecodingFormat<org.apache.flink.table.data.RowData>
-
reportStatistics
public org.apache.flink.table.plan.stats.TableStats reportStatistics(List<org.apache.flink.core.fs.Path> files, org.apache.flink.table.types.DataType producedDataType)
- Specified by:
reportStatisticsin interfaceorg.apache.flink.table.connector.format.FileBasedStatisticsReportableInputFormat
-
-