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,
IoTrace trace,
boolean useCodecPool,
String tag)
Creates the encoded reader.
|
getCompression, getObjectInspector, rows, rows, rows, rows, rowsOptions, rowsOptionsgetCompressionKind, getCompressionSize, getContentLength, getFileTail, getFileVersion, getMetadataKeys, getMetadataSize, getMetadataValue, getNumberOfRows, getOrcProtoFileStatistics, getOrcProtoStripeStatistics, getRawDataSize, getRawDataSizeFromColIndices, getRawDataSizeOfColumns, getRowIndexStride, getSchema, getSerializedFileFooter, getStatistics, getStripes, getStripeStatistics, getTypes, getVersionList, getWriterVersion, hasMetadataValue, options, rowsEncodedReader encodedReader(Object fileKey, org.apache.hadoop.hive.common.io.DataCache dataCache, org.apache.orc.DataReader dataReader, Reader.PoolFactory pf, IoTrace trace, boolean useCodecPool, String tag) 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.IOExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.