org.apache.pig.piggybank.evaluation.math
Class EXP
java.lang.Object
org.apache.pig.EvalFunc<Double>
org.apache.pig.piggybank.evaluation.math.Base
org.apache.pig.piggybank.evaluation.math.DoubleBase
org.apache.pig.piggybank.evaluation.math.EXP
public class EXP
- extends DoubleBase
math.EXP implements a binding to the Java function
Math.exp(double)
. Given a single
data atom it Returns the Euler's number e raised to the power of input
- Parameters:
value
- Double
.
- Return Value:
Double
- Return Schema:
- exp_inputSchema
- Example:
register math.jar;
A = load 'mydata' using PigStorage() as ( float1 );
B = foreach A generate float1, math.exp(float1);
- Author:
- ajay garg
- See Also:
Math.exp(double)
,
Constructor Summary |
EXP()
|
Methods inherited from class org.apache.pig.piggybank.evaluation.math.Base |
outputSchema |
Methods inherited from class org.apache.pig.EvalFunc |
finish, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, isAsynchronous, progress, setPigLogger, setReporter, warn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXP
public EXP()
Copyright © ${year} The Apache Software Foundation