Package io.kestra.jdbc.repository
Class AbstractJdbcWorkerJobRunningRepository
java.lang.Object
io.kestra.jdbc.repository.AbstractJdbcRepository
io.kestra.jdbc.repository.AbstractJdbcWorkerJobRunningRepository
- All Implemented Interfaces:
io.kestra.core.repositories.WorkerJobRunningRepositoryInterface
@Singleton
public abstract class AbstractJdbcWorkerJobRunningRepository
extends AbstractJdbcRepository
implements io.kestra.core.repositories.WorkerJobRunningRepositoryInterface
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AbstractJdbcRepository<io.kestra.core.runners.WorkerJobRunning> -
Constructor Summary
ConstructorsConstructorDescriptionAbstractJdbcWorkerJobRunningRepository(AbstractJdbcRepository<io.kestra.core.runners.WorkerJobRunning> jdbcRepository) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByKey(String uid) Optional<io.kestra.core.runners.WorkerJobRunning>List<io.kestra.core.runners.WorkerJobRunning>getWorkerJobWithWorkerDead(org.jooq.DSLContext context, List<String> workersToDelete) io.kestra.core.runners.WorkerJobRunningsave(io.kestra.core.runners.WorkerJobRunning workerJobRunning, org.jooq.DSLContext context) Methods inherited from class io.kestra.jdbc.repository.AbstractJdbcRepository
buildTenantCondition, defaultFilter, defaultFilter, field, field, groupByFields, groupByFields
-
Field Details
-
jdbcRepository
-
-
Constructor Details
-
AbstractJdbcWorkerJobRunningRepository
public AbstractJdbcWorkerJobRunningRepository(AbstractJdbcRepository<io.kestra.core.runners.WorkerJobRunning> jdbcRepository)
-
-
Method Details
-
save
public io.kestra.core.runners.WorkerJobRunning save(io.kestra.core.runners.WorkerJobRunning workerJobRunning, org.jooq.DSLContext context) -
deleteByKey
- Specified by:
deleteByKeyin interfaceio.kestra.core.repositories.WorkerJobRunningRepositoryInterface
-
findByKey
- Specified by:
findByKeyin interfaceio.kestra.core.repositories.WorkerJobRunningRepositoryInterface
-
getWorkerJobWithWorkerDead
-