Package org.nuxeo.ecm.platform.query.api
Interface AggregateDefinition
- All Known Implementing Classes:
AggregateDescriptor
public interface AggregateDefinition
- Since:
- 6.0
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Get the document aggregator fieldgetId()
Get the ref of the search input, the type of the field must be nxs:stringListgetType()
void
void
setDocumentField
(String parameter) void
void
setProperty
(String name, String value) void
setRanges
(List<AggregateRangeDefinition> ranges) void
void
-
Method Details
-
getId
String getId() -
setId
-
getType
String getType() -
setType
-
setProperty
-
getProperties
-
getRanges
List<AggregateRangeDefinition> getRanges() -
setRanges
-
getDateRanges
List<AggregateRangeDateDefinition> getDateRanges() -
setDateRanges
-
getDocumentField
String getDocumentField()Get the document aggregator field -
setDocumentField
-
getSearchField
PredicateFieldDefinition getSearchField()Get the ref of the search input, the type of the field must be nxs:stringList -
setSearchField
-
clone
AggregateDefinition clone() -
getAggregateDateRangeDefinitionOrderMap
- Returns:
- a map associating the key of the date range to its position in the definition.
-
getAggregateRangeDefinitionOrderMap
- Returns:
- a map associating the key of the range to its position in the definition.
-