org.apache.hadoop.hive.ql.udf.generic
Class UDTFCollector
java.lang.Object
org.apache.hadoop.hive.ql.udf.generic.UDTFCollector
- All Implemented Interfaces:
- Collector
public class UDTFCollector
- extends Object
- implements Collector
UDTFCollector collects data from a GenericUDTF and passes the data to a
UDTFOperator.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UDTFCollector
public UDTFCollector(UDTFOperator op)
collect
public void collect(Object input)
throws HiveException
- Description copied from interface:
Collector
- Other classes will call collect() with the data that it has.
- Specified by:
collect
in interface Collector
- Throws:
HiveException
getCounter
public int getCounter()
reset
public void reset()
Copyright © 2012 The Apache Software Foundation