@ThreadSafe public class OrcFileFormat extends org.apache.paimon.format.FileFormat
FileFormat.| 限定符和类型 | 字段和说明 |
|---|---|
static String |
IDENTIFIER |
| 构造器和说明 |
|---|
OrcFileFormat(org.apache.paimon.format.FileFormatFactory.FormatContext formatContext) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.paimon.format.FormatReaderFactory |
createReaderFactory(org.apache.paimon.types.RowType projectedRowType,
List<org.apache.paimon.predicate.Predicate> filters) |
Optional<org.apache.paimon.format.TableStatsExtractor> |
createStatsExtractor(org.apache.paimon.types.RowType type,
org.apache.paimon.statistics.FieldStatsCollector.Factory[] statsCollectors) |
org.apache.paimon.format.FormatWriterFactory |
createWriterFactory(org.apache.paimon.types.RowType type)
The
OrcWriterFactory will create ThreadLocalClassLoaderConfiguration from the
input writer config to avoid classloader leaks. |
org.apache.paimon.format.FileFormatFactory.FormatContext |
formatContext() |
void |
validateDataFields(org.apache.paimon.types.RowType rowType) |
public OrcFileFormat(org.apache.paimon.format.FileFormatFactory.FormatContext formatContext)
@VisibleForTesting public org.apache.paimon.format.FileFormatFactory.FormatContext formatContext()
public Optional<org.apache.paimon.format.TableStatsExtractor> createStatsExtractor(org.apache.paimon.types.RowType type, org.apache.paimon.statistics.FieldStatsCollector.Factory[] statsCollectors)
createStatsExtractor 在类中 org.apache.paimon.format.FileFormatpublic org.apache.paimon.format.FormatReaderFactory createReaderFactory(org.apache.paimon.types.RowType projectedRowType,
@Nullable
List<org.apache.paimon.predicate.Predicate> filters)
createReaderFactory 在类中 org.apache.paimon.format.FileFormatpublic void validateDataFields(org.apache.paimon.types.RowType rowType)
validateDataFields 在类中 org.apache.paimon.format.FileFormatpublic org.apache.paimon.format.FormatWriterFactory createWriterFactory(org.apache.paimon.types.RowType type)
OrcWriterFactory will create ThreadLocalClassLoaderConfiguration from the
input writer config to avoid classloader leaks.
TODO: The ThreadLocalClassLoaderConfiguration in OrcWriterFactory should
be removed after https://issues.apache.org/jira/browse/ORC-653 is fixed.
createWriterFactory 在类中 org.apache.paimon.format.FileFormattype - The data type for the writerCopyright © 2023 The Apache Software Foundation. All rights reserved.