@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.SimpleStatsExtractor> |
createStatsExtractor(org.apache.paimon.types.RowType type,
org.apache.paimon.statistics.SimpleColStatsCollector.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. |
Properties |
orcProperties() |
int |
readBatchSize() |
static org.apache.paimon.types.DataType |
refineDataType(org.apache.paimon.types.DataType type) |
void |
validateDataFields(org.apache.paimon.types.RowType rowType) |
public OrcFileFormat(org.apache.paimon.format.FileFormatFactory.FormatContext formatContext)
@VisibleForTesting public Properties orcProperties()
@VisibleForTesting public int readBatchSize()
public Optional<org.apache.paimon.format.SimpleStatsExtractor> createStatsExtractor(org.apache.paimon.types.RowType type, org.apache.paimon.statistics.SimpleColStatsCollector.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 writerpublic static org.apache.paimon.types.DataType refineDataType(org.apache.paimon.types.DataType type)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.