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

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

public class JoinOperator
extends Operator<joinDesc>
implements Serializable

Join operator implementation.

See Also:
Serialized Form

Nested Class Summary
static class JoinOperator.IntermediateObject
           
static class JoinOperator.JoinExprMap
           
 
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.exec.Operator
Operator.OperatorFunc, Operator.State
 
Field Summary
protected static ExprNodeEvaluator aliasField
           
protected  joinCond[] condn
           
protected  HashMap<Byte,JoinOperator.JoinExprMap> joinExprs
           
protected static ExprNodeEvaluator keyField
           
protected  boolean noOuterJoin
           
protected  int numValues
           
protected static Byte[] order
           
 
Fields inherited from class org.apache.hadoop.hive.ql.exec.Operator
alias, childOperators, conf, done, gWork, id, joinAlias, out, parentOperators, reporter, statsMap
 
Constructor Summary
JoinOperator()
           
 
Method Summary
 void close(boolean abort)
          All done
 void endGroup()
          Forward a record of join results.
 void initialize(org.apache.hadoop.conf.Configuration hconf, org.apache.hadoop.mapred.Reporter reporter)
           
 void process(Object row, ObjectInspector rowInspector)
           
 void startGroup()
           
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.Operator
dump, forward, getChildOperators, getChildren, getConf, getDone, getName, getParentOperators, getSchema, getStats, jobClose, logStats, preorderMap, resetStats, setAlias, setChildOperators, setConf, setDone, setId, setJoinAlias, setMapredWork, setOutputCollector, setParentOperators, setSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numValues

protected transient int numValues

aliasField

protected static transient ExprNodeEvaluator aliasField

keyField

protected static transient ExprNodeEvaluator keyField

joinExprs

protected transient HashMap<Byte,JoinOperator.JoinExprMap> joinExprs

order

protected static transient Byte[] order

condn

protected transient joinCond[] condn

noOuterJoin

protected transient boolean noOuterJoin
Constructor Detail

JoinOperator

public JoinOperator()
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<joinDesc>
Throws:
HiveException

startGroup

public void startGroup()
                throws HiveException
Overrides:
startGroup in class Operator<joinDesc>
Throws:
HiveException

process

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

endGroup

public void endGroup()
              throws HiveException
Forward a record of join results.

Overrides:
endGroup in class Operator<joinDesc>
Throws:
HiveException

close

public void close(boolean abort)
           throws HiveException
All done

Overrides:
close in class Operator<joinDesc>
Throws:
HiveException


Copyright © 2009 The Apache Software Foundation