Package lumis.portal.bigdata.query
Class CardinalityAggregation
- java.lang.Object
-
- lumis.portal.bigdata.query.CardinalityAggregation
-
- All Implemented Interfaces:
IAggregation
,IFieldAwareAggregation
@StableMinor(version="16.0", sinceVersion="11.0") public class CardinalityAggregation extends java.lang.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: 25808 $ $Date: 2023-07-04 15:20:55 -0300 (Tue, 04 Jul 2023) $
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
id
-
Constructor Summary
Constructors Constructor Description CardinalityAggregation(java.lang.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.java.lang.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
-
-
-
-
Constructor Detail
-
CardinalityAggregation
public CardinalityAggregation(java.lang.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 java.lang.String getId()
Description copied from interface:IAggregation
Returns the aggregation identifier.- Specified by:
getId
in interfaceIAggregation
- Returns:
- the aggregation identifier.
-
-