Package com.bytedesk.kbase.llm_text
Interface TextRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TextEntity,,Long> org.springframework.data.jpa.repository.JpaRepository<TextEntity,,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<TextEntity>,org.springframework.data.repository.ListCrudRepository<TextEntity,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<TextEntity,,Long> org.springframework.data.repository.PagingAndSortingRepository<TextEntity,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<TextEntity>,org.springframework.data.repository.Repository<TextEntity,Long>
public interface TextRepository
extends org.springframework.data.jpa.repository.JpaRepository<TextEntity,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<TextEntity>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery<T extends Object> -
Method Summary
Modifier and TypeMethodDescriptionexistsByTitleAndKbase_UidAndDeletedFalse(String title, String kbUid) findByElasticStatusAndVectorStatusNot(String elasticStatus, String vectorStatus) 查找状态为指定值但向量状态不是指定值的Text实体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.jpa.repository.JpaSpecificationExecutor
count, delete, exists, findAll, findAll, findAll, findAll, findBy, findOneMethods 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
-
findByUid
-
findByKbase_UidAndDeletedFalse
-
existsByTitleAndKbase_UidAndDeletedFalse
-
findByElasticStatusAndVectorStatusNot
查找状态为指定值但向量状态不是指定值的Text实体- Parameters:
elasticStatus- 状态值vectorStatus- 向量状态值- Returns:
- Text实体列表
-