public interface BlockEncoding
| Modifier and Type | Method and Description |
|---|---|
int |
getEstimatedSize(Block block)
Estimated serialized block size
|
BlockEncodingFactory |
getFactory()
Return associated factory
|
String |
getName()
Gets the unique name of this encoding.
|
Block |
readBlock(io.airlift.slice.SliceInput input)
Read a block from the specified input.
|
void |
writeBlock(io.airlift.slice.SliceOutput sliceOutput,
Block block)
Write the specified block to the specified output
|
String getName()
Block readBlock(io.airlift.slice.SliceInput input)
void writeBlock(io.airlift.slice.SliceOutput sliceOutput,
Block block)
int getEstimatedSize(Block block)
BlockEncodingFactory getFactory()
Copyright © 2012-2016. All Rights Reserved.