public class VectorUDFArgDesc extends Object implements Serializable
Constructor and Description |
---|
VectorUDFArgDesc() |
Modifier and Type | Method and Description |
---|---|
int |
getColumn() |
int |
getColumnNum() |
ExprNodeConstantDesc |
getConstExpr() |
GenericUDF.DeferredObject |
getDeferredJavaObject(int row,
VectorizedRowBatch b,
int argPosition,
VectorExpressionWriter[] writers) |
boolean |
getIsConstant() |
boolean |
isConstant() |
boolean |
isVariable() |
void |
prepareConstant() |
void |
setColumnNum(int columnNum) |
void |
setConstant(ExprNodeConstantDesc expr)
Set this argument to a constant value extracted from the
expression tree.
|
void |
setConstExpr(ExprNodeConstantDesc constExpr) |
void |
setIsConstant(boolean isConstant) |
void |
setVariable(int i)
Set this argument to be a "variable" one which is to be taken from
a specified column vector number i.
|
public void setConstant(ExprNodeConstantDesc expr)
public void prepareConstant()
public void setVariable(int i)
public boolean isConstant()
public boolean isVariable()
public int getColumn()
public GenericUDF.DeferredObject getDeferredJavaObject(int row, VectorizedRowBatch b, int argPosition, VectorExpressionWriter[] writers)
public boolean getIsConstant()
public void setIsConstant(boolean isConstant)
public int getColumnNum()
public void setColumnNum(int columnNum)
public ExprNodeConstantDesc getConstExpr()
public void setConstExpr(ExprNodeConstantDesc constExpr)
Copyright © 2016 The Apache Software Foundation. All rights reserved.