public class RINT extends DoubleBase
Math.rint(double)
.
Given a single data atom it Returns the double value
that is closest in value to the argument and is equal
to a mathematical integer.
value
- Double
.Double
register math.jar;
A = load 'mydata' using PigStorage() as ( float1 );
B = foreach A generate float1, math.RINT(float1);
Math.rint(double)
,
EvalFunc.SchemaType
log, pigLogger, reporter, returnType
Constructor and Description |
---|
RINT() |
exec, getArgToFuncMapping
outputSchema
allowCompileTimeCalculation, finish, getCacheFiles, getInputSchema, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, progress, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn
Copyright © 2007-2012 The Apache Software Foundation