@NoRepositoryBean public interface PagingAndSortingRepository<T,ID> extends CrudRepository<T,ID>
CrudRepository
の拡張により、ページネーションとソートの抽象化を使用してエンティティを取得する追加のメソッドが提供されます。修飾子と型 | メソッドと説明 |
---|---|
Page<T> | findAll(Pageable pageable) Pageable オブジェクトで提供されるページング制限を満たすエンティティの Page を返します。 |
IterableSE<T> | findAll(Sort sort) 指定されたオプションでソートされたすべてのエンティティを返します。 |
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.