public abstract class VectorUDFTimestampFieldString extends VectorExpression
VectorExpression.Type
Modifier and Type | Field and Description |
---|---|
protected int |
colNum |
protected int |
fieldLength |
protected int |
fieldStart |
protected int |
outputColumn |
childExpressions, inputTypes, outputType
Constructor and Description |
---|
VectorUDFTimestampFieldString() |
VectorUDFTimestampFieldString(int colNum,
int outputColumn,
int fieldStart,
int fieldLength) |
Modifier and Type | Method and Description |
---|---|
protected long |
doGetField(byte[] bytes,
int start,
int length) |
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.
|
void |
setColNum(int colNum) |
void |
setOutputColumn(int outputColumn) |
evaluateChildren, getChildExpressions, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toString
protected int colNum
protected int outputColumn
protected final int fieldStart
protected final int fieldLength
public VectorUDFTimestampFieldString(int colNum, int outputColumn, int fieldStart, int fieldLength)
public VectorUDFTimestampFieldString()
protected long doGetField(byte[] bytes, int start, int length) throws ParseException
ParseException
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 VectorExpressionDescriptor.Descriptor getDescriptor()
getDescriptor
in class VectorExpression
Copyright © 2017 The Apache Software Foundation. All rights reserved.