T - the type of the domain objectID - the type of the ID property in the domain objectpublic interface DatastoreRepository<T,ID>
extends org.springframework.data.repository.PagingAndSortingRepository<T,ID>, org.springframework.data.repository.query.QueryByExampleExecutor<T>
PagingAndSortingRepository that provides Datastore-specific functionality.| Modifier and Type | Method and Description |
|---|---|
<A> A |
performTransaction(Function<DatastoreRepository<T,ID>,A> operations)
Performs multiple read and write operations in a single transaction.
|
findAll, findAll<A> A performTransaction(Function<DatastoreRepository<T,ID>,A> operations)
A - the final return type of the operations.operations - the function representing the operations to perform using a
DatastoreRepository based on a single transaction.Copyright © 2020 Pivotal Software, Inc.. All rights reserved.