public class StringTrim extends StringUnaryUDFDirect
VectorExpression.Type
childExpressions, inputTypes, outputType
Constructor and Description |
---|
StringTrim() |
StringTrim(int inputColumn,
int outputColumn) |
Modifier and Type | Method and Description |
---|---|
protected void |
func(BytesColumnVector outV,
byte[][] vector,
int[] start,
int[] length,
int i)
TRIM element i of the vector, eliminating blanks from the left
and right sides of the string, and place the result in outV.
|
evaluate, getDescriptor, getInputColumn, getOutputColumn, getOutputType, setInputColumn, setOutputColumn
evaluateChildren, getChildExpressions, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toString
public StringTrim(int inputColumn, int outputColumn)
public StringTrim()
protected void func(BytesColumnVector outV, byte[][] vector, int[] start, int[] length, int i)
func
in class StringUnaryUDFDirect
Copyright © 2016 The Apache Software Foundation. All rights reserved.