Interface TurLLMInstanceRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TurLLMInstance,,String> org.springframework.data.jpa.repository.JpaRepository<TurLLMInstance,,String> org.springframework.data.repository.ListCrudRepository<TurLLMInstance,,String> org.springframework.data.repository.ListPagingAndSortingRepository<TurLLMInstance,,String> org.springframework.data.repository.PagingAndSortingRepository<TurLLMInstance,,String> org.springframework.data.repository.query.QueryByExampleExecutor<TurLLMInstance>,org.springframework.data.repository.Repository<TurLLMInstance,String>
public interface TurLLMInstanceRepository
extends org.springframework.data.jpa.repository.JpaRepository<TurLLMInstance,String>
-
Method Summary
Modifier and TypeMethodDescriptionvoidfindAll()@NotNull Optional<TurLLMInstance> @NotNull TurLLMInstancesave(@NotNull TurLLMInstance turLLMInstance) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsByIdMethods 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
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
-
findAll
- Specified by:
findAllin interfaceorg.springframework.data.repository.CrudRepository<TurLLMInstance,String> - Specified by:
findAllin interfaceorg.springframework.data.repository.ListCrudRepository<TurLLMInstance,String>
-
findById
@Cacheable("turLLMInstancefindById") @NotNull @NotNull Optional<TurLLMInstance> findById(@NotNull @NotNull String id) - Specified by:
findByIdin interfaceorg.springframework.data.repository.CrudRepository<TurLLMInstance,String>
-
save
@CacheEvict(value={"turLLMInstancefindAll","turLLMInstancefindById"}, allEntries=true) @NotNull @NotNull TurLLMInstance save(@NotNull @NotNull TurLLMInstance turLLMInstance) - Specified by:
savein interfaceorg.springframework.data.repository.CrudRepository<TurLLMInstance,String>
-
delete
@Modifying @Query("delete from TurStoreInstance si where si.id = ?1") @CacheEvict(value={"turLLMInstancefindAll","turLLMInstancefindById"}, allEntries=true) void delete(String id)
-