Class CelExpr.CelSelect

    • Constructor Detail

      • CelSelect

        public CelSelect()
    • Method Detail

      • operand

        public abstract CelExpr operand()
        Description copied from interface: Expression.Select
        Required. The target of the selection expression.

        For example, in the select expression `request.auth`, the `request` portion of the expression is the `operand`.

        Specified by:
        operand in interface Expression.Select<CelExpr>
      • field

        public abstract java.lang.String field()
        Description copied from interface: Expression.Select
        Required. The name of the field to select.

        For example, in the select expression `request.auth`, the `auth` portion of the expression would be the `field`.

        Specified by:
        field in interface Expression.Select<CelExpr>
      • testOnly

        public abstract boolean testOnly()
        Description copied from interface: Expression.Select
        Whether the select is to be interpreted as a field presence test.

        This results from the macro `has(request.auth)`.

        Specified by:
        testOnly in interface Expression.Select<CelExpr>