public class GenericUDTFGetSQLSchema extends GenericUDTF
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.mapred.JobConf |
jc |
protected StringObjectInspector |
stringOI |
Constructor and Description |
---|
GenericUDTFGetSQLSchema() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Called to notify the UDTF that there are no more rows to process.
|
StructObjectInspector |
initialize(ObjectInspector[] arguments)
Initialize this GenericUDTF.
|
void |
process(Object[] arguments)
Give a set of arguments for the UDTF to process.
|
String |
toString() |
configure, forward, initialize, setCollector
protected transient StringObjectInspector stringOI
protected transient org.apache.hadoop.mapred.JobConf jc
public void process(Object[] arguments) throws HiveException
GenericUDTF
process
in class GenericUDTF
arguments
- object array of argumentsHiveException
public StructObjectInspector initialize(ObjectInspector[] arguments) throws UDFArgumentException
GenericUDTF
initialize
in class GenericUDTF
arguments
- An array of ObjectInspectors for the argumentsUDFArgumentException
public void close() throws HiveException
GenericUDTF
close
in class GenericUDTF
HiveException
Copyright © 2022 The Apache Software Foundation. All rights reserved.