接口 ESApiLogRepository
- 所有超级接口:
org.springframework.data.repository.CrudRepository<ESApiLog,
,Long> org.springframework.data.elasticsearch.repository.ElasticsearchRepository<ESApiLog,
,Long> org.springframework.data.repository.PagingAndSortingRepository<ESApiLog,
,Long> org.springframework.data.repository.Repository<ESApiLog,
Long>
public interface ESApiLogRepository
extends org.springframework.data.elasticsearch.repository.ElasticsearchRepository<ESApiLog,Long>
es 仓库索引构建,如果需要 es 框架自动创建索引,需要把这个类配置在和 Application 启动类同包或者同包下里面
- 从以下版本开始:
- 1.0.0
-
方法概要
从接口继承的方法 org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
从接口继承的方法 org.springframework.data.elasticsearch.repository.ElasticsearchRepository
delete, deleteAll, deleteAll, deleteAllById, deleteById, save, saveAll, searchSimilar
从接口继承的方法 org.springframework.data.repository.PagingAndSortingRepository
findAll, findAll