Interface CelValueProvider

    • Method Detail

      • newValue

        java.util.Optional<CelValue> newValue​(java.lang.String structType,
                                              java.util.Map<java.lang.String,​java.lang.Object> fields)
        Constructs a new struct value.

        Note that the return type is defined as CelValue rather than StructValue to account for special cases such as wrappers where its primitive is returned.