org.apache.hadoop.hive.ql.exec
Class ExprNodeFieldEvaluator
java.lang.Object
org.apache.hadoop.hive.ql.exec.ExprNodeEvaluator<ExprNodeFieldDesc>
org.apache.hadoop.hive.ql.exec.ExprNodeFieldEvaluator
public class ExprNodeFieldEvaluator
- extends ExprNodeEvaluator<ExprNodeFieldDesc>
This Evaluator can evaluate s.f for s as both struct and list of struct. If s
is struct, then s.f is the field. If s is list of struct, then s.f is the
list of struct field.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExprNodeFieldEvaluator
public ExprNodeFieldEvaluator(ExprNodeFieldDesc desc)
throws HiveException
- Throws:
HiveException
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<ExprNodeFieldDesc>
- 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<ExprNodeFieldDesc>
- Throws:
HiveException
Copyright © 2012 The Apache Software Foundation