Class NullValue


  • @Immutable
    public final class NullValue
    extends CelValue
    NullValue represents the value 'null' of 'null_type' according to the CEL specification. One of its primary uses is to represent nulls in JSON data.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static NullValue NULL_VALUE
      Sentinel value for representing NULL.
    • Field Detail

      • NULL_VALUE

        public static final NullValue NULL_VALUE
        Sentinel value for representing NULL.
    • Method Detail

      • value

        public NullValue value()
        Description copied from class: CelValue
        The underlying value. This is typically the Java native value or a derived instance of CelValue (ex: an element in lists or key/value pair in maps).
        Specified by:
        value in class CelValue
      • celType

        public CelType celType()
        Description copied from class: CelValue
        The CelType that represents this value.
        Specified by:
        celType in class CelValue