@Deprecated public class Max extends ExtremaBase
Aggregator
that returns the maximum value encountered in the current group.
This class assumes the argument values is a Number
, or a String
representation of a number.
See MaxValue
to find the max of any Comparable
type.ExtremaBase.Context
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FIELD_NAME
Deprecated.
Field FIELD_NAME
|
ignoreValues
fieldDeclaration, numArgs, trace
Constructor and Description |
---|
Max()
Deprecated.
Constructs a new instance that returns the maximum value encountered in the field name "max".
|
Max(Fields fieldDeclaration)
Deprecated.
Constructs a new instance that returns the maximum value encountered in the given fieldDeclaration field name.
|
Max(Fields fieldDeclaration,
java.lang.Object... ignoreValues)
Deprecated.
Constructs a new instance that returns the maximum value encountered in the given fieldDeclaration field name.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
compare(java.lang.Number lhs,
java.lang.Number rhs)
Deprecated.
|
protected double |
getInitialValue()
Deprecated.
|
aggregate, complete, equals, getIgnoreValues, getResult, hashCode, prepare, start
cleanup, flush, getFieldDeclaration, getNumArgs, getTrace, isSafe, printOperationInternal, toString, toStringInternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
cleanup, flush, getFieldDeclaration, getNumArgs, isSafe
public static final java.lang.String FIELD_NAME
public Max()
@ConstructorProperties(value="fieldDeclaration") public Max(Fields fieldDeclaration)
fieldDeclaration
- of type Fields@ConstructorProperties(value={"fieldDeclaration","ignoreValues"}) public Max(Fields fieldDeclaration, java.lang.Object... ignoreValues)
fieldDeclaration
- of type FieldsignoreValues
- of type Object...protected boolean compare(java.lang.Number lhs, java.lang.Number rhs)
compare
in class ExtremaBase
protected double getInitialValue()
getInitialValue
in class ExtremaBase