Interface CaseQuery.IAggregationQuery
-
- All Known Implementing Classes:
CaseQuery.AggregationQuery
- Enclosing class:
- CaseQuery
public static interface CaseQuery.IAggregationQueryProvides methods to perform aggregations on the query. For each aggregation a column is added to the result set.Example:
Corresponds to SQL:CaseQuery.businessCases().aggregate().sumWorkingTime().avgWorkingTime();
SELECT SUM(WorkingTime) AS SumWorkingTime, AVG(WorkingTime) AS AvgWorkingTime FROM IWA_Case
- API:
- This is a public API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CaseQuery.AggregationQueryavgBusinessRuntime()Adds a result columnAvgBusinessRuntimeto the query, that contains the average of the fieldBusinessRuntimeof all (grouped) rows.CaseQuery.AggregationQueryavgEndTimestamp()Adds a result columnAvgEndTimestampto the query, that contains the average of the fieldEndTimestampof all (grouped) rows.CaseQuery.AggregationQueryavgStartTimestamp()Adds a result columnAvgStartTimestampto the query, that contains the average of the fieldStartTimestampof all (grouped) rows.CaseQuery.AggregationQueryavgWorkingTime()Adds a result columnAvgWorkingTimeto the query, that contains the average of the fieldWorkingTimeof all (grouped) rows.CaseQuery.AggregationQuerycountRows()Adds a result columnCountto the query, that contains the number of (grouped) rows.CaseQuery.ICustomFieldAggregationQuerycustomField()Adds a result custom field to the query.CaseQuery.AggregationQuerymaxBusinessCalendar()Adds a result columnMaxBusinessCalendarto the query, that contains the maximum value of the fieldBusinessCalendarof all (grouped) rows.CaseQuery.AggregationQuerymaxBusinessRuntime()Adds a result columnMaxBusinessRuntimeto the query, that contains the maximum value of the fieldBusinessRuntimeof all (grouped) rows.CaseQuery.AggregationQuerymaxCaseId()Adds a result columnMaxCaseIdto the query, that contains the maximum value of the fieldCaseIdof all (grouped) rows.CaseQuery.AggregationQuerymaxCategory()Adds a result columnMaxCategoryto the query, that contains the maximum value of the fieldCategoryof all (grouped) rows.CaseQuery.AggregationQuerymaxCreatorUserDisplayName()Adds a result columnMaxCreatorUserDisplayNameto the query, that contains the maximum value of the fieldCreatorUserDisplayNameof all (grouped) rows.CaseQuery.AggregationQuerymaxCreatorUserName()Adds a result columnMaxCreatorUserNameto the query, that contains the maximum value of the fieldCreatorUserNameof all (grouped) rows.CaseQuery.AggregationQuerymaxDisplayNameTemplate()Adds a result columnMaxDisplayNameTemplateto the query, that contains the maximum value of the fieldDisplayNameTemplateof all (grouped) rows.CaseQuery.AggregationQuerymaxEndTimestamp()Adds a result columnMaxEndTimestampto the query, that contains the maximum value of the fieldEndTimestampof all (grouped) rows.CaseQuery.AggregationQuerymaxEnvironment()Adds a result columnMaxEnvironmentto the query, that contains the maximum value of the fieldEnvironmentof all (grouped) rows.CaseQuery.AggregationQuerymaxName()Adds a result columnMaxNameto the query, that contains the maximum value of the fieldNameof all (grouped) rows.CaseQuery.AggregationQuerymaxOwnerDisplayName()Adds a result columnMaxOwnerDisplayNameto the query, that contains the maximum value of the fieldOwnerDisplayNameof all (grouped) rows.CaseQuery.AggregationQuerymaxOwnerName()Adds a result columnMaxOwnerNameto the query, that contains the maximum value of the fieldOwnerNameof all (grouped) rows.CaseQuery.AggregationQuerymaxStage()Adds a result columnMaxStageto the query, that contains the maximum value of the fieldStageof all (grouped) rows.CaseQuery.AggregationQuerymaxStartTimestamp()Adds a result columnMaxStartTimestampto the query, that contains the maximum value of the fieldStartTimestampof all (grouped) rows.CaseQuery.AggregationQuerymaxWorkingTime()Adds a result columnMaxWorkingTimeto the query, that contains the maximum value of the fieldWorkingTimeof all (grouped) rows.CaseQuery.AggregationQueryminBusinessCalendar()Adds a result columnMinBusinessCalendarto the query, that contains the minimum value of the fieldBusinessCalendarof all (grouped) rows.CaseQuery.AggregationQueryminBusinessRuntime()Adds a result columnMinBusinessRuntimeto the query, that contains the minimum value of the fieldBusinessRuntimeof all (grouped) rows.CaseQuery.AggregationQueryminCaseId()Adds a result columnMinCaseIdto the query, that contains the minimum value of the fieldCaseIdof all (grouped) rows.CaseQuery.AggregationQueryminCategory()Adds a result columnMinCategoryto the query, that contains the minimum value of the fieldCategoryof all (grouped) rows.CaseQuery.AggregationQueryminCreatorUserDisplayName()Adds a result columnMinCreatorUserDisplayNameto the query, that contains the minimum value of the fieldCreatorUserDisplayNameof all (grouped) rows.CaseQuery.AggregationQueryminCreatorUserName()Adds a result columnMinCreatorUserNameto the query, that contains the minimum value of the fieldCreatorUserNameof all (grouped) rows.CaseQuery.AggregationQueryminDisplayNameTemplate()Adds a result columnMinDisplayNameTemplateto the query, that contains the minimum value of the fieldDisplayNameTemplateof all (grouped) rows.CaseQuery.AggregationQueryminEndTimestamp()Adds a result columnMinEndTimestampto the query, that contains the minimum value of the fieldEndTimestampof all (grouped) rows.CaseQuery.AggregationQueryminEnvironment()Adds a result columnMinEnvironmentto the query, that contains the minimum value of the fieldEnvironmentof all (grouped) rows.CaseQuery.AggregationQueryminName()Adds a result columnMinNameto the query, that contains the minimum value of the fieldNameof all (grouped) rows.CaseQuery.AggregationQueryminOwnerDisplayName()Adds a result columnMinOwnerDisplayNameto the query, that contains the minimum value of the fieldOwnerDisplayNameof all (grouped) rows.CaseQuery.AggregationQueryminOwnerName()Adds a result columnMinOwnerNameto the query, that contains the minimum value of the fieldOwnerNameof all (grouped) rows.CaseQuery.AggregationQueryminStage()Adds a result columnMinStageto the query, that contains the minimum value of the fieldStageof all (grouped) rows.CaseQuery.AggregationQueryminStartTimestamp()Adds a result columnMinStartTimestampto the query, that contains the minimum value of the fieldStartTimestampof all (grouped) rows.CaseQuery.AggregationQueryminWorkingTime()Adds a result columnMinWorkingTimeto the query, that contains the minimum value of the fieldWorkingTimeof all (grouped) rows.CaseQuery.AggregationQuerysumBusinessRuntime()Adds a result columnSumBusinessRuntimeto the query, that contains the sum of the fieldBusinessRuntimeof all (grouped) rows.CaseQuery.AggregationQuerysumWorkingTime()Adds a result columnSumWorkingTimeto the query, that contains the sum of the fieldWorkingTimeof all (grouped) rows.
-
-
-
Method Detail
-
countRows
CaseQuery.AggregationQuery countRows()
Adds a result column
Countto the query, that contains the number of (grouped) rows.SQL part:
COUNT(*) AS Count- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minCaseId
CaseQuery.AggregationQuery minCaseId()
Adds a result column
MinCaseIdto the query, that contains the minimum value of the fieldCaseIdof all (grouped) rows.SQL part:
MIN(CaseId) AS MinCaseId- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxCaseId
CaseQuery.AggregationQuery maxCaseId()
Adds a result column
MaxCaseIdto the query, that contains the maximum value of the fieldCaseIdof all (grouped) rows.SQL part:
MAX(CaseId) AS MaxCaseId- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minCreatorUserName
CaseQuery.AggregationQuery minCreatorUserName()
Adds a result column
MinCreatorUserNameto the query, that contains the minimum value of the fieldCreatorUserNameof all (grouped) rows.SQL part:
MIN(CreatorUserName) AS MinCreatorUserNameThis is a virtual column. It contains the same value as the column
Nameof the referencedCreator.- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxCreatorUserName
CaseQuery.AggregationQuery maxCreatorUserName()
Adds a result column
MaxCreatorUserNameto the query, that contains the maximum value of the fieldCreatorUserNameof all (grouped) rows.SQL part:
MAX(CreatorUserName) AS MaxCreatorUserNameThis is a virtual column. It contains the same value as the column
Nameof the referencedCreator.- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minCreatorUserDisplayName
CaseQuery.AggregationQuery minCreatorUserDisplayName()
Adds a result column
MinCreatorUserDisplayNameto the query, that contains the minimum value of the fieldCreatorUserDisplayNameof all (grouped) rows.SQL part:
MIN(CreatorUserDisplayName) AS MinCreatorUserDisplayNameThis is a virtual column. It contains the same value as the column
DisplayNameof the referencedCreator.- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxCreatorUserDisplayName
CaseQuery.AggregationQuery maxCreatorUserDisplayName()
Adds a result column
MaxCreatorUserDisplayNameto the query, that contains the maximum value of the fieldCreatorUserDisplayNameof all (grouped) rows.SQL part:
MAX(CreatorUserDisplayName) AS MaxCreatorUserDisplayNameThis is a virtual column. It contains the same value as the column
DisplayNameof the referencedCreator.- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minEnvironment
CaseQuery.AggregationQuery minEnvironment()
Adds a result column
MinEnvironmentto the query, that contains the minimum value of the fieldEnvironmentof all (grouped) rows.SQL part:
MIN(Environment) AS MinEnvironment- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxEnvironment
CaseQuery.AggregationQuery maxEnvironment()
Adds a result column
MaxEnvironmentto the query, that contains the maximum value of the fieldEnvironmentof all (grouped) rows.SQL part:
MAX(Environment) AS MaxEnvironment- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minDisplayNameTemplate
CaseQuery.AggregationQuery minDisplayNameTemplate()
Adds a result column
MinDisplayNameTemplateto the query, that contains the minimum value of the fieldDisplayNameTemplateof all (grouped) rows.SQL part:
MIN(DisplayNameTemplate) AS MinDisplayNameTemplate- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxDisplayNameTemplate
CaseQuery.AggregationQuery maxDisplayNameTemplate()
Adds a result column
MaxDisplayNameTemplateto the query, that contains the maximum value of the fieldDisplayNameTemplateof all (grouped) rows.SQL part:
MAX(DisplayNameTemplate) AS MaxDisplayNameTemplate- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minName
CaseQuery.AggregationQuery minName()
Adds a result column
MinNameto the query, that contains the minimum value of the fieldNameof all (grouped) rows.SQL part:
MIN(Name) AS MinName- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxName
CaseQuery.AggregationQuery maxName()
Adds a result column
MaxNameto the query, that contains the maximum value of the fieldNameof all (grouped) rows.SQL part:
MAX(Name) AS MaxName- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
avgStartTimestamp
CaseQuery.AggregationQuery avgStartTimestamp()
Adds a result column
AvgStartTimestampto the query, that contains the average of the fieldStartTimestampof all (grouped) rows.SQL part:
AVG(StartTimestamp) AS AvgStartTimestamp- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minStartTimestamp
CaseQuery.AggregationQuery minStartTimestamp()
Adds a result column
MinStartTimestampto the query, that contains the minimum value of the fieldStartTimestampof all (grouped) rows.SQL part:
MIN(StartTimestamp) AS MinStartTimestamp- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxStartTimestamp
CaseQuery.AggregationQuery maxStartTimestamp()
Adds a result column
MaxStartTimestampto the query, that contains the maximum value of the fieldStartTimestampof all (grouped) rows.SQL part:
MAX(StartTimestamp) AS MaxStartTimestamp- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
avgEndTimestamp
CaseQuery.AggregationQuery avgEndTimestamp()
Adds a result column
AvgEndTimestampto the query, that contains the average of the fieldEndTimestampof all (grouped) rows.SQL part:
AVG(EndTimestamp) AS AvgEndTimestamp- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minEndTimestamp
CaseQuery.AggregationQuery minEndTimestamp()
Adds a result column
MinEndTimestampto the query, that contains the minimum value of the fieldEndTimestampof all (grouped) rows.SQL part:
MIN(EndTimestamp) AS MinEndTimestamp- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxEndTimestamp
CaseQuery.AggregationQuery maxEndTimestamp()
Adds a result column
MaxEndTimestampto the query, that contains the maximum value of the fieldEndTimestampof all (grouped) rows.SQL part:
MAX(EndTimestamp) AS MaxEndTimestamp- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minBusinessCalendar
CaseQuery.AggregationQuery minBusinessCalendar()
Adds a result column
MinBusinessCalendarto the query, that contains the minimum value of the fieldBusinessCalendarof all (grouped) rows.SQL part:
MIN(BusinessCalendar) AS MinBusinessCalendar- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxBusinessCalendar
CaseQuery.AggregationQuery maxBusinessCalendar()
Adds a result column
MaxBusinessCalendarto the query, that contains the maximum value of the fieldBusinessCalendarof all (grouped) rows.SQL part:
MAX(BusinessCalendar) AS MaxBusinessCalendar- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
sumWorkingTime
CaseQuery.AggregationQuery sumWorkingTime()
Adds a result column
SumWorkingTimeto the query, that contains the sum of the fieldWorkingTimeof all (grouped) rows.SQL part:
SUM(WorkingTime) AS SumWorkingTime- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
avgWorkingTime
CaseQuery.AggregationQuery avgWorkingTime()
Adds a result column
AvgWorkingTimeto the query, that contains the average of the fieldWorkingTimeof all (grouped) rows.SQL part:
AVG(WorkingTime) AS AvgWorkingTime- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minWorkingTime
CaseQuery.AggregationQuery minWorkingTime()
Adds a result column
MinWorkingTimeto the query, that contains the minimum value of the fieldWorkingTimeof all (grouped) rows.SQL part:
MIN(WorkingTime) AS MinWorkingTime- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxWorkingTime
CaseQuery.AggregationQuery maxWorkingTime()
Adds a result column
MaxWorkingTimeto the query, that contains the maximum value of the fieldWorkingTimeof all (grouped) rows.SQL part:
MAX(WorkingTime) AS MaxWorkingTime- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
sumBusinessRuntime
CaseQuery.AggregationQuery sumBusinessRuntime()
Adds a result column
SumBusinessRuntimeto the query, that contains the sum of the fieldBusinessRuntimeof all (grouped) rows.SQL part:
SUM(BusinessRuntime) AS SumBusinessRuntime- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
avgBusinessRuntime
CaseQuery.AggregationQuery avgBusinessRuntime()
Adds a result column
AvgBusinessRuntimeto the query, that contains the average of the fieldBusinessRuntimeof all (grouped) rows.SQL part:
AVG(BusinessRuntime) AS AvgBusinessRuntime- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minBusinessRuntime
CaseQuery.AggregationQuery minBusinessRuntime()
Adds a result column
MinBusinessRuntimeto the query, that contains the minimum value of the fieldBusinessRuntimeof all (grouped) rows.SQL part:
MIN(BusinessRuntime) AS MinBusinessRuntime- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxBusinessRuntime
CaseQuery.AggregationQuery maxBusinessRuntime()
Adds a result column
MaxBusinessRuntimeto the query, that contains the maximum value of the fieldBusinessRuntimeof all (grouped) rows.SQL part:
MAX(BusinessRuntime) AS MaxBusinessRuntime- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minStage
CaseQuery.AggregationQuery minStage()
Adds a result column
MinStageto the query, that contains the minimum value of the fieldStageof all (grouped) rows.SQL part:
MIN(Stage) AS MinStage- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxStage
CaseQuery.AggregationQuery maxStage()
Adds a result column
MaxStageto the query, that contains the maximum value of the fieldStageof all (grouped) rows.SQL part:
MAX(Stage) AS MaxStage- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minOwnerName
CaseQuery.AggregationQuery minOwnerName()
Adds a result column
MinOwnerNameto the query, that contains the minimum value of the fieldOwnerNameof all (grouped) rows.SQL part:
MIN(OwnerName) AS MinOwnerNameThis is a virtual column. It contains the same value as the column
MemberNameof the referencedOwner.- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxOwnerName
CaseQuery.AggregationQuery maxOwnerName()
Adds a result column
MaxOwnerNameto the query, that contains the maximum value of the fieldOwnerNameof all (grouped) rows.SQL part:
MAX(OwnerName) AS MaxOwnerNameThis is a virtual column. It contains the same value as the column
MemberNameof the referencedOwner.- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minOwnerDisplayName
CaseQuery.AggregationQuery minOwnerDisplayName()
Adds a result column
MinOwnerDisplayNameto the query, that contains the minimum value of the fieldOwnerDisplayNameof all (grouped) rows.SQL part:
MIN(OwnerDisplayName) AS MinOwnerDisplayNameThis is a virtual column. It contains the same value as the column
DisplayNameof the referencedOwner.- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxOwnerDisplayName
CaseQuery.AggregationQuery maxOwnerDisplayName()
Adds a result column
MaxOwnerDisplayNameto the query, that contains the maximum value of the fieldOwnerDisplayNameof all (grouped) rows.SQL part:
MAX(OwnerDisplayName) AS MaxOwnerDisplayNameThis is a virtual column. It contains the same value as the column
DisplayNameof the referencedOwner.- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minCategory
CaseQuery.AggregationQuery minCategory()
Adds a result column
MinCategoryto the query, that contains the minimum value of the fieldCategoryof all (grouped) rows.SQL part:
MIN(Category) AS MinCategory- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxCategory
CaseQuery.AggregationQuery maxCategory()
Adds a result column
MaxCategoryto the query, that contains the maximum value of the fieldCategoryof all (grouped) rows.SQL part:
MAX(Category) AS MaxCategory- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
customField
CaseQuery.ICustomFieldAggregationQuery customField()
Adds a result custom field to the query. Type and name are specified during further query composition.
- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
-