public class VariableWidthBlockEncoding extends Object implements BlockEncoding
| Modifier and Type | Class and Description |
|---|---|
static class |
VariableWidthBlockEncoding.VariableWidthBlockEncodingFactory |
| Constructor and Description |
|---|
VariableWidthBlockEncoding(Type type) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the unique name of this encoding.
|
Type |
getType()
Gets the type this encoding supports.
|
Block |
readBlock(io.airlift.slice.SliceInput sliceInput)
Read a block from the specified input.
|
void |
writeBlock(io.airlift.slice.SliceOutput sliceOutput,
Block block)
Write the specified block to the specified output
|
public VariableWidthBlockEncoding(Type type)
public String getName()
BlockEncodinggetName in interface BlockEncodingpublic Type getType()
BlockEncodinggetType in interface BlockEncodingpublic void writeBlock(io.airlift.slice.SliceOutput sliceOutput,
Block block)
BlockEncodingwriteBlock in interface BlockEncodingpublic Block readBlock(io.airlift.slice.SliceInput sliceInput)
BlockEncodingreadBlock in interface BlockEncodingCopyright © 2012-2014. All Rights Reserved.