public class VectorUDFDateAddScalarCol extends VectorExpression
VectorExpression.Type
Modifier and Type | Field and Description |
---|---|
protected boolean |
isPositive |
childExpressions, inputTypes, outputType
Constructor and Description |
---|
VectorUDFDateAddScalarCol() |
VectorUDFDateAddScalarCol(Object object,
int colNum,
int outputColumn) |
Modifier and Type | Method and Description |
---|---|
void |
evaluate(VectorizedRowBatch batch)
This is the primary method to implement expression logic.
|
int |
getColNum() |
VectorExpressionDescriptor.Descriptor |
getDescriptor() |
long |
getLongValue() |
int |
getOutputColumn()
Returns the index of the output column in the array
of column vectors.
|
String |
getOutputType()
Returns type of the output column.
|
byte[] |
getStringValue() |
boolean |
isPositive() |
void |
setColNum(int colNum) |
void |
setLongValue(long longValue) |
void |
setOutputColumn(int outputColumn) |
void |
setPositive(boolean isPositive) |
void |
setStringValue(byte[] stringValue) |
evaluateChildren, getChildExpressions, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toString
public VectorUDFDateAddScalarCol()
public VectorUDFDateAddScalarCol(Object object, int colNum, int outputColumn)
public void evaluate(VectorizedRowBatch batch)
VectorExpression
evaluate
in class VectorExpression
public int getOutputColumn()
VectorExpression
getOutputColumn
in class VectorExpression
public String getOutputType()
VectorExpression
getOutputType
in class VectorExpression
public int getColNum()
public void setColNum(int colNum)
public void setOutputColumn(int outputColumn)
public long getLongValue()
public void setLongValue(long longValue)
public byte[] getStringValue()
public void setStringValue(byte[] stringValue)
public boolean isPositive()
public void setPositive(boolean isPositive)
public VectorExpressionDescriptor.Descriptor getDescriptor()
getDescriptor
in class VectorExpression
Copyright © 2016 The Apache Software Foundation. All rights reserved.