cascading.operation.aggregator
Class Max
java.lang.Object
cascading.operation.BaseOperation
cascading.operation.aggregator.ExtremaBase
cascading.operation.aggregator.Max
- All Implemented Interfaces:
- Aggregator, Operation, Serializable
public class Max
- extends ExtremaBase
Class Max is an Aggregator that returns the maximum value encountered in the current group.
- See Also:
- Serialized Form
| Fields inherited from interface cascading.operation.Operation |
ANY |
|
Constructor Summary |
Max()
Constructs a new instance that returns the maximum value encoutered in the field name "max". |
Max(Fields fieldDeclaration)
Constructs a new instance that returns the maximum value encoutered in the given fieldDeclaration field name. |
Max(Fields fieldDeclaration,
Object... ignoreValues)
Constructs a new instance that returns the maximum value encoutered in the given fieldDeclaration field name. |
FIELD_NAME
public static final String FIELD_NAME
- Field FIELD_NAME
- See Also:
- Constant Field Values
Max
public Max()
- Constructs a new instance that returns the maximum value encoutered in the field name "max".
Max
public Max(Fields fieldDeclaration)
- Constructs a new instance that returns the maximum value encoutered in the given fieldDeclaration field name.
- Parameters:
fieldDeclaration - of type Fields
Max
public Max(Fields fieldDeclaration,
Object... ignoreValues)
- Constructs a new instance that returns the maximum value encoutered in the given fieldDeclaration field name.
Any argument matching an ignoredValue won't be compared.
- Parameters:
fieldDeclaration - of type FieldsignoreValues - of type Object...
compare
protected boolean compare(Number lhs,
Number rhs)
- Specified by:
compare in class ExtremaBase
getInitialValue
protected double getInitialValue()
- Specified by:
getInitialValue in class ExtremaBase
Copyright © 2007-2008 Concurrent, Inc. All Rights Reserved.