public static class RunLengthEncoding.Encoder<T extends org.apache.spark.sql.catalyst.types.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(org.apache.spark.sql.catalyst.expressions.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 org.apache.spark.sql.catalyst.types.NativeType>
public int compressedSize()
compressedSize
in interface Encoder<T extends org.apache.spark.sql.catalyst.types.NativeType>
public void gatherCompressibilityStats(org.apache.spark.sql.catalyst.expressions.Row row, int ordinal)
gatherCompressibilityStats
in interface Encoder<T extends org.apache.spark.sql.catalyst.types.NativeType>