Package lumis.portal.bigdata.query
Class MinAggregation
- java.lang.Object
-
- lumis.portal.bigdata.query.MinAggregation
-
- All Implemented Interfaces:
IAggregation
,IFieldAwareAggregation
@StableMinor(version="14.2", sinceVersion="11.0") public class MinAggregation extends Object
Aggregation that returns in a value bucket the minimum value for a given (numeric) field. Produces anIValueAggregationResult
. Only supported by the following data types:- Since:
- 11.0.0
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
-
-
Constructor Summary
Constructors Constructor Description MinAggregation(String id, DocumentTypeField field)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentTypeField
getField()
Returns the field this aggregation is bound to.String
getId()
Returns the aggregation identifier.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.portal.bigdata.query.IAggregation
getId
-
-
-
-
Field Detail
-
id
protected final String id
-
-
Constructor Detail
-
MinAggregation
public MinAggregation(String id, DocumentTypeField field)
Creates a new instance.- Parameters:
id
- the aggregation identifier.field
- the field that aggregation will be performed on.- Since:
- 11.0.0
-
-
Method Detail
-
getField
public DocumentTypeField getField()
Description copied from interface:IFieldAwareAggregation
Returns the field this aggregation is bound to.- Specified by:
getField
in interfaceIFieldAwareAggregation
- Returns:
- the field this aggregation is bound to.
-
getId
public String getId()
Description copied from interface:IAggregation
Returns the aggregation identifier.- Specified by:
getId
in interfaceIAggregation
- Returns:
- the aggregation identifier.
-
-