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,
DataCache dataCache,
LlapDataReader dataReader,
Reader.PoolFactory pf,
IoTrace trace,
boolean useCodecPool,
CacheTag tag,
boolean isReadCacheOnly)
Creates the encoded reader.
|
getCompression, getObjectInspector, rows, rows, rows, rows, rowsOptions, rowsOptionsgetColumnEncryptionKeys, getCompressionKind, getCompressionSize, getContentLength, getConvertToProlepticGregorian, getDataMasks, getEncryptionVariants, getFileTail, getFileVersion, getMetadataKeys, getMetadataSize, getMetadataValue, getNumberOfRows, getOrcProtoFileStatistics, getOrcProtoStripeStatistics, getRawDataSize, getRawDataSizeFromColIndices, getRawDataSizeOfColumns, getRowIndexStride, getSchema, getSerializedFileFooter, getSoftwareVersion, getStatistics, getStripes, getStripeStatistics, getStripeStatistics, getTypes, getVariantStripeStatistics, getVersionList, getWriterVersion, hasMetadataValue, options, rows, writerUsedProlepticGregorianEncodedReader encodedReader(Object fileKey, DataCache dataCache, LlapDataReader dataReader, Reader.PoolFactory pf, IoTrace trace, boolean useCodecPool, CacheTag tag, boolean isReadCacheOnly) 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 © 2024 The Apache Software Foundation. All rights reserved.