public class HYPOT extends DoubleDoubleBase
Math.hypot(double,double)
.
Given a tuple with two data atom Returns sum of squares of two arguments.
value
- Tuple containing two Double
.Double
register math.jar;
A = load 'mydata' using PigStorage() as ( float1 );
B = foreach A generate float1, math.HYPOT(float1);
Math.hypot(double,double)
,
EvalFunc.SchemaType
log, pigLogger, reporter, returnType
Constructor and Description |
---|
HYPOT() |
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