public class toRadians extends DoubleBase
Math.toRadians(double)
.
Given a single data atom it Converts an angle measured in degrees
to an approximately equivalent angle measured in radians.
value
- Double
.Double
register math.jar;
A = load 'mydata' using PigStorage() as ( float1 );
B = foreach A generate float1, math.toRadians(float1);
Math.toRadians(double)
,
EvalFunc.SchemaType
log, pigLogger, reporter, returnType
Constructor and Description |
---|
toRadians() |
exec, getArgToFuncMapping
outputSchema
allowCompileTimeCalculation, finish, getCacheFiles, getInputSchema, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn
Copyright © 2007-2012 The Apache Software Foundation