Class PostgresBackendLoader
java.lang.Object
org.dotwebstack.framework.backend.postgres.PostgresBackendLoader
- All Implemented Interfaces:
BackendLoader
-
Field Summary
Fields inherited from interface org.dotwebstack.framework.core.backend.BackendLoader
NILL_MAP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<reactor.core.publisher.GroupedFlux<Map<String,Object>, Map<String, Object>>> batchLoadMany(CollectionBatchRequest collectionBatchRequest, RequestContext requestContext) batchLoadSingle(BatchRequest batchRequest, RequestContext requestContext) loadMany(CollectionRequest collectionRequest, RequestContext requestContext) loadSingle(ObjectRequest objectRequest, RequestContext requestContext)
-
Constructor Details
-
PostgresBackendLoader
-
-
Method Details
-
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>, batchLoadManyMap<String, Object>>> (CollectionBatchRequest collectionBatchRequest, RequestContext requestContext) - Specified by:
batchLoadManyin interfaceBackendLoader
-
batchLoadSingle
public reactor.core.publisher.Flux<reactor.util.function.Tuple2<Map<String,Object>, batchLoadSingleMap<String, Object>>> (BatchRequest batchRequest, RequestContext requestContext) - Specified by:
batchLoadSinglein interfaceBackendLoader
-