public class OpLessThan extends NumericComparator
Constructor and Description |
---|
OpLessThan(JmesPathExpression lhsExpr,
JmesPathExpression rhsExpr) |
Modifier and Type | Method and Description |
---|---|
<Input,Output> |
accept(JmesPathVisitor<Input,Output> visitor,
Input input)
Delegates to either the CodeGen visitor(Comparator) or
Evaluation visitor(Comparator) based on the type of JmesPath
visitor
|
boolean |
matches(BigDecimal lhs,
BigDecimal rhs)
Checks whether lhs is less than rhs
|
matches
getLhsExpr, getRhsExpr
public OpLessThan(JmesPathExpression lhsExpr, JmesPathExpression rhsExpr)
public <Input,Output> Output accept(JmesPathVisitor<Input,Output> visitor, Input input) throws InvalidTypeException
Input
- Input type for the visitor
CodeGen visitor: Void
Evaluation visitor: JsonNodeOutput
- Output type for the visitor
CodeGen visitor: String
Evaluation visitor: JsonNodevisitor
- CodeGen visitor or Evaluation visitorinput
- Input expression that needs to be evaluatedInvalidTypeException
public boolean matches(BigDecimal lhs, BigDecimal rhs)
matches
in class NumericComparator
lhs
- Lhs numberrhs
- Rhs numberCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.