@PublicEvolving public enum JsonOnNull extends Enum<JsonOnNull> implements TableSymbol
BuiltInFunctionDefinitions.JSON_OBJECT
and
BuiltInFunctionDefinitions.JSON_ARRAY
.Enum Constant and Description |
---|
ABSENT
Omit this key from the resulting JSON.
|
NULL
Use a JSON
null value. |
Modifier and Type | Method and Description |
---|---|
static JsonOnNull |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonOnNull[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonOnNull NULL
null
value.public static final JsonOnNull ABSENT
public static JsonOnNull[] values()
for (JsonOnNull c : JsonOnNull.values()) System.out.println(c);
public static JsonOnNull 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 © 2014–2024 The Apache Software Foundation. All rights reserved.