protected boolean supportsCategory(Category c){
    return c == Category.PRIMITIVE;
  }
Returns whether the operator can handle operands with the specified category.
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFBaseCompare.java