public ExprBuilder pred(String name, int args) throws Exception {
      return fn(name, TypeInfoFactory.booleanTypeInfo, args);
    }
Helper class for building an expression.
ql/src/test/org/apache/hadoop/hive/metastore/TestMetastoreExpr.java