Package org.camunda.bpm.engine.batch
Interface BatchStatisticsQuery
- All Superinterfaces:
Query<BatchStatisticsQuery,
BatchStatistics>
- All Known Implementing Classes:
BatchStatisticsQueryImpl
-
Method Summary
Modifier and TypeMethodDescriptionactive()
Only selects batches which are activeOnly select batch statistics for the given batch id.Only selects batches that are started by the given user idReturns batch statistics sorted by batch id; must be followed by an invocation ofQuery.asc()
orQuery.desc()
.Returns batch statistics sorted by start time; must be followed by an invocation ofQuery.asc()
orQuery.desc()
.Returns batch statistics sorted by tenant id; must be followed by an invocation ofQuery.asc()
orQuery.desc()
.startedAfter
(Date date) Only select historic activity instances that were started after the given date.startedBefore
(Date date) Only select historic activity instances that were started before the given date.Only selects batches which are suspendedtenantIdIn
(String... tenantIds) Only selects batch statistics with one of the given tenant ids.Only select batch statistics of the given type.Only selects batches with failed jobsOnly selects batches without failed jobsOnly selects batch statistics which have no tenant id.Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Method Details
-
batchId
Only select batch statistics for the given batch id. -
type
Only select batch statistics of the given type. -
tenantIdIn
Only selects batch statistics with one of the given tenant ids. -
withoutTenantId
BatchStatisticsQuery withoutTenantId()Only selects batch statistics which have no tenant id. -
active
BatchStatisticsQuery active()Only selects batches which are active -
suspended
BatchStatisticsQuery suspended()Only selects batches which are suspended -
createdBy
Only selects batches that are started by the given user id -
startedBefore
Only select historic activity instances that were started before the given date. -
startedAfter
Only select historic activity instances that were started after the given date. -
withFailures
BatchStatisticsQuery withFailures()Only selects batches with failed jobs -
withoutFailures
BatchStatisticsQuery withoutFailures()Only selects batches without failed jobs -
orderById
BatchStatisticsQuery orderById()Returns batch statistics sorted by batch id; must be followed by an invocation ofQuery.asc()
orQuery.desc()
. -
orderByTenantId
BatchStatisticsQuery orderByTenantId()Returns batch statistics sorted by tenant id; must be followed by an invocation ofQuery.asc()
orQuery.desc()
. -
orderByStartTime
BatchStatisticsQuery orderByStartTime()Returns batch statistics sorted by start time; must be followed by an invocation ofQuery.asc()
orQuery.desc()
.
-