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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.ExprNodeEvaluator
      extended by org.apache.hadoop.hive.ql.exec.ExprNodeEvaluatorHead

public class ExprNodeEvaluatorHead
extends ExprNodeEvaluator

Increases version number of each evaluations for correct caching


Field Summary
 
Fields inherited from class org.apache.hadoop.hive.ql.exec.ExprNodeEvaluator
expr, outputOI
 
Constructor Summary
ExprNodeEvaluatorHead(ExprNodeEvaluator referencing)
           
 
Method Summary
protected  Object _evaluate(Object row, int version)
          Evaluate value
 ObjectInspector initialize(ObjectInspector rowInspector)
          Initialize should be called once and only once.
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.ExprNodeEvaluator
evaluate, evaluate, getChildren, getExpr, getOutputOI, isDeterministic, isStateful
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExprNodeEvaluatorHead

public ExprNodeEvaluatorHead(ExprNodeEvaluator referencing)
Method Detail

initialize

public ObjectInspector initialize(ObjectInspector rowInspector)
                           throws HiveException
Description copied from class: ExprNodeEvaluator
Initialize should be called once and only once. Return the ObjectInspector for the return value, given the rowInspector.

Specified by:
initialize in class ExprNodeEvaluator
Throws:
HiveException

_evaluate

protected Object _evaluate(Object row,
                           int version)
                    throws HiveException
Description copied from class: ExprNodeEvaluator
Evaluate value

Specified by:
_evaluate in class ExprNodeEvaluator
Throws:
HiveException


Copyright © 2012 The Apache Software Foundation