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