Package | Description |
---|---|
org.apache.hadoop.hive.ql.udf.generic |
Standard toolkit and framework for generic User-defined functions.
|
org.apache.hadoop.hive.serde2.objectinspector |
Modifier and Type | Method and Description |
---|---|
static Object[] |
GenericUDAFRank.copyToStandardObject(Object[] o,
ObjectInspector[] oi,
ObjectInspectorUtils.ObjectInspectorCopyOption objectInspectorOption) |
Modifier and Type | Method and Description |
---|---|
static ObjectInspectorUtils.ObjectInspectorCopyOption |
ObjectInspectorUtils.ObjectInspectorCopyOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectInspectorUtils.ObjectInspectorCopyOption[] |
ObjectInspectorUtils.ObjectInspectorCopyOption.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
ObjectInspectorUtils.copyStructToArray(Object o,
ObjectInspector oi,
ObjectInspectorUtils.ObjectInspectorCopyOption objectInspectorOption,
Object[] dest,
int offset) |
static void |
ObjectInspectorUtils.copyToStandardObject(List<Object> result,
Object row,
StructObjectInspector soi,
ObjectInspectorUtils.ObjectInspectorCopyOption objectInspectorOption)
Copy fields in the input row to the output array of standard objects.
|
static Object[] |
ObjectInspectorUtils.copyToStandardObject(Object[] o,
ObjectInspector[] oi,
ObjectInspectorUtils.ObjectInspectorCopyOption objectInspectorOption)
Returns a deep copy of an array of objects
|
static Object |
ObjectInspectorUtils.copyToStandardObject(Object o,
ObjectInspector oi,
ObjectInspectorUtils.ObjectInspectorCopyOption objectInspectorOption) |
static ObjectInspector[] |
ObjectInspectorUtils.getStandardObjectInspector(ObjectInspector[] ois,
ObjectInspectorUtils.ObjectInspectorCopyOption objectInspectorOption)
Get the corresponding standard ObjectInspector array for an array of ObjectInspector.
|
static ObjectInspector |
ObjectInspectorUtils.getStandardObjectInspector(ObjectInspector oi,
ObjectInspectorUtils.ObjectInspectorCopyOption objectInspectorOption) |
static void |
ObjectInspectorUtils.partialCopyToStandardObject(List<Object> result,
Object row,
int startCol,
int numCols,
StructObjectInspector soi,
ObjectInspectorUtils.ObjectInspectorCopyOption objectInspectorOption)
Copy specified fields in the input row to the output array of standard objects.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.