public class MapDirectBatchStreamReader extends Object implements BatchStreamReader
Constructor and Description |
---|
MapDirectBatchStreamReader(Type type,
StreamDescriptor streamDescriptor,
org.joda.time.DateTimeZone hiveStorageTimeZone,
OrcAggregatedMemoryContext systemMemoryContext) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getRetainedSizeInBytes() |
void |
prepareNextRead(int batchSize) |
Block |
readBlock() |
void |
startRowGroup(InputStreamSources dataStreamSources) |
void |
startStripe(InputStreamSources dictionaryStreamSources,
List<ColumnEncoding> encoding) |
String |
toString() |
public MapDirectBatchStreamReader(Type type, StreamDescriptor streamDescriptor, org.joda.time.DateTimeZone hiveStorageTimeZone, OrcAggregatedMemoryContext systemMemoryContext) throws OrcCorruptionException
OrcCorruptionException
public void prepareNextRead(int batchSize)
prepareNextRead
in interface BatchStreamReader
public Block readBlock() throws IOException
readBlock
in interface BatchStreamReader
IOException
public void startStripe(InputStreamSources dictionaryStreamSources, List<ColumnEncoding> encoding) throws IOException
startStripe
in interface StreamReader
IOException
public void startRowGroup(InputStreamSources dataStreamSources) throws IOException
startRowGroup
in interface StreamReader
IOException
public void close()
close
in interface StreamReader
public long getRetainedSizeInBytes()
getRetainedSizeInBytes
in interface StreamReader
Copyright © 2012–2020. All rights reserved.