@NoRepositoryBean public interface Neo4jRepository<T,ID extends Serializable> extends PagingAndSortingRepository<T,ID>
Repository
.Modifier and Type | Method and Description |
---|---|
Iterable<T> |
findAll() |
Iterable<T> |
findAll(int depth) |
Page<T> |
findAll(Pageable pageable)
Returns a
Page of entities meeting the paging restriction provided in the Pageable object. |
Page<T> |
findAll(Pageable pageable,
int depth)
Returns a
Page of entities meeting the paging restriction provided in the Pageable object. |
Iterable<T> |
findAll(Sort sort) |
Iterable<T> |
findAll(Sort sort,
int depth) |
Iterable<T> |
findAllById(Iterable<ID> ids) |
Iterable<T> |
findAllById(Iterable<ID> ids,
int depth) |
Iterable<T> |
findAllById(Iterable<ID> ids,
Sort sort) |
Iterable<T> |
findAllById(Iterable<ID> ids,
Sort sort,
int depth) |
Optional<T> |
findById(ID id,
int depth) |
<S extends T> |
save(Iterable<S> entities,
int depth) |
<S extends T> |
save(S s,
int depth) |
count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save, saveAll
<S extends T> S save(S s, int depth)
Iterable<T> findAll()
findAll
in interface CrudRepository<T,ID extends Serializable>
Iterable<T> findAll(Sort sort)
findAll
in interface PagingAndSortingRepository<T,ID extends Serializable>
Iterable<T> findAllById(Iterable<ID> ids)
findAllById
in interface CrudRepository<T,ID extends Serializable>
Page<T> findAll(Pageable pageable)
Page
of entities meeting the paging restriction provided in the Pageable
object.
Page.getTotalPages()
returns an estimation of the total number of pages and should not be relied upon for accuracy.findAll
in interface PagingAndSortingRepository<T,ID extends Serializable>
pageable
- Page<T> findAll(Pageable pageable, int depth)
Page
of entities meeting the paging restriction provided in the Pageable
object.
Page.getTotalPages()
returns an estimation of the total number of pages and should not be relied upon for accuracy.pageable
- depth
- Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.