thomasmueller commented on code in PR #3139:
URL: https://github.com/apache/jackrabbit-oak/pull/3139#discussion_r4204076363


##########
oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/AstElementFactory.java:
##########
@@ -126,6 +126,22 @@ public FirstImpl first(DynamicOperandImpl operand) {
         return new FirstImpl(operand);
     }
 
+    public IfImpl ifOperand(DynamicOperandImpl condition, DynamicOperandImpl 
trueValue, DynamicOperandImpl falseValue) {
+        return new IfImpl(condition, trueValue, falseValue);
+    }
+
+    public ExistsImpl existsOperand(DynamicOperandImpl operand) {
+        return new ExistsImpl(operand);
+    }
+
+    public OpImpl op(DynamicOperandImpl operand1, DynamicOperandImpl operator, 
DynamicOperandImpl operand2) {

Review Comment:
   There is already such a test: 
processOp_math_withMissingOrNonNumericOperandIsNull



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to