org.apache.pig.builtin
Class DoubleMax
java.lang.Object
org.apache.pig.EvalFunc<T>
org.apache.pig.builtin.AlgebraicDoubleMathBase
org.apache.pig.builtin.DoubleMax
- All Implemented Interfaces:
- Accumulator<Double>, Algebraic
public class DoubleMax
- extends AlgebraicDoubleMathBase
This method should never be used directly, use MAX
.
Methods inherited from class org.apache.pig.EvalFunc |
finish, getArgToFuncMapping, 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 |
opProvider
protected AlgebraicMathBase.KnownOpProvider opProvider
DoubleMax
public DoubleMax()
setOp
protected void setOp(AlgebraicMathBase.KNOWN_OP op)
getInitial
public String getInitial()
- Description copied from interface:
Algebraic
- Get the initial function.
- Specified by:
getInitial
in interface Algebraic
- Returns:
- A function name of f_init. f_init should be an eval func.
The return type of f_init.exec() has to be Tuple
getIntermed
public String getIntermed()
- Description copied from interface:
Algebraic
- Get the intermediate function.
- Specified by:
getIntermed
in interface Algebraic
- Returns:
- A function name of f_intermed. f_intermed should be an eval func.
The return type of f_intermed.exec() has to be Tuple
getFinal
public String getFinal()
- Description copied from interface:
Algebraic
- Get the final function.
- Specified by:
getFinal
in interface Algebraic
- Returns:
- A function name of f_final. f_final should be an eval func parametrized by
the same datum as the eval func implementing this interface.
Copyright © 2007-2012 The Apache Software Foundation