org.apache.hadoop.hive.ql.exec
Class CollectOperator

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.Operator<collectDesc>
      extended by org.apache.hadoop.hive.ql.exec.CollectOperator
All Implemented Interfaces:
Serializable, Node

public class CollectOperator
extends Operator<collectDesc>
implements Serializable

Buffers rows emitted by other operators

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.exec.Operator
Operator.OperatorFunc, Operator.State
 
Field Summary
protected  ArrayList<ObjectInspector> rowInspectorList
           
protected  ArrayList<Object> rowList
           
 
Fields inherited from class org.apache.hadoop.hive.ql.exec.Operator
alias, childOperators, conf, done, gWork, id, joinAlias, LOG, out, parentOperators, reporter, statsMap
 
Constructor Summary
CollectOperator()
           
 
Method Summary
 void initialize(org.apache.hadoop.conf.Configuration hconf, org.apache.hadoop.mapred.Reporter reporter)
           
 void process(Object row, ObjectInspector rowInspector)
           
 void retrieve(InspectableObject result)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.Operator
close, dump, endGroup, forward, getChildOperators, getChildren, getConf, getDone, getName, getParentOperators, getSchema, getStats, jobClose, logStats, preorderMap, resetStats, setAlias, setChildOperators, setConf, setDone, setId, setJoinAlias, setMapredWork, setOutputCollector, setParentOperators, setSchema, startGroup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rowList

protected transient ArrayList<Object> rowList

rowInspectorList

protected transient ArrayList<ObjectInspector> rowInspectorList
Constructor Detail

CollectOperator

public CollectOperator()
Method Detail

initialize

public void initialize(org.apache.hadoop.conf.Configuration hconf,
                       org.apache.hadoop.mapred.Reporter reporter)
                throws HiveException
Overrides:
initialize in class Operator<collectDesc>
Throws:
HiveException

process

public void process(Object row,
                    ObjectInspector rowInspector)
             throws HiveException
Specified by:
process in class Operator<collectDesc>
Throws:
HiveException

retrieve

public void retrieve(InspectableObject result)


Copyright © 2009 The Apache Software Foundation