Package org.apache.flink.table.api
Enum JsonValueOnEmptyOrError
- java.lang.Object
-
- java.lang.Enum<JsonValueOnEmptyOrError>
-
- org.apache.flink.table.api.JsonValueOnEmptyOrError
-
- All Implemented Interfaces:
Serializable
,Comparable<JsonValueOnEmptyOrError>
,TableSymbol
@PublicEvolving public enum JsonValueOnEmptyOrError extends Enum<JsonValueOnEmptyOrError> implements TableSymbol
Behavior forBuiltInFunctionDefinitions.JSON_VALUE
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JsonValueOnEmptyOrError
valueOf(String name)
Returns the enum constant of this type with the specified name.static JsonValueOnEmptyOrError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL
public static final JsonValueOnEmptyOrError NULL
ReturnNULL
.
-
ERROR
public static final JsonValueOnEmptyOrError ERROR
Propagate or throw an error.
-
DEFAULT
public static final JsonValueOnEmptyOrError DEFAULT
Use a given default expression.
-
-
Method Detail
-
values
public static JsonValueOnEmptyOrError[] 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 (JsonValueOnEmptyOrError c : JsonValueOnEmptyOrError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JsonValueOnEmptyOrError 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
-
-