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

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.FuncLogWithBaseLongToDouble
All Implemented Interfaces:
Serializable, ISetDoubleArg

public class FuncLogWithBaseLongToDouble
extends MathFuncLongToDouble
implements ISetDoubleArg

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
FuncLogWithBaseLongToDouble()
           
FuncLogWithBaseLongToDouble(double scalarVal, int colNum, int outputColumn)
           
 
Method Summary
protected  double func(long l)
           
 double getBase()
           
 VectorExpressionDescriptor.Descriptor getDescriptor()
           
 void setArg(double d)
           
 void setBase(double base)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.MathFuncLongToDouble
cleanup, evaluate, getColNum, getOutputColumn, getOutputType, setColNum, 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

FuncLogWithBaseLongToDouble

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

FuncLogWithBaseLongToDouble

public FuncLogWithBaseLongToDouble()
Method Detail

func

protected double func(long l)
Specified by:
func in class MathFuncLongToDouble

getBase

public double getBase()

setBase

public void setBase(double base)

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.