public static enum UpdatedDataFieldsProcessFunctionBase.ConvertAction extends Enum<UpdatedDataFieldsProcessFunctionBase.ConvertAction>
UpdatedDataFieldsProcessFunctionBase.canConvert(DataType, DataType)
. This
enum indicates the action to perform.Enum Constant and Description |
---|
CONVERT
oldType can be converted to newType . |
EXCEPTION
oldType and newType belongs to different type family. |
IGNORE
oldType and newType belongs to the same type family, but old type has
higher precision than new type. |
Modifier and Type | Method and Description |
---|---|
static UpdatedDataFieldsProcessFunctionBase.ConvertAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdatedDataFieldsProcessFunctionBase.ConvertAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdatedDataFieldsProcessFunctionBase.ConvertAction CONVERT
oldType
can be converted to newType
.public static final UpdatedDataFieldsProcessFunctionBase.ConvertAction IGNORE
oldType
and newType
belongs to the same type family, but old type has
higher precision than new type. Ignore this convert request.public static final UpdatedDataFieldsProcessFunctionBase.ConvertAction EXCEPTION
oldType
and newType
belongs to different type family. Throw an exception
indicating that this convert request cannot be handled.public static UpdatedDataFieldsProcessFunctionBase.ConvertAction[] values()
for (UpdatedDataFieldsProcessFunctionBase.ConvertAction c : UpdatedDataFieldsProcessFunctionBase.ConvertAction.values()) System.out.println(c);
public static UpdatedDataFieldsProcessFunctionBase.ConvertAction 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 © 2023–2024 The Apache Software Foundation. All rights reserved.