Package lumis.portal.bigdata.query
Class CardinalityAggregation
- java.lang.Object
-
- lumis.portal.bigdata.query.CardinalityAggregation
-
- All Implemented Interfaces:
IAggregation
,IFieldAwareAggregation
@StableMinor(version="14.0", sinceVersion="11.0") public class CardinalityAggregation extends Object implements IFieldAwareAggregation
Aggregation that returns in a value bucket the unique value count for a given field. Produces anIValueAggregationResult
. Only supported by the following data types:- Since:
- 11.0.0
- Version:
- $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
-
-
Constructor Summary
Constructors Constructor Description CardinalityAggregation(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
-
CardinalityAggregation
public CardinalityAggregation(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.
-
-