org.apache.pig.piggybank.evaluation.math
Class IEEEremainder

java.lang.Object
  extended by org.apache.pig.EvalFunc<Double>
      extended by org.apache.pig.piggybank.evaluation.math.Base
          extended by org.apache.pig.piggybank.evaluation.math.DoubleDoubleBase
              extended by org.apache.pig.piggybank.evaluation.math.IEEEremainder

public class IEEEremainder
extends DoubleDoubleBase

math.IEEEremainder implements a binding to the Java function Math.IEEEremainder(double,double). Given a tuple with two data atom it Returns the remainder operation on two arguments as prescribed by the IEEE 754 standard.

Parameters:
value - Tuple containing two Double.
Return Value:
Double
Return Schema:
IEEEremainder_inputSchema
Example:
register math.jar;
A = load 'mydata' using PigStorage() as ( float1 );
B = foreach A generate float1, math.IEEEremainder(float1);

Author:
ajay garg
See Also:
Math.IEEEremainder(double,double),

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.pig.EvalFunc
EvalFunc.SchemaType
 
Field Summary
 
Fields inherited from class org.apache.pig.EvalFunc
log, pigLogger, reporter, returnType
 
Constructor Summary
IEEEremainder()
           
 
Method Summary
 
Methods inherited from class org.apache.pig.piggybank.evaluation.math.DoubleDoubleBase
exec, getArgToFuncMapping
 
Methods inherited from class org.apache.pig.piggybank.evaluation.math.Base
outputSchema
 
Methods inherited from class org.apache.pig.EvalFunc
finish, getCacheFiles, getInputSchema, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, isAsynchronous, progress, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IEEEremainder

public IEEEremainder()


Copyright © 2007-2012 The Apache Software Foundation