Class PostgresBackendLoader
- java.lang.Object
-
- org.dotwebstack.framework.backend.postgres.PostgresBackendLoader
-
- All Implemented Interfaces:
BackendLoader
public class PostgresBackendLoader extends Object implements BackendLoader
-
-
Constructor Summary
Constructors Constructor Description PostgresBackendLoader(org.springframework.r2dbc.core.DatabaseClient databaseClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Flux<reactor.core.publisher.GroupedFlux<Map<String,Object>,Map<String,Object>>>batchLoadMany(CollectionBatchRequest collectionBatchRequest, RequestContext requestContext)reactor.core.publisher.Flux<Map<String,Object>>loadMany(CollectionRequest collectionRequest, RequestContext requestContext)reactor.core.publisher.Mono<Map<String,Object>>loadSingle(ObjectRequest objectRequest, RequestContext requestContext)
-
-
-
Method Detail
-
loadSingle
public reactor.core.publisher.Mono<Map<String,Object>> loadSingle(ObjectRequest objectRequest, RequestContext requestContext)
- Specified by:
loadSinglein interfaceBackendLoader
-
loadMany
public reactor.core.publisher.Flux<Map<String,Object>> loadMany(CollectionRequest collectionRequest, RequestContext requestContext)
- Specified by:
loadManyin interfaceBackendLoader
-
batchLoadMany
public reactor.core.publisher.Flux<reactor.core.publisher.GroupedFlux<Map<String,Object>,Map<String,Object>>> batchLoadMany(CollectionBatchRequest collectionBatchRequest, RequestContext requestContext)
- Specified by:
batchLoadManyin interfaceBackendLoader
-
-