public interface ColumnWriter
Modifier and Type | Method and Description |
---|---|
void |
beginRowGroup() |
void |
close() |
Map<Integer,ColumnStatistics> |
finishRowGroup() |
long |
getBufferedBytes()
This method returns the size of the flushed data plus any unflushed data.
|
Map<Integer,ColumnEncoding> |
getColumnEncodings() |
Map<Integer,ColumnStatistics> |
getColumnStripeStatistics() |
List<StreamDataOutput> |
getDataStreams()
Get the data streams to be written.
|
List<StreamDataOutput> |
getIndexStreams(CompressedMetadataWriter metadataWriter)
Write index streams to the output and return the streams in the
order in which they were written.
|
default List<ColumnWriter> |
getNestedColumnWriters() |
long |
getRetainedBytes() |
void |
reset() |
void |
writeBlock(Block block) |
default List<ColumnWriter> getNestedColumnWriters()
Map<Integer,ColumnEncoding> getColumnEncodings()
void beginRowGroup()
void writeBlock(Block block)
Map<Integer,ColumnStatistics> finishRowGroup()
void close()
Map<Integer,ColumnStatistics> getColumnStripeStatistics()
List<StreamDataOutput> getIndexStreams(CompressedMetadataWriter metadataWriter) throws IOException
IOException
List<StreamDataOutput> getDataStreams()
long getBufferedBytes()
long getRetainedBytes()
void reset()
Copyright © 2012–2020. All rights reserved.