org.apache.hadoop.hive.ql.exec.vector
Class VectorSelectOperator

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.Operator<SelectDesc>
      extended by org.apache.hadoop.hive.ql.exec.SelectOperator
          extended by org.apache.hadoop.hive.ql.exec.vector.VectorSelectOperator
All Implemented Interfaces:
Serializable, Cloneable, VectorizationContextRegion, Node

public class VectorSelectOperator
extends SelectOperator
implements VectorizationContextRegion

Select operator implementation.

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  VectorExpression[] vExpressions
           
 
Fields inherited from class org.apache.hadoop.hive.ql.exec.SelectOperator
eval
 
Fields inherited from class org.apache.hadoop.hive.ql.exec.Operator
alias, childOperators, childOperatorsArray, childOperatorsTag, colExprMap, conf, done, groupKeyObject, groupKeyOI, HIVECOUNTERCREATEDFILES, HIVECOUNTERFATAL, id, inputObjInspectors, isLogInfoEnabled, LOG, operatorId, out, outputObjInspector, parentOperators, reporter, state, statsMap
 
Constructor Summary
VectorSelectOperator()
           
VectorSelectOperator(VectorizationContext vContext, OperatorDesc conf)
           
 
Method Summary
static String getOperatorName()
           
 VectorizationContext getOuputVectorizationContext()
           
 VectorExpression[] getvExpressions()
           
 VectorExpression[] getVExpressions()
           
protected  void initializeOp(org.apache.hadoop.conf.Configuration hconf)
          Operator specific initialization.
 void processOp(Object row, int tag)
          Process the row.
 void setvExpressions(VectorExpression[] vExpressions)
           
 void setVExpressions(VectorExpression[] vExpressions)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.SelectOperator
acceptLimitPushdown, columnNamesRowResolvedCanBeObtained, getName, getType, supportAutomaticSortMergeJoin, supportSkewJoinOptimization, supportUnionRemoveOptimization
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.Operator
allInitializedParentsAreClosed, areAllParentsInitialized, augmentPlan, cleanUpInputFileChanged, cleanUpInputFileChangedOp, clone, cloneOp, cloneRecursiveChildren, close, closeOp, defaultEndGroup, defaultStartGroup, dump, dump, endGroup, flush, forward, getAdditionalCounters, getChildOperators, getChildren, getColumnExprMap, getConf, getConfiguration, getDone, getExecContext, getGroupKeyObject, getGroupKeyObjectInspector, getIdentifier, getInputObjInspectors, getNextCntr, getNumChild, getNumParent, getOperatorId, getOpTraits, getOutputObjInspector, getParentOperators, getSchema, getStatistics, getStats, initEvaluators, initEvaluators, initEvaluatorsAndReturnStruct, initialize, initialize, initializeChildren, initializeLocalWork, initOperatorId, isUseBucketizedHiveInputFormat, jobClose, jobCloseOp, logStats, opAllowedAfterMapJoin, opAllowedBeforeMapJoin, opAllowedBeforeSortMergeJoin, opAllowedConvertMapJoin, passExecContext, preorderMap, processGroup, removeChild, removeChildAndAdoptItsChildren, removeChildren, removeParent, replaceChild, replaceParent, reset, resetId, resetStats, setAlias, setChildOperators, setColumnExprMap, setConf, setDone, setExecContext, setGroupKeyObject, setGroupKeyObjectInspector, setId, setInputObjInspectors, setOperatorId, setOpTraits, setOutputCollector, setParentOperators, setReporter, setSchema, setStatistics, setUseBucketizedHiveInputFormat, startGroup, toString, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

vExpressions

protected VectorExpression[] vExpressions
Constructor Detail

VectorSelectOperator

public VectorSelectOperator(VectorizationContext vContext,
                            OperatorDesc conf)
                     throws HiveException
Throws:
HiveException

VectorSelectOperator

public VectorSelectOperator()
Method Detail

initializeOp

protected void initializeOp(org.apache.hadoop.conf.Configuration hconf)
                     throws HiveException
Description copied from class: Operator
Operator specific initialization.

Overrides:
initializeOp in class SelectOperator
Throws:
HiveException

processOp

public void processOp(Object row,
                      int tag)
               throws HiveException
Description copied from class: Operator
Process the row.

Overrides:
processOp in class SelectOperator
Parameters:
row - The object representing the row.
tag - The tag of the row usually means which parent this row comes from. Rows with the same tag should have exactly the same rowInspector all the time.
Throws:
HiveException

getOperatorName

public static String getOperatorName()

getvExpressions

public VectorExpression[] getvExpressions()

getVExpressions

public VectorExpression[] getVExpressions()

setvExpressions

public void setvExpressions(VectorExpression[] vExpressions)

setVExpressions

public void setVExpressions(VectorExpression[] vExpressions)

getOuputVectorizationContext

public VectorizationContext getOuputVectorizationContext()
Specified by:
getOuputVectorizationContext in interface VectorizationContextRegion


Copyright © 2014 The Apache Software Foundation. All rights reserved.