public static class RunLengthEncoding.Encoder<T extends NativeType> extends Object implements Encoder<T>
Constructor and Description |
---|
RunLengthEncoding.Encoder(NativeColumnType<T> columnType) |
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
compress(java.nio.ByteBuffer from,
java.nio.ByteBuffer to) |
int |
compressedSize() |
void |
gatherCompressibilityStats(Row row,
int ordinal) |
int |
uncompressedSize() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compressionRatio
public RunLengthEncoding.Encoder(NativeColumnType<T> columnType)
public int uncompressedSize()
uncompressedSize
in interface Encoder<T extends NativeType>
public int compressedSize()
compressedSize
in interface Encoder<T extends NativeType>
public void gatherCompressibilityStats(Row row, int ordinal)
gatherCompressibilityStats
in interface Encoder<T extends NativeType>
public java.nio.ByteBuffer compress(java.nio.ByteBuffer from, java.nio.ByteBuffer to)
compress
in interface Encoder<T extends NativeType>