public interface Reader extends Reader
Modifier and Type | Interface and Description |
---|---|
static class |
Reader.OrcEncodedColumnBatch
Implementation of EncodedColumnBatch for ORC.
|
static interface |
Reader.PoolFactory
The factory that can create (or return) the pools used by encoded reader.
|
Modifier and Type | Method and Description |
---|---|
EncodedReader |
encodedReader(Object fileKey,
org.apache.hadoop.hive.common.io.DataCache dataCache,
org.apache.orc.DataReader dataReader,
Reader.PoolFactory pf)
Creates the encoded reader.
|
getCompression, getObjectInspector, rows, rows, rows, rows, rowsOptions
getCompressionKind, getCompressionSize, getContentLength, getFileTail, getFileVersion, getMetadataKeys, getMetadataSize, getMetadataValue, getNumberOfRows, getOrcProtoFileStatistics, getOrcProtoStripeStatistics, getRawDataSize, getRawDataSizeFromColIndices, getRawDataSizeOfColumns, getRowIndexStride, getSchema, getSerializedFileFooter, getStatistics, getStripes, getStripeStatistics, getTypes, getVersionList, getWriterVersion, hasMetadataValue, options, rows
EncodedReader encodedReader(Object fileKey, org.apache.hadoop.hive.common.io.DataCache dataCache, org.apache.orc.DataReader dataReader, Reader.PoolFactory pf) throws IOException
fileKey
- File ID to read, to use for cache lookups and such.dataCache
- Data cache to use for cache lookups.dataReader
- Data reader to read data not found in cache (from disk, HDFS, and such).pf
- Pool factory to create object pools.IOException
Copyright © 2021 The Apache Software Foundation. All rights reserved.