public class IdentityExpression extends VectorExpression
VectorExpression.TypechildExpressions, inputTypes, outputType| Constructor and Description |
|---|
IdentityExpression() |
IdentityExpression(int colNum,
String type) |
| Modifier and Type | Method and Description |
|---|---|
void |
evaluate(VectorizedRowBatch batch)
This is the primary method to implement expression logic.
|
int |
getColNum() |
VectorExpressionDescriptor.Descriptor |
getDescriptor() |
int |
getOutputColumn()
Returns the index of the output column in the array
of column vectors.
|
String |
getOutputType()
Returns type of the output column.
|
String |
getType() |
static boolean |
isColumnOnly(VectorExpression ve) |
void |
setColNum(int colNum) |
void |
setType(String type) |
evaluateChildren, getChildExpressions, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toStringpublic IdentityExpression()
public IdentityExpression(int colNum,
String type)
public void evaluate(VectorizedRowBatch batch)
VectorExpressionevaluate in class VectorExpressionpublic static boolean isColumnOnly(VectorExpression ve)
public int getOutputColumn()
VectorExpressiongetOutputColumn in class VectorExpressionpublic String getOutputType()
VectorExpressiongetOutputType in class VectorExpressionpublic int getColNum()
public String getType()
public void setColNum(int colNum)
public void setType(String type)
public VectorExpressionDescriptor.Descriptor getDescriptor()
getDescriptor in class VectorExpressionCopyright © 2017 The Apache Software Foundation. All rights reserved.