Package dev.cel.common.values
Class OpaqueValue
- java.lang.Object
-
- dev.cel.common.values.CelValue
-
- dev.cel.common.values.OpaqueValue
-
public abstract class OpaqueValue extends CelValue
OpaqueValue is the value representation of OpaqueType.
-
-
Constructor Summary
Constructors Constructor Description OpaqueValue()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract OpaqueTypecelType()The CelType that represents this value.static OpaqueValuecreate(java.lang.String name, java.lang.Object value)booleanisZeroValue()Returns true if theCelValue.value()is a zero value for its type.
-
-
-
Method Detail
-
isZeroValue
public boolean isZeroValue()
Description copied from class:CelValueReturns true if theCelValue.value()is a zero value for its type.- Specified by:
isZeroValuein classCelValue
-
celType
public abstract OpaqueType celType()
Description copied from class:CelValueThe CelType that represents this value.
-
create
public static OpaqueValue create(java.lang.String name, java.lang.Object value)
-
-