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

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

public class CastDecimalToBoolean
extends FuncDecimalToLong

Type cast decimal to boolean

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
CastDecimalToBoolean()
           
CastDecimalToBoolean(int inputColumn, int outputColumn)
           
 
Method Summary
protected  void func(LongColumnVector outV, DecimalColumnVector inV, int i)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.FuncDecimalToLong
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

CastDecimalToBoolean

public CastDecimalToBoolean()

CastDecimalToBoolean

public CastDecimalToBoolean(int inputColumn,
                            int outputColumn)
Method Detail

func

protected void func(LongColumnVector outV,
                    DecimalColumnVector inV,
                    int i)
Specified by:
func in class FuncDecimalToLong


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