@Override
    public String toString() {
        return "ComparatorExpression{comparator='" + getComparator() + '\''
                + ", left=" + getLeft()
                + ", right=" + getRight() + '}';
    }
Gets the comparator to apply to the left and right expressions.

@return Returns the comparator.
smithy-jmespath/src/main/java/software/amazon/smithy/jmespath/ast/ComparatorExpression.java