Package io.kestra.core.repositories
Interface ExecutionRepositoryInterface
- All Superinterfaces:
SaveRepositoryInterface<Execution>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondailyGroupByFlowStatistics(String query, String tenantId, String namespace, String flowId, List<ExecutionRepositoryInterface.FlowFilter> flows, ZonedDateTime startDate, ZonedDateTime endDate, boolean groupByNamespaceOnly) dailyStatistics(String query, String tenantId, String namespace, String flowId, ZonedDateTime startDate, ZonedDateTime endDate, DateUtils.GroupType groupBy, boolean isTaskRun) executionCounts(String tenantId, List<Flow> flows, List<State.Type> states, ZonedDateTime startDate, ZonedDateTime endDate) find(io.micronaut.data.model.Pageable pageable, String query, String tenantId, String namespace, String flowId, ZonedDateTime startDate, ZonedDateTime endDate, List<State.Type> state, Map<String, String> labels, String triggerExecutionId) io.reactivex.Flowable<Execution>find(String query, String tenantId, String namespace, String flowId, ZonedDateTime startDate, ZonedDateTime endDate, List<State.Type> state, Map<String, String> labels, String triggerExecutionId) findByFlowId(String tenantId, String namespace, String id, io.micronaut.data.model.Pageable pageable) findTaskRun(io.micronaut.data.model.Pageable pageable, String query, String tenantId, String namespace, String flowId, ZonedDateTime startDate, ZonedDateTime endDate, List<State.Type> states, Map<String, String> labels, String triggerExecutionId) lastExecutions(String tenantId, List<ExecutionRepositoryInterface.FlowFilter> flows)
-
Method Details
-
isTaskRunEnabled
Boolean isTaskRunEnabled() -
findById
-
findByFlowId
ArrayListTotal<Execution> findByFlowId(String tenantId, String namespace, String id, io.micronaut.data.model.Pageable pageable) -
find
ArrayListTotal<Execution> find(io.micronaut.data.model.Pageable pageable, @Nullable String query, @Nullable String tenantId, @Nullable String namespace, @Nullable String flowId, @Nullable ZonedDateTime startDate, @Nullable ZonedDateTime endDate, @Nullable List<State.Type> state, @Nullable Map<String, String> labels, @Nullable String triggerExecutionId) -
find
io.reactivex.Flowable<Execution> find(@Nullable String query, @Nullable String tenantId, @Nullable String namespace, @Nullable String flowId, @Nullable ZonedDateTime startDate, @Nullable ZonedDateTime endDate, @Nullable List<State.Type> state, @Nullable Map<String, String> labels, @Nullable String triggerExecutionId) -
findTaskRun
ArrayListTotal<TaskRun> findTaskRun(io.micronaut.data.model.Pageable pageable, @Nullable String query, @Nullable String tenantId, @Nullable String namespace, @Nullable String flowId, @Nullable ZonedDateTime startDate, @Nullable ZonedDateTime endDate, @Nullable List<State.Type> states, @Nullable Map<String, String> labels, @Nullable String triggerExecutionId) -
delete
-
purge
-
maxTaskRunSetting
Integer maxTaskRunSetting() -
dailyStatistics
List<DailyExecutionStatistics> dailyStatistics(@Nullable String query, @Nullable String tenantId, @Nullable String namespace, @Nullable String flowId, @Nullable ZonedDateTime startDate, @Nullable ZonedDateTime endDate, @Nullable DateUtils.GroupType groupBy, boolean isTaskRun) -
lastExecutions
List<Execution> lastExecutions(@Nullable String tenantId, @Nullable List<ExecutionRepositoryInterface.FlowFilter> flows) -
dailyGroupByFlowStatistics
Map<String,Map<String, dailyGroupByFlowStatisticsList<DailyExecutionStatistics>>> (@Nullable String query, @Nullable String tenantId, @Nullable String namespace, @Nullable String flowId, @Nullable List<ExecutionRepositoryInterface.FlowFilter> flows, @Nullable ZonedDateTime startDate, @Nullable ZonedDateTime endDate, boolean groupByNamespaceOnly) -
executionCounts
List<ExecutionCount> executionCounts(@Nullable String tenantId, List<Flow> flows, @Nullable List<State.Type> states, @Nullable ZonedDateTime startDate, @Nullable ZonedDateTime endDate) -
save
- Specified by:
savein interfaceSaveRepositoryInterface<Execution>
-
sortMapping
- Throws:
IllegalArgumentException
-