public class GenericUDTFCount2 extends GenericUDTF
Constructor and Description |
---|
GenericUDTFCount2() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Called to notify the UDTF that there are no more rows to process.
|
StructObjectInspector |
initialize(ObjectInspector[] argOIs)
Initialize this GenericUDTF.
|
void |
process(Object[] args)
Give a set of arguments for the UDTF to process.
|
configure, forward, initialize, setCollector
public void close() throws HiveException
GenericUDTF
close
in class GenericUDTF
HiveException
public StructObjectInspector initialize(ObjectInspector[] argOIs) throws UDFArgumentException
GenericUDTF
initialize
in class GenericUDTF
argOIs
- An array of ObjectInspectors for the argumentsUDFArgumentException
public void process(Object[] args) throws HiveException
GenericUDTF
process
in class GenericUDTF
args
- object array of argumentsHiveException
Copyright © 2017 The Apache Software Foundation. All rights reserved.