Package dev.cel.runtime.standard
Enum TimestampFunction.TimestampOverload
- java.lang.Object
-
- java.lang.Enum<TimestampFunction.TimestampOverload>
-
- dev.cel.runtime.standard.TimestampFunction.TimestampOverload
-
- All Implemented Interfaces:
CelStandardOverload,java.io.Serializable,java.lang.Comparable<TimestampFunction.TimestampOverload>
- Enclosing class:
- TimestampFunction
public static enum TimestampFunction.TimestampOverload extends java.lang.Enum<TimestampFunction.TimestampOverload> implements CelStandardOverload
Overloads for the standard function.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INT64_TO_TIMESTAMPSTRING_TO_TIMESTAMPTIMESTAMP_TO_TIMESTAMP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CelFunctionBindingnewFunctionBinding(dev.cel.common.CelOptions celOptions, RuntimeEquality runtimeEquality)Constructs a newCelFunctionBindingfor this CEL standard overload.static TimestampFunction.TimestampOverloadvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TimestampFunction.TimestampOverload[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING_TO_TIMESTAMP
public static final TimestampFunction.TimestampOverload STRING_TO_TIMESTAMP
-
TIMESTAMP_TO_TIMESTAMP
public static final TimestampFunction.TimestampOverload TIMESTAMP_TO_TIMESTAMP
-
INT64_TO_TIMESTAMP
public static final TimestampFunction.TimestampOverload INT64_TO_TIMESTAMP
-
-
Method Detail
-
values
public static TimestampFunction.TimestampOverload[] 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 (TimestampFunction.TimestampOverload c : TimestampFunction.TimestampOverload.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TimestampFunction.TimestampOverload valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
newFunctionBinding
public CelFunctionBinding newFunctionBinding(dev.cel.common.CelOptions celOptions, RuntimeEquality runtimeEquality)
Description copied from interface:CelStandardOverloadConstructs a newCelFunctionBindingfor this CEL standard overload.- Specified by:
newFunctionBindingin interfaceCelStandardOverload
-
-