public class StringSubstrColStartLen extends VectorExpression
VectorExpression.Type
childExpressions, inputTypes, outputType
Constructor and Description |
---|
StringSubstrColStartLen() |
StringSubstrColStartLen(int colNum,
int startIdx,
int length,
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() |
int |
getLength() |
int |
getOutputColumn()
Returns the index of the output column in the array
of column vectors.
|
String |
getOutputType()
Returns type of the output column.
|
int |
getStartIdx() |
void |
setColNum(int colNum) |
void |
setLength(int length) |
void |
setOutputColumn(int outputColumn) |
void |
setStartIdx(int startIdx) |
evaluateChildren, getChildExpressions, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toString
public StringSubstrColStartLen(int colNum, int startIdx, int length, int outputColumn)
public StringSubstrColStartLen()
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 getStartIdx()
public void setStartIdx(int startIdx)
public int getColNum()
public void setColNum(int colNum)
public int getLength()
public void setLength(int length)
public void setOutputColumn(int outputColumn)
public VectorExpressionDescriptor.Descriptor getDescriptor()
getDescriptor
in class VectorExpression
Copyright © 2016 The Apache Software Foundation. All rights reserved.