JmesPathExpression
NumericComparator
, OpEquals
, OpNotEquals
public abstract class Comparator extends Object implements JmesPathExpression
Constructor | Description |
---|---|
Comparator(JmesPathExpression lhsExpr,
JmesPathExpression rhsExpr) |
Constructs a new Comparator with the given lhs amd rhs
expressions.
|
Modifier and Type | Method | Description |
---|---|---|
JmesPathExpression |
getLhsExpr() |
|
JmesPathExpression |
getRhsExpr() |
|
abstract boolean |
matches(com.fasterxml.jackson.databind.JsonNode lhs,
com.fasterxml.jackson.databind.JsonNode rhs) |
Abstract method definition that is overriden by subclasses
to compare the lhs and rhs expressions depending on the
particular type of comparator
|
accept
public Comparator(JmesPathExpression lhsExpr, JmesPathExpression rhsExpr)
lhsExpr
- Left expressionrhsExpr
- Right expressionpublic JmesPathExpression getLhsExpr()
public JmesPathExpression getRhsExpr()
public abstract boolean matches(com.fasterxml.jackson.databind.JsonNode lhs, com.fasterxml.jackson.databind.JsonNode rhs)
lhs
- Lhs expressionrhs
- Rhs expressionCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.