|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hive.ql.exec.ExprNodeEvaluator<ExprNodeGenericFuncDesc>
org.apache.hadoop.hive.ql.exec.ExprNodeGenericFuncEvaluator
public class ExprNodeGenericFuncEvaluator
ExprNodeGenericFuncEvaluator.
| Field Summary |
|---|
| Fields inherited from class org.apache.hadoop.hive.ql.exec.ExprNodeEvaluator |
|---|
expr, outputOI |
| Constructor Summary | |
|---|---|
ExprNodeGenericFuncEvaluator(ExprNodeGenericFuncDesc expr)
|
|
| Method Summary | |
|---|---|
protected Object |
_evaluate(Object row,
int version)
Evaluate value |
Integer |
compare(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. |
| Methods inherited from class org.apache.hadoop.hive.ql.exec.ExprNodeEvaluator |
|---|
evaluate, evaluate, getExpr, getOutputOI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExprNodeGenericFuncEvaluator(ExprNodeGenericFuncDesc expr)
throws HiveException
HiveException| Method Detail |
|---|
public ObjectInspector initialize(ObjectInspector rowInspector)
throws HiveException
ExprNodeEvaluator
initialize in class ExprNodeEvaluator<ExprNodeGenericFuncDesc>HiveExceptionpublic boolean isDeterministic()
ExprNodeEvaluator
isDeterministic in class ExprNodeEvaluator<ExprNodeGenericFuncDesc>public ExprNodeEvaluator[] getChildren()
ExprNodeEvaluator
getChildren in class ExprNodeEvaluator<ExprNodeGenericFuncDesc>public boolean isStateful()
ExprNodeEvaluator
isStateful in class ExprNodeEvaluator<ExprNodeGenericFuncDesc>
protected Object _evaluate(Object row,
int version)
throws HiveException
ExprNodeEvaluator
_evaluate in class ExprNodeEvaluator<ExprNodeGenericFuncDesc>HiveException
public Integer compare(Object row)
throws HiveException
row -
HiveException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||