cascading.operation.aggregator
Class Min
java.lang.Object
cascading.operation.BaseOperation<ExtremaBase.Context>
cascading.operation.aggregator.ExtremaBase
cascading.operation.aggregator.Min
- All Implemented Interfaces:
- Aggregator<ExtremaBase.Context>, Operation<ExtremaBase.Context>, Serializable
public class Min
- extends ExtremaBase
Class Min is an Aggregator that returns the minimum value encountered in the current group.
- See Also:
- Serialized Form
| Fields inherited from interface cascading.operation.Operation |
ANY |
|
Constructor Summary |
Min()
Constructs a new instance that returns the Min value encoutered in the field name "min". |
Min(Fields fieldDeclaration)
Constructs a new instance that returns the minimum value encoutered in the given fieldDeclaration field name. |
Min(Fields fieldDeclaration,
Object... ignoreValues)
Constructs a new instance that returns the minimum value encoutered in the given fieldDeclaration field name. |
FIELD_NAME
public static final String FIELD_NAME
- Field FIELD_NAME
- See Also:
- Constant Field Values
Min
public Min()
- Constructs a new instance that returns the Min value encoutered in the field name "min".
Min
public Min(Fields fieldDeclaration)
- Constructs a new instance that returns the minimum value encoutered in the given fieldDeclaration field name.
- Parameters:
fieldDeclaration - of type Fields
Min
public Min(Fields fieldDeclaration,
Object... ignoreValues)
- Constructs a new instance that returns the minimum 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-2009 Concurrent, Inc. All Rights Reserved.