- java.lang.Object
-
- java.lang.Enum<Function.OnNullInput>
-
- org.postgresql.pljava.annotation.Function.OnNullInput
-
- All Implemented Interfaces:
Serializable
,Comparable<Function.OnNullInput>
,Constable
- Enclosing class:
- Function
public static enum Function.OnNullInput extends Enum<Function.OnNullInput>
Whether the function is called even for null input, or known to return null in that case and therefore not called.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CALLED
RETURNS_NULL
-
Method Summary
Modifier and Type Method Description static Function.OnNullInput
valueOf(String name)
Returns the enum constant of this type with the specified name.static Function.OnNullInput[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CALLED
public static final Function.OnNullInput CALLED
-
RETURNS_NULL
public static final Function.OnNullInput RETURNS_NULL
-
-
Method Detail
-
values
public static Function.OnNullInput[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Function.OnNullInput 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
-
-