org.apache.pig.piggybank.evaluation.math
Class LOG10
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.LOG10
public class LOG10
- extends DoubleBase
math.LOG10 implements a binding to the Java function
Math.log10(double)
.
Given a single data atom it returns the base 10 logarithm of a double
- Parameters:
value
- Double
.
- Return Value:
Double
- Return Schema:
- LOG10_inputSchema
- Example:
register math.jar;
A = load 'mydata' using PigStorage() as ( float1 );
B = foreach A generate float1, math.LOG10(float1);
- Author:
- ajay garg
- See Also:
Math.log10(double)
,
Constructor Summary |
LOG10()
|
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 |
LOG10
public LOG10()
Copyright © ${year} The Apache Software Foundation