Package org.nuxeo.ecm.platform.query.api
Interface AggregateDefinition
-
- All Known Implementing Classes:
AggregateDescriptor
public interface AggregateDefinition- Since:
- 6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AggregateDefinitionclone()Map<String,Integer>getAggregateDateRangeDefinitionOrderMap()Map<String,Integer>getAggregateRangeDefinitionOrderMap()List<AggregateRangeDateDefinition>getDateRanges()StringgetDocumentField()Get the document aggregator fieldStringgetId()Map<String,String>getProperties()List<AggregateRangeDefinition>getRanges()PredicateFieldDefinitiongetSearchField()Get the ref of the search input, the type of the field must be nxs:stringListStringgetType()voidsetDateRanges(List<AggregateRangeDateDefinition> ranges)voidsetDocumentField(String parameter)voidsetId(String id)voidsetProperty(String name, String value)voidsetRanges(List<AggregateRangeDefinition> ranges)voidsetSearchField(PredicateFieldDefinition field)voidsetType(String type)
-
-
-
Method Detail
-
getId
String getId()
-
setId
void setId(String id)
-
getType
String getType()
-
setType
void setType(String type)
-
getRanges
List<AggregateRangeDefinition> getRanges()
-
setRanges
void setRanges(List<AggregateRangeDefinition> ranges)
-
getDateRanges
List<AggregateRangeDateDefinition> getDateRanges()
-
setDateRanges
void setDateRanges(List<AggregateRangeDateDefinition> ranges)
-
getDocumentField
String getDocumentField()
Get the document aggregator field
-
setDocumentField
void setDocumentField(String parameter)
-
getSearchField
PredicateFieldDefinition getSearchField()
Get the ref of the search input, the type of the field must be nxs:stringList
-
setSearchField
void setSearchField(PredicateFieldDefinition field)
-
clone
AggregateDefinition clone()
-
getAggregateDateRangeDefinitionOrderMap
Map<String,Integer> getAggregateDateRangeDefinitionOrderMap()
- Returns:
- a map associating the key of the date range to its position in the definition.
-
-