Interface SelectableValue<T extends CelValue>

    • Method Detail

      • select

        CelValue select​(T field)
        Performs field selection. The behavior depends on the concrete implementation of the value being selected. For structs and maps, this must throw an exception if the field does not exist. For optional values, this will return an optional.none().
      • find

        java.util.Optional<CelValue> find​(T field)
        Finds the field. This will return an Optional.empty() if the field does not exist. This can be used for presence testing.