Class SignalEventQuery.AggregationQuery
- java.lang.Object
-
- ch.ivyteam.ivy.persistence.query.Query<ISignalEvent>
-
- ch.ivyteam.ivy.workflow.query.SignalEventQuery
-
- ch.ivyteam.ivy.workflow.query.SignalEventQuery.AggregationQuery
-
- All Implemented Interfaces:
SignalEventQuery.IAggregationQuery
- Enclosing class:
- SignalEventQuery
public static class SignalEventQuery.AggregationQuery extends SignalEventQuery implements SignalEventQuery.IAggregationQuery
This class provides methods to perform aggregations on the query. For each aggregation a column is added to the result set.- API:
- This is a public API.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ch.ivyteam.ivy.workflow.query.SignalEventQuery
SignalEventQuery.AggregationQuery, SignalEventQuery.FilterLink, SignalEventQuery.FilterQuery, SignalEventQuery.GroupByQuery, SignalEventQuery.IAggregationQuery, SignalEventQuery.IBoolFilterQuery, SignalEventQuery.IColumnFilterQuery, SignalEventQuery.IDateColumnFilterQuery, SignalEventQuery.IFilterableColumns, SignalEventQuery.IFilterLink, SignalEventQuery.IFilterQuery, SignalEventQuery.IGroupByQueryColumns, SignalEventQuery.IIntegerColumnFilterQuery, SignalEventQuery.INumberColumnFilterQuery, SignalEventQuery.IOrderByQueryColumns, SignalEventQuery.IPatternColumnFilterQuery, SignalEventQuery.IStringColumnFilterQuery, SignalEventQuery.OrderByColumnQuery, SignalEventQuery.OrderByQuery
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignalEventQuery.AggregationQueryavgSentTimestamp()Adds a result columnAvgSentTimestampto the query, that contains the average of the fieldSentTimestampof all (grouped) rows.SignalEventQuery.AggregationQuerycountRows()Adds a result columnCountto the query, that contains the number of (grouped) rows.SignalEventQuery.AggregationQuerymaxSentByProcessElementPid()Adds a result columnMaxSentByProcessElementPidto the query, that contains the maximum value of the fieldSentByProcessElementPidof all (grouped) rows.SignalEventQuery.AggregationQuerymaxSentByUserName()Adds a result columnMaxSentByUserNameto the query, that contains the maximum value of the fieldSentByUserNameof all (grouped) rows.SignalEventQuery.AggregationQuerymaxSentTimestamp()Adds a result columnMaxSentTimestampto the query, that contains the maximum value of the fieldSentTimestampof all (grouped) rows.SignalEventQuery.AggregationQuerymaxSignalCode()Adds a result columnMaxSignalCodeto the query, that contains the maximum value of the fieldSignalCodeof all (grouped) rows.SignalEventQuery.AggregationQuerymaxSignalEventId()Adds a result columnMaxSignalEventIdto the query, that contains the maximum value of the fieldSignalEventIdof all (grouped) rows.SignalEventQuery.AggregationQueryminSentByProcessElementPid()Adds a result columnMinSentByProcessElementPidto the query, that contains the minimum value of the fieldSentByProcessElementPidof all (grouped) rows.SignalEventQuery.AggregationQueryminSentByUserName()Adds a result columnMinSentByUserNameto the query, that contains the minimum value of the fieldSentByUserNameof all (grouped) rows.SignalEventQuery.AggregationQueryminSentTimestamp()Adds a result columnMinSentTimestampto the query, that contains the minimum value of the fieldSentTimestampof all (grouped) rows.SignalEventQuery.AggregationQueryminSignalCode()Adds a result columnMinSignalCodeto the query, that contains the minimum value of the fieldSignalCodeof all (grouped) rows.SignalEventQuery.AggregationQueryminSignalEventId()Adds a result columnMinSignalEventIdto the query, that contains the minimum value of the fieldSignalEventIdof all (grouped) rows.
-
-
-
Method Detail
-
countRows
public SignalEventQuery.AggregationQuery countRows()
Description copied from interface:SignalEventQuery.IAggregationQueryAdds a result column
Countto the query, that contains the number of (grouped) rows.SQL part:
COUNT(*) AS Count- Specified by:
countRowsin interfaceSignalEventQuery.IAggregationQuery- Returns:
- query for further composition
- See Also:
SignalEventQuery.IAggregationQuery.countRows()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minSignalEventId
public SignalEventQuery.AggregationQuery minSignalEventId()
Description copied from interface:SignalEventQuery.IAggregationQueryAdds a result column
MinSignalEventIdto the query, that contains the minimum value of the fieldSignalEventIdof all (grouped) rows.SQL part:
MIN(SignalEventId) AS MinSignalEventId- Specified by:
minSignalEventIdin interfaceSignalEventQuery.IAggregationQuery- Returns:
- query for further composition
- See Also:
SignalEventQuery.IAggregationQuery.minSignalEventId()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxSignalEventId
public SignalEventQuery.AggregationQuery maxSignalEventId()
Description copied from interface:SignalEventQuery.IAggregationQueryAdds a result column
MaxSignalEventIdto the query, that contains the maximum value of the fieldSignalEventIdof all (grouped) rows.SQL part:
MAX(SignalEventId) AS MaxSignalEventId- Specified by:
maxSignalEventIdin interfaceSignalEventQuery.IAggregationQuery- Returns:
- query for further composition
- See Also:
SignalEventQuery.IAggregationQuery.maxSignalEventId()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minSignalCode
public SignalEventQuery.AggregationQuery minSignalCode()
Description copied from interface:SignalEventQuery.IAggregationQueryAdds a result column
MinSignalCodeto the query, that contains the minimum value of the fieldSignalCodeof all (grouped) rows.SQL part:
MIN(SignalCode) AS MinSignalCode- Specified by:
minSignalCodein interfaceSignalEventQuery.IAggregationQuery- Returns:
- query for further composition
- See Also:
SignalEventQuery.IAggregationQuery.minSignalCode()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxSignalCode
public SignalEventQuery.AggregationQuery maxSignalCode()
Description copied from interface:SignalEventQuery.IAggregationQueryAdds a result column
MaxSignalCodeto the query, that contains the maximum value of the fieldSignalCodeof all (grouped) rows.SQL part:
MAX(SignalCode) AS MaxSignalCode- Specified by:
maxSignalCodein interfaceSignalEventQuery.IAggregationQuery- Returns:
- query for further composition
- See Also:
SignalEventQuery.IAggregationQuery.maxSignalCode()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
avgSentTimestamp
public SignalEventQuery.AggregationQuery avgSentTimestamp()
Description copied from interface:SignalEventQuery.IAggregationQueryAdds a result column
AvgSentTimestampto the query, that contains the average of the fieldSentTimestampof all (grouped) rows.SQL part:
AVG(SentTimestamp) AS AvgSentTimestamp- Specified by:
avgSentTimestampin interfaceSignalEventQuery.IAggregationQuery- Returns:
- query for further composition
- See Also:
SignalEventQuery.IAggregationQuery.avgSentTimestamp()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minSentTimestamp
public SignalEventQuery.AggregationQuery minSentTimestamp()
Description copied from interface:SignalEventQuery.IAggregationQueryAdds a result column
MinSentTimestampto the query, that contains the minimum value of the fieldSentTimestampof all (grouped) rows.SQL part:
MIN(SentTimestamp) AS MinSentTimestamp- Specified by:
minSentTimestampin interfaceSignalEventQuery.IAggregationQuery- Returns:
- query for further composition
- See Also:
SignalEventQuery.IAggregationQuery.minSentTimestamp()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxSentTimestamp
public SignalEventQuery.AggregationQuery maxSentTimestamp()
Description copied from interface:SignalEventQuery.IAggregationQueryAdds a result column
MaxSentTimestampto the query, that contains the maximum value of the fieldSentTimestampof all (grouped) rows.SQL part:
MAX(SentTimestamp) AS MaxSentTimestamp- Specified by:
maxSentTimestampin interfaceSignalEventQuery.IAggregationQuery- Returns:
- query for further composition
- See Also:
SignalEventQuery.IAggregationQuery.maxSentTimestamp()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minSentByUserName
public SignalEventQuery.AggregationQuery minSentByUserName()
Description copied from interface:SignalEventQuery.IAggregationQueryAdds a result column
MinSentByUserNameto the query, that contains the minimum value of the fieldSentByUserNameof all (grouped) rows.SQL part:
MIN(SentByUserName) AS MinSentByUserNameThis is a virtual column. It contains the same value as the column
Nameof the referencedSecurityMember.- Specified by:
minSentByUserNamein interfaceSignalEventQuery.IAggregationQuery- Returns:
- query for further composition
- See Also:
SignalEventQuery.IAggregationQuery.minSentByUserName()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxSentByUserName
public SignalEventQuery.AggregationQuery maxSentByUserName()
Description copied from interface:SignalEventQuery.IAggregationQueryAdds a result column
MaxSentByUserNameto the query, that contains the maximum value of the fieldSentByUserNameof all (grouped) rows.SQL part:
MAX(SentByUserName) AS MaxSentByUserNameThis is a virtual column. It contains the same value as the column
Nameof the referencedSecurityMember.- Specified by:
maxSentByUserNamein interfaceSignalEventQuery.IAggregationQuery- Returns:
- query for further composition
- See Also:
SignalEventQuery.IAggregationQuery.maxSentByUserName()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
minSentByProcessElementPid
public SignalEventQuery.AggregationQuery minSentByProcessElementPid()
Description copied from interface:SignalEventQuery.IAggregationQueryAdds a result column
MinSentByProcessElementPidto the query, that contains the minimum value of the fieldSentByProcessElementPidof all (grouped) rows.SQL part:
MIN(SentByProcessElementPid) AS MinSentByProcessElementPid- Specified by:
minSentByProcessElementPidin interfaceSignalEventQuery.IAggregationQuery- Returns:
- query for further composition
- See Also:
SignalEventQuery.IAggregationQuery.minSentByProcessElementPid()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
maxSentByProcessElementPid
public SignalEventQuery.AggregationQuery maxSentByProcessElementPid()
Description copied from interface:SignalEventQuery.IAggregationQueryAdds a result column
MaxSentByProcessElementPidto the query, that contains the maximum value of the fieldSentByProcessElementPidof all (grouped) rows.SQL part:
MAX(SentByProcessElementPid) AS MaxSentByProcessElementPid- Specified by:
maxSentByProcessElementPidin interfaceSignalEventQuery.IAggregationQuery- Returns:
- query for further composition
- See Also:
SignalEventQuery.IAggregationQuery.maxSentByProcessElementPid()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
-