public class OrcReader extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BATCH_SIZE_GROWTH_FACTOR |
static int |
INITIAL_BATCH_SIZE |
static int |
MAX_BATCH_SIZE |
Constructor and Description |
---|
OrcReader(OrcDataSource orcDataSource,
OrcEncoding orcEncoding,
io.airlift.units.DataSize maxMergeDistance,
io.airlift.units.DataSize maxReadSize,
io.airlift.units.DataSize tinyStripeThreshold,
io.airlift.units.DataSize maxBlockSize) |
Modifier and Type | Method and Description |
---|---|
OrcRecordReader |
createRecordReader(Map<Integer,Type> includedColumns,
OrcPredicate predicate,
org.joda.time.DateTimeZone hiveStorageTimeZone,
AggregatedMemoryContext systemMemoryUsage,
int initialBatchSize) |
OrcRecordReader |
createRecordReader(Map<Integer,Type> includedColumns,
OrcPredicate predicate,
long offset,
long length,
org.joda.time.DateTimeZone hiveStorageTimeZone,
AggregatedMemoryContext systemMemoryUsage,
int initialBatchSize) |
int |
getBufferSize() |
List<String> |
getColumnNames() |
CompressionKind |
getCompressionKind() |
Footer |
getFooter() |
Metadata |
getMetadata() |
public static final int MAX_BATCH_SIZE
public static final int INITIAL_BATCH_SIZE
public static final int BATCH_SIZE_GROWTH_FACTOR
public OrcReader(OrcDataSource orcDataSource, OrcEncoding orcEncoding, io.airlift.units.DataSize maxMergeDistance, io.airlift.units.DataSize maxReadSize, io.airlift.units.DataSize tinyStripeThreshold, io.airlift.units.DataSize maxBlockSize) throws IOException
IOException
public Footer getFooter()
public Metadata getMetadata()
public int getBufferSize()
public CompressionKind getCompressionKind()
public OrcRecordReader createRecordReader(Map<Integer,Type> includedColumns, OrcPredicate predicate, org.joda.time.DateTimeZone hiveStorageTimeZone, AggregatedMemoryContext systemMemoryUsage, int initialBatchSize)
public OrcRecordReader createRecordReader(Map<Integer,Type> includedColumns, OrcPredicate predicate, long offset, long length, org.joda.time.DateTimeZone hiveStorageTimeZone, AggregatedMemoryContext systemMemoryUsage, int initialBatchSize)
Copyright © 2012–2019. All rights reserved.