public class DictionaryEncoding extends Object implements CompressionScheme, scala.Product, scala.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DictionaryEncoding.Decoder<T extends org.apache.spark.sql.catalyst.types.NativeType> |
static class |
DictionaryEncoding.Encoder<T extends org.apache.spark.sql.catalyst.types.NativeType> |
Constructor and Description |
---|
DictionaryEncoding() |
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 short |
MAX_DICT_SIZE() |
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 short MAX_DICT_SIZE()
public static <T extends org.apache.spark.sql.catalyst.types.NativeType> DictionaryEncoding.Decoder<T> decoder(java.nio.ByteBuffer buffer, NativeColumnType<T> columnType)
public static <T extends org.apache.spark.sql.catalyst.types.NativeType> DictionaryEncoding.Encoder<T> encoder(NativeColumnType<T> columnType)
public static boolean supports(ColumnType<?,?> columnType)