public static String invertFuncText(final String funcText) {
    // Reverse the text
    switch (funcText) {
      case "<":
        return ">";
      case "<=":
        return ">=";
      case ">":
        return "<";
      case ">=":
        return "<=";
      default:
        return null; // helps identify unsupported functions
    }
  }
Function to invert non-equi function texts
@param funcText
ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java