public abstract class BlockEncoding extends Object implements TextColumnEncoding
| Modifier and Type | Field and Description |
|---|---|
protected io.airlift.slice.Slice |
nullSequence |
| Constructor and Description |
|---|
BlockEncoding(Type type,
io.airlift.slice.Slice nullSequence,
byte[] separators,
Byte escapeByte) |
| Modifier and Type | Method and Description |
|---|---|
Block |
decodeColumn(ColumnData columnData) |
void |
encodeColumn(Block block,
io.airlift.slice.SliceOutput output,
EncodeOutput encodeOutput) |
protected byte |
getSeparator(int depth) |
protected boolean |
isEscapeByte(byte currentByte) |
protected boolean |
isNullSequence(io.airlift.slice.Slice slice,
int offset,
int length) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecodeValueInto, encodeValueIntopublic final void encodeColumn(Block block, io.airlift.slice.SliceOutput output, EncodeOutput encodeOutput) throws RcFileCorruptionException
encodeColumn in interface ColumnEncodingRcFileCorruptionExceptionpublic final Block decodeColumn(ColumnData columnData) throws RcFileCorruptionException
decodeColumn in interface ColumnEncodingRcFileCorruptionExceptionprotected final boolean isNullSequence(io.airlift.slice.Slice slice,
int offset,
int length)
protected final boolean isEscapeByte(byte currentByte)
protected final byte getSeparator(int depth)
Copyright © 2012–2022. All rights reserved.