Package ca.uhn.fhir.jpa.dao.data
Interface IResourceIndexedSearchParamUriDao
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ResourceIndexedSearchParamUri,
,Long> IHapiFhirJpaRepository
,org.springframework.data.jpa.repository.JpaRepository<ResourceIndexedSearchParamUri,
,Long> org.springframework.data.repository.ListCrudRepository<ResourceIndexedSearchParamUri,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<ResourceIndexedSearchParamUri,
,Long> org.springframework.data.repository.PagingAndSortingRepository<ResourceIndexedSearchParamUri,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<ResourceIndexedSearchParamUri>
,org.springframework.data.repository.Repository<ResourceIndexedSearchParamUri,
Long>
public interface IResourceIndexedSearchParamUriDao
extends org.springframework.data.jpa.repository.JpaRepository<ResourceIndexedSearchParamUri,Long>, IHapiFhirJpaRepository
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteByResourceId
(Long theResourcePid) findAllByHashIdentity
(long theHashIdentity) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findAllByHashIdentity
@Query("SELECT DISTINCT p.myUri FROM ResourceIndexedSearchParamUri p WHERE p.myHashIdentity = :hash_identity") Collection<String> findAllByHashIdentity(@Param("hash_identity") long theHashIdentity) -
deleteByResourceId
@Modifying @Query("delete from ResourceIndexedSearchParamUri t WHERE t.myResourcePid = :resid") void deleteByResourceId(@Param("resid") Long theResourcePid)
-