Uses of Interface
com.google.mu.cel.CelExpr
Packages that use CelExpr
-
Uses of CelExpr in com.google.mu.cel
Subinterfaces of CelExpr in com.google.mu.celModifier and TypeInterfaceDescriptionstatic interfaceAn expression composed by a binary operator.static interfaceAbstract representation of a CEL macro expression.static interfaceAn expression composed by a unary operator.Classes in com.google.mu.cel that implement CelExprModifier and TypeClassDescriptionstatic final recordAddition:x + y.static final recordLogical AND comparison:x && y.static final recordBoolean literal.static final recordByte sequence literal.static final recordDivision:x / y.static final recordDouble-precision floating point literal.static final recordEquality comparison:x == y.static final recordGlobal function callsf(args).static final recordGreater than relational comparison:x > y.static final recordGreater than or equal to relational comparison:x >= y.static final recordVariable or symbol lookup, such asrequest.static final recordTernary conditional, such ascondition ? trueExpr : falseExpr.static final recordContainment comparison:x in y.static final recordSubscript/indexing, such asoperand[index].static final recordLess than relational comparison:x < y.static final recordLess than or equal to relational comparison:x <= y.static final recordList creation, such as[1, ?optional_var].static final recordSigned 64-bit integer literal.static final recordThetarget.all(var, condition)macro.static final recordThetarget.exists(var, condition)macro.static final recordThetarget.exists_one(var, condition)macro.static final recordThetarget.filter(var, expr)macro.static final recordThetarget.map(var, filter, transform)macro (synthesized from three-argumentmapmacro).static final recordThehas(member)macro.static final recordThetarget.map(var, expr)macro.static final recordMap creation, such as{"key": value, ? "opt_key": value}.static final recordMember callstarget.f(args).static final recordModulo/remainder:x % y.static final recordMultiplication:x * y.static final recordUnary sign negation:-x.static final recordLogical negation:!x.static final recordInequality comparison:x != y.static final recordNull literal.static final recordOptional subscript/indexing, such asoperand[?index].static final recordOptional field selection, such asoperand.?field.static final recordLogical OR comparison:x || y.static final recordField selection, such asoperand.field.static final recordUTF-8 string literal.static final recordStruct/message creation, such asType{field: value, ?opt_field: value}.static final recordSubtraction:x - y.static final recordUnsigned 64-bit integer literal.Methods in com.google.mu.cel that return CelExprModifier and TypeMethodDescriptionCelExpr.IfElse.condition()Returns the value of theconditionrecord component.CelExpr.Macro.All.condition()Returns the value of theconditionrecord component.CelExpr.Macro.Exists.condition()Returns the value of theconditionrecord component.CelExpr.Macro.ExistsOne.condition()Returns the value of theconditionrecord component.CelExpr.Macro.Filter.expr()Returns the value of theexprrecord component.CelExpr.Macro.Map.expr()Returns the value of theexprrecord component.CelExpr.Macro.FilterMap.filter()Returns the value of thefilterrecord component.CelExpr.IfElse.ifFalse()Returns the value of theifFalserecord component.CelExpr.IfElse.ifTrue()Returns the value of theifTruerecord component.CelExpr.Index.index()Returns the value of theindexrecord component.CelExpr.OptionalIndex.index()Returns the value of theindexrecord component.CelExpr.Add.left()Returns the value of theleftrecord component.CelExpr.And.left()Returns the value of theleftrecord component.CelExpr.Binary.left()CelExpr.Divide.left()Returns the value of theleftrecord component.CelExpr.EqualTo.left()Returns the value of theleftrecord component.CelExpr.GreaterThan.left()Returns the value of theleftrecord component.CelExpr.GreaterThanOrEqualTo.left()Returns the value of theleftrecord component.CelExpr.In.left()Returns the value of theleftrecord component.CelExpr.LessThan.left()Returns the value of theleftrecord component.CelExpr.LessThanOrEqualTo.left()Returns the value of theleftrecord component.CelExpr.Modulo.left()Returns the value of theleftrecord component.CelExpr.Multiply.left()Returns the value of theleftrecord component.CelExpr.NotEqualTo.left()Returns the value of theleftrecord component.CelExpr.Or.left()Returns the value of theleftrecord component.CelExpr.Subtract.left()Returns the value of theleftrecord component.static CelExprParses and returns aCelExprrepresenting thecelstring.CelExpr.Index.operand()Returns the value of theoperandrecord component.CelExpr.Negative.operand()Returns the value of theoperandrecord component.CelExpr.Not.operand()Returns the value of theoperandrecord component.CelExpr.OptionalIndex.operand()Returns the value of theoperandrecord component.CelExpr.OptionalSelect.operand()Returns the value of theoperandrecord component.CelExpr.Select.operand()Returns the value of theoperandrecord component.CelExpr.Unary.operand()Parses the given CEL expression.CelExpr.Add.right()Returns the value of therightrecord component.CelExpr.And.right()Returns the value of therightrecord component.CelExpr.Binary.right()CelExpr.Divide.right()Returns the value of therightrecord component.CelExpr.EqualTo.right()Returns the value of therightrecord component.CelExpr.GreaterThan.right()Returns the value of therightrecord component.CelExpr.GreaterThanOrEqualTo.right()Returns the value of therightrecord component.CelExpr.In.right()Returns the value of therightrecord component.CelExpr.LessThan.right()Returns the value of therightrecord component.CelExpr.LessThanOrEqualTo.right()Returns the value of therightrecord component.CelExpr.Modulo.right()Returns the value of therightrecord component.CelExpr.Multiply.right()Returns the value of therightrecord component.CelExpr.NotEqualTo.right()Returns the value of therightrecord component.CelExpr.Or.right()Returns the value of therightrecord component.CelExpr.Subtract.right()Returns the value of therightrecord component.CelExpr.Macro.All.target()Returns the value of thetargetrecord component.CelExpr.Macro.Exists.target()Returns the value of thetargetrecord component.CelExpr.Macro.ExistsOne.target()Returns the value of thetargetrecord component.CelExpr.Macro.Filter.target()Returns the value of thetargetrecord component.CelExpr.Macro.FilterMap.target()Returns the value of thetargetrecord component.CelExpr.Macro.Map.target()Returns the value of thetargetrecord component.CelExpr.MemberCall.target()Returns the value of thetargetrecord component.CelExpr.Macro.FilterMap.transform()Returns the value of thetransformrecord component.CelExpr.Element.value()Returns the value of thevaluerecord component.CelExpr.KeyedBy.value()Returns the value of thevaluerecord component.CelExpr.withSourceIndex(int index) Returns a copy of this expression with the given source index.Methods in com.google.mu.cel that return types with arguments of type CelExprModifier and TypeMethodDescriptionCelExpr.FunctionCall.args()Returns the value of theargsrecord component.CelExpr.MemberCall.args()Returns the value of theargsrecord component.CelExpr.MapOf.entries()Returns the value of theentriesrecord component.Methods in com.google.mu.cel with parameters of type CelExprModifier and TypeMethodDescriptiondefault CelExpr.Adda.add(b)is equivalent toCelExpr.of("a + b").default CelExpr.Anda.and(b)is equivalent toCelExpr.of("a && b").default CelExpr.GreaterThanOrEqualToa.atLeast(b)is equivalent toCelExpr.of("a >= b").default CelExpr.LessThanOrEqualToa.atMost(b)is equivalent toCelExpr.of("a <= b").default CelExpr.Dividea.divide(b)is equivalent toCelExpr.of("a / b").default CelExpr.EqualToa.equalTo(b)is equivalent toCelExpr.of("a == b").default CelExpr.GreaterThanCelExpr.greaterThan(CelExpr that) a.greaterThan(b)is equivalent toCelExpr.of("a > b").default CelExpr.IfElseactive.ifElse(1, 0)is equivalent toCelExpr.of("active ? 1 : 0").default CelExpr.Ina.in(b)is equivalent toCelExpr.of("a in b").default CelExpr.Indexexpr.index(value(0))is equivalent toCelExpr.of("expr[0]").default CelExpr.LessThana.lessThan(b)is equivalent toCelExpr.of("a < b").default CelExpr.Moduloa.modulo(b)is equivalent toCelExpr.of("a % b").default CelExpr.Multiplya.multiply(b)is equivalent toCelExpr.of("a * b").static CelExpr.NegativeCelExpr.negative(value(5))is equivalent toCelExpr.of("-(5)").static CelExpr.NotCelExpr.not(value(true))is equivalent toCelExpr.of("!true").default CelExpr.NotEqualToCelExpr.notEqualTo(CelExpr that) a.notEqualTo(b)is equivalent toCelExpr.of("a != b").default CelExpr.OptionalIndexCelExpr.optionalIndex(CelExpr index) expr.optionalIndex(value(0))is equivalent toCelExpr.of("expr[?0]").default CelExpr.Ora.or(b)is equivalent toCelExpr.of("a || b").default CelExpr.Subtracta.subtract(b)is equivalent toCelExpr.of("a - b").Method parameters in com.google.mu.cel with type arguments of type CelExprModifier and TypeMethodDescriptiondefault CelExpr.MemberCallCelExpr.call(CelExpr.Ident member, List<CelExpr> args) target.call(member, args)is equivalent toCelExpr.of("target.member(args)").Constructors in com.google.mu.cel with parameters of type CelExprModifierConstructorDescriptionCreates an instance of aAddrecord class.All(CelExpr target, CelExpr.Ident iterationVar, CelExpr condition) All(CelExpr target, CelExpr.Ident iterationVar, CelExpr condition, int sourceIndex) Creates an instance of aAllrecord class.Creates an instance of aAndrecord class.Creates an instance of aDividerecord class.Creates an instance of aElementrecord class.Creates an instance of aEqualTorecord class.Exists(CelExpr target, CelExpr.Ident iterationVar, CelExpr condition) Exists(CelExpr target, CelExpr.Ident iterationVar, CelExpr condition, int sourceIndex) Creates an instance of aExistsrecord class.ExistsOne(CelExpr target, CelExpr.Ident iterationVar, CelExpr condition) ExistsOne(CelExpr target, CelExpr.Ident iterationVar, CelExpr condition, int sourceIndex) Creates an instance of aExistsOnerecord class.Filter(CelExpr target, CelExpr.Ident iterationVar, CelExpr expr) Filter(CelExpr target, CelExpr.Ident iterationVar, CelExpr expr, int sourceIndex) Creates an instance of aFilterrecord class.FilterMap(CelExpr target, CelExpr.Ident iterationVar, CelExpr filter, CelExpr transform) FilterMap(CelExpr target, CelExpr.Ident iterationVar, CelExpr filter, CelExpr transform, int sourceIndex) Creates an instance of aFilterMaprecord class.GreaterThan(CelExpr left, CelExpr right, int sourceIndex) Creates an instance of aGreaterThanrecord class.GreaterThanOrEqualTo(CelExpr left, CelExpr right, int sourceIndex) Creates an instance of aGreaterThanOrEqualTorecord class.Creates an instance of aIfElserecord class.Creates an instance of aInrecord class.Creates an instance of aIndexrecord class.Creates an instance of aKeyedByrecord class.Creates an instance of aLessThanrecord class.LessThanOrEqualTo(CelExpr left, CelExpr right, int sourceIndex) Creates an instance of aLessThanOrEqualTorecord class.Map(CelExpr target, CelExpr.Ident iterationVar, CelExpr expr) Map(CelExpr target, CelExpr.Ident iterationVar, CelExpr expr, int sourceIndex) Creates an instance of aMaprecord class.MemberCall(CelExpr target, CelExpr.Ident member, List<CelExpr> args) MemberCall(CelExpr target, CelExpr.Ident member, List<CelExpr> args, int sourceIndex) Creates an instance of aMemberCallrecord class.Creates an instance of aModulorecord class.Creates an instance of aMultiplyrecord class.Creates an instance of aNegativerecord class.Creates an instance of aNotrecord class.NotEqualTo(CelExpr left, CelExpr right, int sourceIndex) Creates an instance of aNotEqualTorecord class.OptionalIndex(CelExpr operand, CelExpr index) OptionalIndex(CelExpr operand, CelExpr index, int sourceIndex) Creates an instance of aOptionalIndexrecord class.OptionalSelect(CelExpr operand, CelExpr.Ident field) OptionalSelect(CelExpr operand, CelExpr.Ident field, int sourceIndex) Creates an instance of aOptionalSelectrecord class.Creates an instance of aOrrecord class.Select(CelExpr operand, CelExpr.Ident field) Select(CelExpr operand, CelExpr.Ident field, int sourceIndex) Creates an instance of aSelectrecord class.Creates an instance of aSubtractrecord class.Constructor parameters in com.google.mu.cel with type arguments of type CelExprModifierConstructorDescriptionFunctionCall(CelExpr.Ident function, List<CelExpr> args) FunctionCall(CelExpr.Ident function, List<CelExpr> args, int sourceIndex) Creates an instance of aFunctionCallrecord class.MapOf(List<CelExpr.KeyedBy<CelExpr>> entries, int sourceIndex) Creates an instance of aMapOfrecord class.MemberCall(CelExpr target, CelExpr.Ident member, List<CelExpr> args) MemberCall(CelExpr target, CelExpr.Ident member, List<CelExpr> args, int sourceIndex) Creates an instance of aMemberCallrecord class.