org.apache.pig.piggybank.evaluation.math
Class EXPM1
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.EXPM1
public class EXPM1
- extends DoubleBase
math.EXPM1 implements a binding to the Java function
Math.expm1(double)
. Given a single
data atom it returns exp(input)+1
- Parameters:
value
- Double
.
- Return Value:
Double
- Return Schema:
- expm1_inputSchema
- Example:
register math.jar;
A = load 'mydata' using PigStorage() as ( float1 );
B = foreach A generate float1, math.expm1(float1);
- Author:
- ajay garg
- See Also:
Math.expm1(double)
,
Constructor Summary |
EXPM1()
|
Methods inherited from class org.apache.pig.piggybank.evaluation.math.Base |
outputSchema |
Methods inherited from class org.apache.pig.EvalFunc |
finish, getCacheFiles, 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 |
EXPM1
public EXPM1()
Copyright © 2012 The Apache Software Foundation