ExecutorRepo

interface ExecutorRepo : JpaRepository<Executor, Int> , JpaSpecificationExecutor<Executor>

Functions

Link copied to clipboard
abstract fun count(spec: Specification<Executor?>?): Long
abstract fun count(): Long
abstract fun <S : Executor?> count(example: Example<S?>?): Long
Link copied to clipboard
abstract fun delete(spec: Specification<Executor?>?): Long
abstract fun delete(entity: Executor?)
Link copied to clipboard
abstract fun deleteAll()
abstract fun deleteAll(entities: Iterable<out Executor?>?)
Link copied to clipboard
abstract fun deleteAllById(ids: Iterable<out Int?>?)
Link copied to clipboard
abstract fun deleteAllByIdInBatch(ids: Iterable<Int?>?)
Link copied to clipboard
abstract fun deleteAllInBatch()
abstract fun deleteAllInBatch(entities: Iterable<Executor?>?)
Link copied to clipboard
abstract fun deleteById(id: Int?)
Link copied to clipboard
open fun deleteInBatch(entities: Iterable<Executor?>?)
Link copied to clipboard
abstract fun exists(spec: Specification<Executor?>?): Boolean
abstract fun <S : Executor?> exists(example: Example<S?>?): Boolean
Link copied to clipboard
abstract fun existsById(id: Int?): Boolean
Link copied to clipboard
abstract fun findAll(spec: Specification<Executor?>?): List<Executor?>?
abstract fun findAll(spec: Specification<Executor?>?, pageable: Pageable?): Page<Executor?>?
abstract fun findAll(spec: Specification<Executor?>?, sort: Sort?): List<Executor?>?
abstract fun findAll(): List<Executor?>?
abstract fun findAll(pageable: Pageable?): Page<Executor?>?
abstract fun findAll(sort: Sort?): List<Executor?>?
abstract fun <S : Executor?> findAll(example: Example<S?>?): List<S?>?
abstract fun <S : Executor?> findAll(example: Example<S?>?, pageable: Pageable?): Page<S?>?
abstract fun <S : Executor?> findAll(example: Example<S?>?, sort: Sort?): List<S?>?
Link copied to clipboard
abstract fun findAllById(ids: Iterable<Int?>?): List<Executor?>?
Link copied to clipboard
abstract fun <S : Executor?, R : Any?> findBy(spec: Specification<Executor?>?, queryFunction: Function<FluentQuery.FetchableFluentQuery<S?>?, R?>?): R?
abstract fun <S : Executor?, R : Any?> findBy(example: Example<S?>?, queryFunction: Function<FluentQuery.FetchableFluentQuery<S?>?, R?>?): R?
Link copied to clipboard
@Query(value = "select e from Executor e where e.hid = :hid")
abstract fun findByHid(hid: String): Executor?
Link copied to clipboard
abstract fun findById(id: Int?): Optional<Executor?>?
Link copied to clipboard
@Query(value = "select e from Executor e where e.lastAliveTime < :time")
abstract fun findExecutorsAliveBefore(time: Instant): List<Executor>
Link copied to clipboard
abstract fun findOne(spec: Specification<Executor?>?): Optional<Executor?>?
abstract fun <S : Executor?> findOne(example: Example<S?>?): Optional<S?>?
Link copied to clipboard
abstract fun flush()
Link copied to clipboard
abstract fun getById(id: Int?): Executor?
Link copied to clipboard
abstract fun getOne(id: Int?): Executor?
Link copied to clipboard
abstract fun getReferenceById(id: Int?): Executor?
Link copied to clipboard
abstract fun <S : Executor?> save(entity: S?): S?
Link copied to clipboard
abstract fun <S : Executor?> saveAll(entities: Iterable<S?>?): List<S?>?
Link copied to clipboard
abstract fun <S : Executor?> saveAllAndFlush(entities: Iterable<S?>?): List<S?>?
Link copied to clipboard
abstract fun <S : Executor?> saveAndFlush(entity: S?): S?