public class GenericUDFParamUtils extends Object
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.io.BytesWritable |
getBinaryValue(GenericUDF.DeferredObject[] arguments,
int i,
ObjectInspectorConverters.Converter[] converters) |
static org.apache.hadoop.io.BytesWritable |
getConstantBytesValue(ObjectInspector[] arguments,
int i) |
static org.apache.hadoop.io.Text |
getTextValue(GenericUDF.DeferredObject[] arguments,
int i,
ObjectInspectorConverters.Converter[] converters) |
static void |
obtainBinaryConverter(ObjectInspector[] arguments,
int i,
PrimitiveObjectInspector.PrimitiveCategory[] inputTypes,
ObjectInspectorConverters.Converter[] converters) |
public static org.apache.hadoop.io.BytesWritable getBinaryValue(GenericUDF.DeferredObject[] arguments, int i, ObjectInspectorConverters.Converter[] converters) throws HiveException
HiveException
public static org.apache.hadoop.io.Text getTextValue(GenericUDF.DeferredObject[] arguments, int i, ObjectInspectorConverters.Converter[] converters) throws HiveException
HiveException
public static void obtainBinaryConverter(ObjectInspector[] arguments, int i, PrimitiveObjectInspector.PrimitiveCategory[] inputTypes, ObjectInspectorConverters.Converter[] converters) throws UDFArgumentTypeException
UDFArgumentTypeException
public static org.apache.hadoop.io.BytesWritable getConstantBytesValue(ObjectInspector[] arguments, int i)
Copyright © 2016 The Apache Software Foundation. All rights reserved.