public enum ParquetEncoding extends Enum<ParquetEncoding>
| Enum Constant and Description |
|---|
BIT_PACKED |
DELTA_BINARY_PACKED |
DELTA_BYTE_ARRAY |
DELTA_LENGTH_BYTE_ARRAY |
PLAIN |
PLAIN_DICTIONARY |
RLE |
RLE_DICTIONARY |
| Modifier and Type | Method and Description |
|---|---|
org.apache.parquet.column.values.ValuesReader |
getDictionaryBasedValuesReader(org.apache.parquet.column.ColumnDescriptor descriptor,
ValuesType valuesType,
Dictionary dictionary) |
org.apache.parquet.column.values.ValuesReader |
getValuesReader(org.apache.parquet.column.ColumnDescriptor descriptor,
ValuesType valuesType) |
Dictionary |
initDictionary(org.apache.parquet.column.ColumnDescriptor descriptor,
DictionaryPage dictionaryPage) |
boolean |
usesDictionary() |
static ParquetEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParquetEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParquetEncoding PLAIN
public static final ParquetEncoding RLE
public static final ParquetEncoding BIT_PACKED
public static final ParquetEncoding PLAIN_DICTIONARY
public static final ParquetEncoding DELTA_BINARY_PACKED
public static final ParquetEncoding DELTA_LENGTH_BYTE_ARRAY
public static final ParquetEncoding DELTA_BYTE_ARRAY
public static final ParquetEncoding RLE_DICTIONARY
public static ParquetEncoding[] values()
for (ParquetEncoding c : ParquetEncoding.values()) System.out.println(c);
public static ParquetEncoding valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean usesDictionary()
public Dictionary initDictionary(org.apache.parquet.column.ColumnDescriptor descriptor, DictionaryPage dictionaryPage) throws IOException
IOExceptionpublic org.apache.parquet.column.values.ValuesReader getValuesReader(org.apache.parquet.column.ColumnDescriptor descriptor,
ValuesType valuesType)
public org.apache.parquet.column.values.ValuesReader getDictionaryBasedValuesReader(org.apache.parquet.column.ColumnDescriptor descriptor,
ValuesType valuesType,
Dictionary dictionary)
Copyright © 2012–2022. All rights reserved.