@Override
      public Boolean execute(Object object1, Object object2, int comparator)
          throws TypeMismatchException {
        return booleanCompare(object1, object2, comparator);
      }
Enum to execute comparisons based on types.
geode-core/src/main/java/org/apache/geode/cache/query/internal/types/TypeUtils.java