public class SingleRowBlockEncoding extends Object implements BlockEncoding
Constructor and Description |
---|
SingleRowBlockEncoding() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the unique name of this encoding.
|
Block |
readBlock(BlockEncodingSerde blockEncodingSerde,
io.airlift.slice.SliceInput sliceInput)
Read a block from the specified input.
|
void |
writeBlock(BlockEncodingSerde blockEncodingSerde,
io.airlift.slice.SliceOutput sliceOutput,
Block block)
Write the specified block to the specified output
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
replacementBlockForWrite
public static final String NAME
public String getName()
BlockEncoding
getName
in interface BlockEncoding
public void writeBlock(BlockEncodingSerde blockEncodingSerde, io.airlift.slice.SliceOutput sliceOutput, Block block)
BlockEncoding
writeBlock
in interface BlockEncoding
public Block readBlock(BlockEncodingSerde blockEncodingSerde, io.airlift.slice.SliceInput sliceInput)
BlockEncoding
readBlock
in interface BlockEncoding
Copyright © 2012–2021. All rights reserved.