org.apache.hadoop.hive.ql.optimizer.ppr
Class PartExprEvalUtils

java.lang.Object
  extended by org.apache.hadoop.hive.ql.optimizer.ppr.PartExprEvalUtils

public class PartExprEvalUtils
extends Object


Constructor Summary
PartExprEvalUtils()
           
 
Method Summary
static Object evalExprWithPart(ExprNodeDesc expr, LinkedHashMap<String,String> partSpec, StructObjectInspector rowObjectInspector)
          Evaluate expression with partition columns
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartExprEvalUtils

public PartExprEvalUtils()
Method Detail

evalExprWithPart

public static Object evalExprWithPart(ExprNodeDesc expr,
                                      LinkedHashMap<String,String> partSpec,
                                      StructObjectInspector rowObjectInspector)
                               throws HiveException
Evaluate expression with partition columns

Parameters:
expr -
partSpec -
rowObjectInspector -
Returns:
value returned by the expression
Throws:
HiveException


Copyright © 2011 The Apache Software Foundation