Package ai.rapids.cudf
Enum ParquetWriterOptions.DictionaryPolicy
java.lang.Object
java.lang.Enum<ParquetWriterOptions.DictionaryPolicy>
ai.rapids.cudf.ParquetWriterOptions.DictionaryPolicy
- All Implemented Interfaces:
Serializable,Comparable<ParquetWriterOptions.DictionaryPolicy>,java.lang.constant.Constable
- Enclosing class:
- ParquetWriterOptions
public static enum ParquetWriterOptions.DictionaryPolicy
extends Enum<ParquetWriterOptions.DictionaryPolicy>
Mirror of cudf::io::dictionary_policy. Controls when the Parquet writer is allowed
to use dictionary encoding.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NEVER
Never use dictionary encoding. -
ADAPTIVE
Use dictionary encoding when it does not impact compression. The writer disables dictionary encoding for any column chunk whose dictionary would exceedParquetWriterOptions.Builder.withMaxDictionarySize(long). -
ALWAYS
Use dictionary encoding even if it disables compression for affected columns.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-