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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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


Copyright © 2011 The Apache Software Foundation