Interface CausingEventRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<CausingEvent,,UUID> org.springframework.data.jpa.repository.JpaRepository<CausingEvent,,UUID> org.springframework.data.repository.ListCrudRepository<CausingEvent,,UUID> org.springframework.data.repository.ListPagingAndSortingRepository<CausingEvent,,UUID> org.springframework.data.repository.PagingAndSortingRepository<CausingEvent,,UUID> org.springframework.data.repository.query.QueryByExampleExecutor<CausingEvent>,org.springframework.data.repository.Repository<CausingEvent,UUID>
public interface CausingEventRepository
extends org.springframework.data.jpa.repository.JpaRepository<CausingEvent,UUID>
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteAllById(List<UUID> ids) voidfindByCausingEventId(String eventId) org.springframework.data.domain.Slice<UUID> findCausingEventIdsWithoutError(org.springframework.data.domain.Pageable pageable) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByCausingEventId
@Query("select c from CausingEvent c where c.metadata.id = ?1") Optional<CausingEvent> findByCausingEventId(String eventId) -
findCausingEventIdsWithoutError
@Query("select causingEvent.id from CausingEvent causingEvent left join Error error on causingEvent.id = error.causingEvent.id where error is null") org.springframework.data.domain.Slice<UUID> findCausingEventIdsWithoutError(org.springframework.data.domain.Pageable pageable) -
deleteAllById
-
deleteAllHeadersByCausingEventIds
-