org.apache.hadoop.hive.ql.udf.generic
Class GenericUDFUtils.PrimitiveConversionHelper

java.lang.Object
  extended by org.apache.hadoop.hive.ql.udf.generic.GenericUDFUtils.PrimitiveConversionHelper
Enclosing class:
GenericUDFUtils

public static class GenericUDFUtils.PrimitiveConversionHelper
extends Object

Convert primitive parameters between Java and Writable when needed.


Constructor Summary
GenericUDFUtils.PrimitiveConversionHelper(Method m, ObjectInspector[] parameters)
          Create a PrimitiveConversionHelper for Method m.
 
Method Summary
 Object[] convertIfNecessary(Object... parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericUDFUtils.PrimitiveConversionHelper

public GenericUDFUtils.PrimitiveConversionHelper(Method m,
                                                 ObjectInspector[] parameters)
Create a PrimitiveConversionHelper for Method m. The ObjectInspector's input parameters are specified in parameters.

Method Detail

convertIfNecessary

public Object[] convertIfNecessary(Object... parameters)


Copyright © 2009 The Apache Software Foundation