public class CastDecimalToVarChar extends CastDecimalToString implements TruncStringOutput
VectorExpression.Type
childExpressions, inputTypes, outputType
Constructor and Description |
---|
CastDecimalToVarChar() |
CastDecimalToVarChar(int inputColumn,
int outputColumn) |
Modifier and Type | Method and Description |
---|---|
protected void |
assign(org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector outV,
int i,
byte[] bytes,
int offset,
int length) |
int |
getMaxLength() |
String |
getOutputType()
Returns type of the output column.
|
void |
setMaxLength(int maxLength) |
String |
vectorExpressionParameters() |
func
evaluate, getDescriptor, getInputColumn, getOutputColumn, setInputColumn, setOutputColumn
displayArrayOfUtf8ByteArrays, displayUtf8Bytes, evaluateChildren, getChildExpressions, getInputTypes, init, setChildExpressions, setInputTypes, setOutputType, toString
public CastDecimalToVarChar()
public CastDecimalToVarChar(int inputColumn, int outputColumn)
protected void assign(org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector outV, int i, byte[] bytes, int offset, int length)
assign
in class CastDecimalToString
public String getOutputType()
VectorExpression
getOutputType
in class DecimalToStringUnaryUDF
public int getMaxLength()
getMaxLength
in interface TruncStringOutput
public void setMaxLength(int maxLength)
setMaxLength
in interface TruncStringOutput
public String vectorExpressionParameters()
vectorExpressionParameters
in class DecimalToStringUnaryUDF
Copyright © 2021 The Apache Software Foundation. All rights reserved.