public class StringUnaryUDF extends VectorExpression
StringUnaryUDF.IUDFUnaryString
is applied to every element of
the vector.Modifier and Type | Class and Description |
---|---|
static interface |
StringUnaryUDF.IUDFUnaryString |
VectorExpression.Type
childExpressions, inputTypes, outputType
Constructor and Description |
---|
StringUnaryUDF() |
Modifier and Type | Method and Description |
---|---|
void |
evaluate(VectorizedRowBatch batch)
This is the primary method to implement expression logic.
|
int |
getColNum() |
VectorExpressionDescriptor.Descriptor |
getDescriptor() |
StringUnaryUDF.IUDFUnaryString |
getFunc() |
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 |
setFunc(StringUnaryUDF.IUDFUnaryString func) |
void |
setOutputColumn(int outputColumn) |
evaluateChildren, getChildExpressions, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toString
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 StringUnaryUDF.IUDFUnaryString getFunc()
public void setFunc(StringUnaryUDF.IUDFUnaryString func)
public void setOutputColumn(int outputColumn)
public VectorExpressionDescriptor.Descriptor getDescriptor()
getDescriptor
in class VectorExpression
Copyright © 2016 The Apache Software Foundation. All rights reserved.