public class ByteStreamReader extends Object implements StreamReader
Constructor and Description |
---|
ByteStreamReader(StreamDescriptor streamDescriptor,
LocalMemoryContext 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 ByteStreamReader(StreamDescriptor streamDescriptor, LocalMemoryContext 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)
startStripe
in interface StreamReader
public void startRowGroup(InputStreamSources dataStreamSources)
startRowGroup
in interface StreamReader
public void close()
close
in interface StreamReader
public long getRetainedSizeInBytes()
getRetainedSizeInBytes
in interface StreamReader
Copyright © 2012–2019. All rights reserved.