public class CastStringGroupToVarChar extends StringUnaryUDFDirect implements TruncStringOutput
VectorExpression.TypechildExpressions, inputTypes, outputType| Constructor and Description |
|---|
CastStringGroupToVarChar() |
CastStringGroupToVarChar(int inputColumn,
int outputColumn) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
func(BytesColumnVector outV,
byte[][] vector,
int[] start,
int[] length,
int i)
Do right trim and truncate for CHAR.
|
int |
getMaxLength() |
String |
getOutputType()
Returns type of the output column.
|
void |
setMaxLength(int maxLength) |
evaluate, getDescriptor, getInputColumn, getOutputColumn, setInputColumn, setOutputColumnevaluateChildren, getChildExpressions, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toStringpublic CastStringGroupToVarChar(int inputColumn,
int outputColumn)
public CastStringGroupToVarChar()
protected void func(BytesColumnVector outV, byte[][] vector, int[] start, int[] length, int i)
func in class StringUnaryUDFDirectpublic String getOutputType()
VectorExpressiongetOutputType in class StringUnaryUDFDirectpublic int getMaxLength()
getMaxLength in interface TruncStringOutputpublic void setMaxLength(int maxLength)
setMaxLength in interface TruncStringOutputCopyright © 2017 The Apache Software Foundation. All rights reserved.