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