public abstract class Comparator extends Object implements JmesPathExpression
Constructor and Description |
---|
Comparator(JmesPathExpression lhsExpr,
JmesPathExpression rhsExpr)
Constructs a new Comparator with the given lhs amd rhs
expressions.
|
Modifier and Type | Method and 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
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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 © 2013 Amazon Web Services, Inc. All Rights Reserved.