org.apache.hadoop.hive.ql.udf.generic
Class GenericUDTFExplode
java.lang.Object
org.apache.hadoop.hive.ql.udf.generic.GenericUDTF
org.apache.hadoop.hive.ql.udf.generic.GenericUDTFExplode
public class GenericUDTFExplode
- extends GenericUDTF
GenericUDTFExplode
public GenericUDTFExplode()
close
public void close()
throws HiveException
- Description copied from class:
GenericUDTF
- Called to notify the UDTF that there are no more rows to process. Note
that forward() should not be called in this function. Only clean up code
should be run.
- Specified by:
close
in class GenericUDTF
- Throws:
HiveException
initialize
public StructObjectInspector initialize(ObjectInspector[] args)
throws UDFArgumentException
- Description copied from class:
GenericUDTF
- Initialize this GenericUDTF. This will be called only once per
instance.
- Specified by:
initialize
in class GenericUDTF
- Returns:
- A StructObjectInspector for output. The output struct
represents a row of the table where the fields of the stuct
are the columns. The field names are unimportant as they
will be overridden by user supplied column aliases.
- Throws:
UDFArgumentException
process
public void process(Object[] o)
throws HiveException
- Description copied from class:
GenericUDTF
- Give a set of arguments for the UDTF to process.
- Specified by:
process
in class GenericUDTF
- Throws:
HiveException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009 The Apache Software Foundation