org.apache.hadoop.hive.ql.udf.generic
Class UDTFCollector

java.lang.Object
  extended by 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.


Constructor Summary
UDTFCollector(UDTFOperator op)
           
 
Method Summary
 void collect(Object input)
          Other classes will call collect() with the data that it has.
 int getCounter()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDTFCollector

public UDTFCollector(UDTFOperator op)
Method Detail

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 © 2014 The Apache Software Foundation. All rights reserved.