Package org.apache.parquet.hadoop.util
Enum ColumnMasker.MaskMode
- java.lang.Object
-
- java.lang.Enum<ColumnMasker.MaskMode>
-
- org.apache.parquet.hadoop.util.ColumnMasker.MaskMode
-
- All Implemented Interfaces:
Serializable
,Comparable<ColumnMasker.MaskMode>
- Enclosing class:
- ColumnMasker
public static enum ColumnMasker.MaskMode extends Enum<ColumnMasker.MaskMode>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ColumnMasker.MaskMode
fromString(String mode)
String
getMode()
static ColumnMasker.MaskMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static ColumnMasker.MaskMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULLIFY
public static final ColumnMasker.MaskMode NULLIFY
-
HASH
public static final ColumnMasker.MaskMode HASH
-
REDACT
public static final ColumnMasker.MaskMode REDACT
-
-
Method Detail
-
values
public static ColumnMasker.MaskMode[] 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 (ColumnMasker.MaskMode c : ColumnMasker.MaskMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ColumnMasker.MaskMode 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
-
getMode
public String getMode()
-
fromString
public static ColumnMasker.MaskMode fromString(String mode)
-
-