|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.hive.ql.exec.ExprNodeEvaluator<ExprNodeGenericFuncDesc> org.apache.hadoop.hive.ql.exec.ExprNodeGenericFuncEvaluator
public class ExprNodeGenericFuncEvaluator
ExprNodeGenericFuncEvaluator.
Constructor Summary | |
---|---|
ExprNodeGenericFuncEvaluator(ExprNodeGenericFuncDesc expr)
|
Method Summary | |
---|---|
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, getExpr, getOutputOI |
Methods inherited from class java.lang.Object |
---|
equals, 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>
HiveException
public 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>
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 |