org.apache.hadoop.hive.ql.exec.vector.expressions
Class StringLTrim

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
      extended by org.apache.hadoop.hive.ql.exec.vector.expressions.StringUnaryUDFDirect
          extended by org.apache.hadoop.hive.ql.exec.vector.expressions.StringLTrim
All Implemented Interfaces:
Serializable

public class StringLTrim
extends StringUnaryUDFDirect

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
VectorExpression.Type
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
childExpressions, inputTypes, outputType
 
Constructor Summary
StringLTrim()
           
StringLTrim(int inputColumn, int outputColumn)
           
 
Method Summary
protected  void func(BytesColumnVector outV, byte[][] vector, int[] start, int[] length, int i)
          LTRIM element i of the vector, and place the result in outV.
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.StringUnaryUDFDirect
evaluate, getDescriptor, getInputColumn, getOutputColumn, getOutputType, setInputColumn, setOutputColumn
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
evaluateChildren, getChildExpressions, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringLTrim

public StringLTrim(int inputColumn,
                   int outputColumn)

StringLTrim

public StringLTrim()
Method Detail

func

protected void func(BytesColumnVector outV,
                    byte[][] vector,
                    int[] start,
                    int[] length,
                    int i)
LTRIM element i of the vector, and place the result in outV. Operate on the data in place, and set the output by reference to improve performance. Ignore null handling. That will be handled separately.

Specified by:
func in class StringUnaryUDFDirect


Copyright © 2014 The Apache Software Foundation. All rights reserved.