public class RunLengthEncoding extends Object implements CompressionScheme, scala.Product, scala.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
RunLengthEncoding.Decoder<T extends org.apache.spark.sql.catalyst.types.NativeType> |
static class |
RunLengthEncoding.Encoder<T extends org.apache.spark.sql.catalyst.types.NativeType> |
Constructor and Description |
---|
RunLengthEncoding() |
Modifier and Type | Method and Description |
---|---|
static <T extends org.apache.spark.sql.catalyst.types.NativeType> |
decoder(java.nio.ByteBuffer buffer,
NativeColumnType<T> columnType) |
static <T extends org.apache.spark.sql.catalyst.types.NativeType> |
encoder(NativeColumnType<T> columnType) |
static boolean |
supports(ColumnType<?,?> columnType) |
static int |
typeId() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decoder, encoder, supports, typeId
public static int typeId()
public static <T extends org.apache.spark.sql.catalyst.types.NativeType> RunLengthEncoding.Encoder<T> encoder(NativeColumnType<T> columnType)
public static <T extends org.apache.spark.sql.catalyst.types.NativeType> RunLengthEncoding.Decoder<T> decoder(java.nio.ByteBuffer buffer, NativeColumnType<T> columnType)
public static boolean supports(ColumnType<?,?> columnType)