public class N1qlCouchbaseRepository<T,ID extends Serializable> extends SimpleCouchbaseRepository<T,ID> implements CouchbasePagingAndSortingRepository<T,ID>
CouchbasePagingAndSortingRepository implementation. It uses N1QL for its PagingAndSortingRepository
method implementation.| Constructor and Description |
|---|
N1qlCouchbaseRepository(CouchbaseEntityInformation<T,String> metadata,
CouchbaseOperations couchbaseOperations)
Create a new Repository.
|
| Modifier and Type | Method and Description |
|---|---|
Page<T> |
findAll(Pageable pageable) |
Iterable<T> |
findAll(Sort sort) |
count, delete, deleteAll, deleteAll, deleteById, existsById, findAll, findAllById, findById, getCouchbaseOperations, getEntityInformation, save, saveAll, setViewMetadataProviderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCouchbaseOperationscount, delete, deleteAll, deleteAll, deleteById, existsById, findAll, findAllById, findById, save, saveAllpublic N1qlCouchbaseRepository(CouchbaseEntityInformation<T,String> metadata, CouchbaseOperations couchbaseOperations)
metadata - the Metadata for the entity.couchbaseOperations - the reference to the template used.public Iterable<T> findAll(Sort sort)
findAll in interface PagingAndSortingRepository<T,ID extends Serializable>public Page<T> findAll(Pageable pageable)
findAll in interface PagingAndSortingRepository<T,ID extends Serializable>Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.