Package org.apache.hadoop.hive.ql.udf

Examples of org.apache.hadoop.hive.ql.udf.SettableUDF


    return castUDF;
  }

  private static FunctionInfo handleCastForParameterizedType(TypeInfo ti, FunctionInfo fi) {
    SettableUDF udf = (SettableUDF) fi.getGenericUDF();
    try {
      udf.setTypeInfo(ti);
    } catch (UDFArgumentException e) {
      throw new RuntimeException(e);
    }
    return new FunctionInfo(fi.isNative(), fi.getDisplayName(), (GenericUDF) udf);
  }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hive.ql.udf.SettableUDF

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.