public class CastBooleanToVarCharViaLongToVarChar extends CastBooleanToStringViaLongToString implements TruncStringOutput
VectorExpression.Type
childExpressions, inputTypes, outputType
Constructor and Description |
---|
CastBooleanToVarCharViaLongToVarChar() |
CastBooleanToVarCharViaLongToVarChar(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) |
func
evaluate, getDescriptor, getInputColumn, getOutputColumn, setInputColumn, setOutputColumn
evaluateChildren, getChildExpressions, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toString
public CastBooleanToVarCharViaLongToVarChar(int inputColumn, int outputColumn)
public CastBooleanToVarCharViaLongToVarChar()
protected void assign(BytesColumnVector outV, int i, byte[] bytes, int length)
assign
in class CastBooleanToStringViaLongToString
public String getOutputType()
VectorExpression
getOutputType
in class LongToStringUnaryUDF
public int getMaxLength()
getMaxLength
in interface TruncStringOutput
public void setMaxLength(int maxLength)
setMaxLength
in interface TruncStringOutput
Copyright © 2017 The Apache Software Foundation. All rights reserved.