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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
      extended by org.apache.hadoop.hive.ql.exec.vector.expressions.MathFuncLongToDouble
          extended by org.apache.hadoop.hive.ql.exec.vector.expressions.FuncPowerLongToDouble
All Implemented Interfaces:
Serializable, ISetDoubleArg

public class FuncPowerLongToDouble
extends MathFuncLongToDouble
implements ISetDoubleArg

Vectorized implementation for Pow(a, power) and Power(a, power)

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
VectorExpression.Type
 
Constructor Summary
FuncPowerLongToDouble()
           
FuncPowerLongToDouble(int colNum, double scalarVal, int outputColumn)
           
 
Method Summary
 double func(long l)
           
 VectorExpressionDescriptor.Descriptor getDescriptor()
           
 double getPower()
           
 void setArg(double d)
           
 void setPower(double power)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.MathFuncLongToDouble
evaluate, getColNum, getOutputColumn, getOutputType, setColNum, setOutputColumn
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
getChildExpressions, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FuncPowerLongToDouble

public FuncPowerLongToDouble(int colNum,
                             double scalarVal,
                             int outputColumn)

FuncPowerLongToDouble

public FuncPowerLongToDouble()
Method Detail

func

public double func(long l)

getPower

public double getPower()

setPower

public void setPower(double power)

setArg

public void setArg(double d)
Specified by:
setArg in interface ISetDoubleArg

getDescriptor

public VectorExpressionDescriptor.Descriptor getDescriptor()
Specified by:
getDescriptor in class VectorExpression


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