public class MapDirectStreamReader extends Object implements StreamReader
Constructor and Description |
---|
MapDirectStreamReader(StreamDescriptor streamDescriptor,
org.joda.time.DateTimeZone hiveStorageTimeZone,
AggregatedMemoryContext systemMemoryContext) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getRetainedSizeInBytes() |
void |
prepareNextRead(int batchSize) |
Block |
readBlock(Type type) |
void |
startRowGroup(InputStreamSources dataStreamSources) |
void |
startStripe(InputStreamSources dictionaryStreamSources,
List<ColumnEncoding> encoding) |
String |
toString() |
public MapDirectStreamReader(StreamDescriptor streamDescriptor, org.joda.time.DateTimeZone hiveStorageTimeZone, AggregatedMemoryContext systemMemoryContext)
public void prepareNextRead(int batchSize)
prepareNextRead
in interface StreamReader
public Block readBlock(Type type) throws IOException
readBlock
in interface StreamReader
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–2019. All rights reserved.