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>
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    查找状态为指定值但向量状态不是指定值的Text实体
     

    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.jpa.repository.JpaSpecificationExecutor

    count, delete, exists, findAll, findAll, findAll, findBy, findOne

    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

    • findByUid

      Optional<TextEntity> findByUid(String uid)
    • findByKbase_UidAndDeletedFalse

      List<TextEntity> findByKbase_UidAndDeletedFalse(String kbUid)
    • existsByTitleAndKbase_UidAndDeletedFalse

      Boolean existsByTitleAndKbase_UidAndDeletedFalse(String title, String kbUid)
    • findByStatusAndVectorStatusNot

      List<TextEntity> findByStatusAndVectorStatusNot(String status, String vectorStatus)
      查找状态为指定值但向量状态不是指定值的Text实体
      Parameters:
      status - 状态值
      vectorStatus - 向量状态值
      Returns:
      Text实体列表