protected int reflectOperator(int op) {
    switch (op) {
      case TOK_EQ:
        return TOK_EQ;
      case TOK_NE:
        return TOK_NE;
      case TOK_LT:
        return TOK_GT;
      case TOK_GE:
        return TOK_LE;
      case TOK_LE:
        return TOK_GE;
      case TOK_GT:
        return TOK_LT;
      default:
        Support.assertionFailed("unknown operator: " + op);
        throw new Error("this line of code can never be executed");
    }
  }
return operator used when terms are reversed, maintaining the semantics e.g salary < 100000
swapped to 100000 > salary, salary >= 100000 swapped to 100000 <= salary or salary = 100000
swapped to salary = 100000
geode-core/src/main/java/org/apache/geode/cache/query/internal/AbstractCompiledValue.java