public class CastDecimalToVarChar extends CastDecimalToString implements TruncStringOutput
VectorExpression.TypechildExpressions, inputTypes, outputType| Constructor and Description |
|---|
CastDecimalToVarChar() |
CastDecimalToVarChar(int inputColumn,
int outputColumn) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assign(BytesColumnVector outV,
int i,
byte[] bytes,
int length) |
int |
getMaxLength() |
String |
getOutputType()
Returns type of the output column.
|
void |
setMaxLength(int maxLength) |
funcevaluate, getDescriptor, getInputColumn, getOutputColumn, setInputColumn, setOutputColumnevaluateChildren, getChildExpressions, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toStringpublic CastDecimalToVarChar()
public CastDecimalToVarChar(int inputColumn,
int outputColumn)
protected void assign(BytesColumnVector outV, int i, byte[] bytes, int length)
assign in class CastDecimalToStringpublic String getOutputType()
VectorExpressiongetOutputType in class DecimalToStringUnaryUDFpublic int getMaxLength()
getMaxLength in interface TruncStringOutputpublic void setMaxLength(int maxLength)
setMaxLength in interface TruncStringOutputCopyright © 2017 The Apache Software Foundation. All rights reserved.