Interface TurEmbeddingModelRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<TurEmbeddingModel, String>, org.springframework.data.jpa.repository.JpaRepository<TurEmbeddingModel, String>, org.springframework.data.repository.ListCrudRepository<TurEmbeddingModel, String>, org.springframework.data.repository.ListPagingAndSortingRepository<TurEmbeddingModel, String>, org.springframework.data.repository.PagingAndSortingRepository<TurEmbeddingModel, String>, org.springframework.data.repository.query.QueryByExampleExecutor<TurEmbeddingModel>, org.springframework.data.repository.Repository<TurEmbeddingModel, String>

public interface TurEmbeddingModelRepository extends org.springframework.data.jpa.repository.JpaRepository<TurEmbeddingModel, String>
Repository for Embedding Model.
Since:
2026.1.14
Author:
Alexandre Oliveira
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
    findById(@NotNull String id)
     
    <S extends TurEmbeddingModel>
    S
    save(S entity)
     

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById

    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

    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

    • findAll

      @Cacheable("turEmbeddingModelfindAll") List<TurEmbeddingModel> findAll()
      Specified by:
      findAll in interface org.springframework.data.repository.CrudRepository<TurEmbeddingModel, String>
      Specified by:
      findAll in interface org.springframework.data.repository.ListCrudRepository<TurEmbeddingModel, String>
    • findById

      @Cacheable("turEmbeddingModelfindById") @NotNull @NotNull Optional<TurEmbeddingModel> findById(@NotNull @NotNull String id)
      Specified by:
      findById in interface org.springframework.data.repository.CrudRepository<TurEmbeddingModel, String>
    • save

      @CacheEvict(value={"turEmbeddingModelfindAll","turEmbeddingModelfindById"}, allEntries=true) @NotNull <S extends TurEmbeddingModel> S save(@NotNull S entity)
      Specified by:
      save in interface org.springframework.data.repository.CrudRepository<TurEmbeddingModel, String>
    • delete

      @Modifying @Query("delete from TurEmbeddingModel em where em.id = ?1") @CacheEvict(value={"turEmbeddingModelfindAll","turEmbeddingModelfindById"}, allEntries=true) void delete(String id)