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(org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector outV,
int i,
byte[] bytes,
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 CastBooleanToVarCharViaLongToVarChar(int inputColumn, int outputColumn)
public CastBooleanToVarCharViaLongToVarChar()
protected void assign(org.apache.hadoop.hive.ql.exec.vector.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
public String vectorExpressionParameters()
vectorExpressionParameters
in class LongToStringUnaryUDF
Copyright © 2021 The Apache Software Foundation. All rights reserved.