Class OrExpression
- java.lang.Object
-
- software.amazon.awssdk.codegen.jmespath.component.OrExpression
-
public class OrExpression extends Object
An or expression will evaluate to either the left expression or the right expression. If the evaluation of the left expression is not false it is used as the return value. If the evaluation of the right expression is not false it is used as the return value. If neither the left or right expression are non-null, then a value of null is returned. Examples:- True || False
- Number || EmptyList
- a == `1` || b == `2`
-
-
Constructor Summary
Constructors Constructor Description OrExpression(Expression leftExpression, Expression rightExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
leftExpression()
Expression
rightExpression()
-
-
-
Constructor Detail
-
OrExpression
public OrExpression(Expression leftExpression, Expression rightExpression)
-
-
Method Detail
-
leftExpression
public Expression leftExpression()
-
rightExpression
public Expression rightExpression()
-
-