public interface Encoder<T extends org.apache.spark.sql.types.NativeType>
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
compress(java.nio.ByteBuffer from,
java.nio.ByteBuffer to) |
int |
compressedSize() |
double |
compressionRatio() |
void |
gatherCompressibilityStats(org.apache.spark.sql.Row row,
int ordinal) |
int |
uncompressedSize() |
void gatherCompressibilityStats(org.apache.spark.sql.Row row, int ordinal)
int compressedSize()
int uncompressedSize()
double compressionRatio()
java.nio.ByteBuffer compress(java.nio.ByteBuffer from, java.nio.ByteBuffer to)