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.
|
Reader.Options
Modifier and Type | Method and Description |
---|---|
EncodedReader |
encodedReader(Object fileKey,
DataCache dataCache,
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, rows
EncodedReader encodedReader(Object fileKey, DataCache dataCache, 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 © 2016 The Apache Software Foundation. All rights reserved.