public class ExprNodeGenericFuncEvaluator extends ExprNodeEvaluator<ExprNodeGenericFuncDesc>
expr, outputOI| Constructor and Description |
|---|
ExprNodeGenericFuncEvaluator(ExprNodeGenericFuncDesc expr) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
_evaluate(java.lang.Object row,
int version)
Evaluate value
|
java.lang.Integer |
compare(java.lang.Object row)
If the genericUDF is a base comparison, it returns an integer based on the result of comparing
the two sides of the UDF, like the compareTo method in Comparable.
|
ExprNodeEvaluator[] |
getChildren()
Return child evaluators if exist
|
ObjectInspector |
initialize(ObjectInspector rowInspector)
Initialize should be called once and only once.
|
boolean |
isDeterministic()
Return whether this node (and all children nodes) are deterministic.
|
boolean |
isStateful()
Return whether this node (or any children nodes) are stateful.
|
evaluate, evaluate, getExpr, getOutputOIpublic ExprNodeGenericFuncEvaluator(ExprNodeGenericFuncDesc expr) throws HiveException
HiveExceptionpublic ObjectInspector initialize(ObjectInspector rowInspector) throws HiveException
ExprNodeEvaluatorinitialize in class ExprNodeEvaluator<ExprNodeGenericFuncDesc>HiveExceptionpublic boolean isDeterministic()
ExprNodeEvaluatorisDeterministic in class ExprNodeEvaluator<ExprNodeGenericFuncDesc>public ExprNodeEvaluator[] getChildren()
ExprNodeEvaluatorgetChildren in class ExprNodeEvaluator<ExprNodeGenericFuncDesc>public boolean isStateful()
ExprNodeEvaluatorisStateful in class ExprNodeEvaluator<ExprNodeGenericFuncDesc>protected java.lang.Object _evaluate(java.lang.Object row,
int version)
throws HiveException
ExprNodeEvaluator_evaluate in class ExprNodeEvaluator<ExprNodeGenericFuncDesc>HiveExceptionpublic java.lang.Integer compare(java.lang.Object row)
throws HiveException
row - HiveExceptionCopyright © 2012 The Apache Software Foundation