public class StringSubstrColStartLen extends VectorExpression
VectorExpression.TypechildExpressions, 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, toStringpublic StringSubstrColStartLen(int colNum,
int startIdx,
int length,
int outputColumn)
public StringSubstrColStartLen()
public void evaluate(VectorizedRowBatch batch)
VectorExpressionevaluate in class VectorExpressionpublic int getOutputColumn()
VectorExpressiongetOutputColumn in class VectorExpressionpublic String getOutputType()
VectorExpressiongetOutputType in class VectorExpressionpublic 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 VectorExpressionCopyright © 2017 The Apache Software Foundation. All rights reserved.