public class FilterColAndScalar extends VectorExpression
VectorExpression.TypechildExpressions, inputTypes, outputType| Constructor and Description |
|---|
FilterColAndScalar() |
FilterColAndScalar(int colNum,
long scalarVal) |
| 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.
|
double |
getValue() |
void |
setColNum(int colNum) |
void |
setValue(long value) |
evaluateChildren, getChildExpressions, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toStringpublic FilterColAndScalar()
public FilterColAndScalar(int colNum,
long scalarVal)
public void evaluate(VectorizedRowBatch batch)
VectorExpressionevaluate in class VectorExpressionpublic int getOutputColumn()
VectorExpressiongetOutputColumn in class VectorExpressionpublic String getOutputType()
VectorExpressiongetOutputType in class VectorExpressionpublic int getColNum()
public void setColNum(int colNum)
public double getValue()
public void setValue(long value)
public VectorExpressionDescriptor.Descriptor getDescriptor()
getDescriptor in class VectorExpressionCopyright © 2015 The Apache Software Foundation. All rights reserved.