public class CastStringGroupToVarChar extends StringUnaryUDFDirect implements TruncStringOutput
VectorExpression.Type
childExpressions, inputTypes, outputType
Constructor and Description |
---|
CastStringGroupToVarChar() |
CastStringGroupToVarChar(int inputColumn,
int outputColumn) |
Modifier and Type | Method and Description |
---|---|
protected void |
func(org.apache.hadoop.hive.ql.exec.vector.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) |
String |
vectorExpressionParameters() |
evaluate, getDescriptor, getInputColumn, getOutputColumn, setInputColumn, setOutputColumn
displayArrayOfUtf8ByteArrays, displayUtf8Bytes, evaluateChildren, getChildExpressions, getInputTypes, init, setChildExpressions, setInputTypes, setOutputType, toString
public CastStringGroupToVarChar(int inputColumn, int outputColumn)
public CastStringGroupToVarChar()
protected void func(org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector outV, byte[][] vector, int[] start, int[] length, int i)
func
in class StringUnaryUDFDirect
public String getOutputType()
VectorExpression
getOutputType
in class StringUnaryUDFDirect
public int getMaxLength()
getMaxLength
in interface TruncStringOutput
public void setMaxLength(int maxLength)
setMaxLength
in interface TruncStringOutput
public String vectorExpressionParameters()
vectorExpressionParameters
in class StringUnaryUDFDirect
Copyright © 2021 The Apache Software Foundation. All rights reserved.