Package net.snowflake.ingest.utils
Enum Constants.BdecVersion
- java.lang.Object
-
- java.lang.Enum<Constants.BdecVersion>
-
- net.snowflake.ingest.utils.Constants.BdecVersion
-
- All Implemented Interfaces:
Serializable,Comparable<Constants.BdecVersion>
- Enclosing class:
- Constants
public static enum Constants.BdecVersion extends Enum<Constants.BdecVersion>
The write mode to generate Arrow BDEC file.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ONEUses Arrow to generate BDEC chunks.THREEUses Parquet to generate BDEC chunks withParquetRowBuffer(page-level compression).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Constants.BdecVersionfromInt(int val)bytetoByte()static Constants.BdecVersionvalueOf(String name)Returns the enum constant of this type with the specified name.static Constants.BdecVersion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ONE
public static final Constants.BdecVersion ONE
Uses Arrow to generate BDEC chunks.
-
THREE
public static final Constants.BdecVersion THREE
Uses Parquet to generate BDEC chunks withParquetRowBuffer(page-level compression). This version is experimental and WIP at the moment.
-
-
Method Detail
-
values
public static Constants.BdecVersion[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Constants.BdecVersion c : Constants.BdecVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Constants.BdecVersion valueOf(String name)
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
-
toByte
public byte toByte()
-
fromInt
public static Constants.BdecVersion fromInt(int val)
-
-