public static enum TransformSpec.TransformType extends Enum<TransformSpec.TransformType>
| Enum Constant and Description |
|---|
BUCKET |
DAY |
HOUR |
IDENTITY |
MONTH |
TRUNCATE |
VOID |
YEAR |
| Modifier and Type | Method and Description |
|---|---|
static TransformSpec.TransformType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransformSpec.TransformType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransformSpec.TransformType IDENTITY
public static final TransformSpec.TransformType YEAR
public static final TransformSpec.TransformType MONTH
public static final TransformSpec.TransformType DAY
public static final TransformSpec.TransformType HOUR
public static final TransformSpec.TransformType TRUNCATE
public static final TransformSpec.TransformType BUCKET
public static final TransformSpec.TransformType VOID
public static TransformSpec.TransformType[] values()
for (TransformSpec.TransformType c : TransformSpec.TransformType.values()) System.out.println(c);
public static TransformSpec.TransformType 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 nullCopyright © 2022 The Apache Software Foundation. All rights reserved.