Module spring.data.neo4j
Class SimpleNeo4jRepository<T,ID>
java.lang.Object
org.springframework.data.neo4j.repository.support.SimpleNeo4jRepository<T,ID>
- Type Parameters:
T- the type of the domain class managed by this repositoryID- the type of the unique identifier of the domain class
- All Implemented Interfaces:
CrudRepository<T,,ID> PagingAndSortingRepository<T,,ID> Repository<T,ID>
@Repository
@Transactional(readOnly=true)
@API(status=STABLE,
since="6.0")
public class SimpleNeo4jRepository<T,ID>
extends Object
implements PagingAndSortingRepository<T,ID>, CrudRepository<T,ID>
Repository base implementation for Neo4j.
- Since:
- 6.0
- Author:
- Gerrit Meier, Michael J. Simons, J��n ����r, Jens Schauder
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSimpleNeo4jRepository(Neo4jOperations neo4jOperations, Neo4jEntityInformation<T, ID> entityInformation) -
Method Summary
Modifier and TypeMethodDescriptionlongcount()voidvoidvoidvoiddeleteAllById(Iterable<? extends ID> ids) voiddeleteById(ID id) booleanexistsById(ID id) findAll()findAllById(Iterable<ID> ids) <S extends T>
Ssave(S entity)
-
Constructor Details
-
SimpleNeo4jRepository
protected SimpleNeo4jRepository(Neo4jOperations neo4jOperations, Neo4jEntityInformation<T, ID> entityInformation)
-
-
Method Details
-
findById
- Specified by:
findByIdin interfaceCrudRepository<T,ID>
-
findAllById
- Specified by:
findAllByIdin interfaceCrudRepository<T,ID>
-
findAll
- Specified by:
findAllin interfaceCrudRepository<T,ID>
-
findAll
- Specified by:
findAllin interfacePagingAndSortingRepository<T,ID>
-
findAll
- Specified by:
findAllin interfacePagingAndSortingRepository<T,ID>
-
count
public long count()- Specified by:
countin interfaceCrudRepository<T,ID>
-
existsById
- Specified by:
existsByIdin interfaceCrudRepository<T,ID>
-
save
- Specified by:
savein interfaceCrudRepository<T,ID>
-
saveAll
- Specified by:
saveAllin interfaceCrudRepository<T,ID>
-
deleteById
- Specified by:
deleteByIdin interfaceCrudRepository<T,ID>
-
delete
- Specified by:
deletein interfaceCrudRepository<T,ID>
-
deleteAllById
- Specified by:
deleteAllByIdin interfaceCrudRepository<T,ID>
-
deleteAll
- Specified by:
deleteAllin interfaceCrudRepository<T,ID>
-
deleteAll
- Specified by:
deleteAllin interfaceCrudRepository<T,ID>
-