public class ExprNodeConstantEvaluator extends ExprNodeEvaluator<ExprNodeConstantDesc>
expr, outputOI
Constructor and Description |
---|
ExprNodeConstantEvaluator(ExprNodeConstantDesc expr) |
Modifier and Type | Method and Description |
---|---|
protected Object |
_evaluate(Object row,
int version)
Evaluate value
|
ObjectInspector |
initialize(ObjectInspector rowInspector)
Initialize should be called once and only once.
|
evaluate, evaluate, getChildren, getExpr, getOutputOI, isDeterministic, isStateful, toString
public ExprNodeConstantEvaluator(ExprNodeConstantDesc expr)
public ObjectInspector initialize(ObjectInspector rowInspector) throws HiveException
ExprNodeEvaluator
initialize
in class ExprNodeEvaluator<ExprNodeConstantDesc>
HiveException
protected Object _evaluate(Object row, int version) throws HiveException
ExprNodeEvaluator
_evaluate
in class ExprNodeEvaluator<ExprNodeConstantDesc>
HiveException
Copyright © 2017 The Apache Software Foundation. All rights reserved.