public interface BlockEncoding
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the unique name of this encoding.
|
Block |
readBlock(BlockEncodingSerde blockEncodingSerde,
io.airlift.slice.SliceInput input)
Read a block from the specified input.
|
default Optional<Block> |
replacementBlockForWrite(Block block)
This method allows the implementor to specify a replacement object that will be serialized instead of the original one.
|
void |
writeBlock(BlockEncodingSerde blockEncodingSerde,
io.airlift.slice.SliceOutput sliceOutput,
Block block)
Write the specified block to the specified output
|
String getName()
Block readBlock(BlockEncodingSerde blockEncodingSerde, io.airlift.slice.SliceInput input)
void writeBlock(BlockEncodingSerde blockEncodingSerde, io.airlift.slice.SliceOutput sliceOutput, Block block)
Copyright © 2012–2022. All rights reserved.