public static GenericUDF getGenericUDFForAnd() {
    try {
      return FunctionRegistry.getFunctionInfo("and").getGenericUDF();
    } catch (SemanticException e) {
      throw new RuntimeException("hive operator -- never be thrown", e);
    }
  }
A shortcut to get the "and" GenericUDF.
ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java