Class NonReactiveSupportWrapper
java.lang.Object
org.springframework.data.couchbase.core.NonReactiveSupportWrapper
- All Implemented Interfaces:
ReactiveTemplateSupport
Wrapper of
TemplateSupport
methods to adapt them to ReactiveTemplateSupport
.- Since:
- 4.2
- Author:
- Carlos Espinaco, Michael Reiche
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> reactor.core.publisher.Mono<T>
applyResult
(T entity, CouchbaseDocument converted, Object id, Long cas, Object txResultHolder, CouchbaseResourceHolder holder) <T> reactor.core.publisher.Mono<T>
decodeEntity
(Object id, String source, Long cas, Class<T> entityClass, String scope, String collection, Object txResultHolder, CouchbaseResourceHolder holder) reactor.core.publisher.Mono<CouchbaseDocument>
encodeEntity
(Object entityToEncode) getJavaNameForEntity
(Class<?> clazz)
-
Constructor Details
-
NonReactiveSupportWrapper
-
-
Method Details
-
encodeEntity
- Specified by:
encodeEntity
in interfaceReactiveTemplateSupport
-
decodeEntity
public <T> reactor.core.publisher.Mono<T> decodeEntity(Object id, String source, Long cas, Class<T> entityClass, String scope, String collection, Object txResultHolder, CouchbaseResourceHolder holder) - Specified by:
decodeEntity
in interfaceReactiveTemplateSupport
-
applyResult
public <T> reactor.core.publisher.Mono<T> applyResult(T entity, CouchbaseDocument converted, Object id, Long cas, Object txResultHolder, CouchbaseResourceHolder holder) - Specified by:
applyResult
in interfaceReactiveTemplateSupport
-
getCas
- Specified by:
getCas
in interfaceReactiveTemplateSupport
-
getId
- Specified by:
getId
in interfaceReactiveTemplateSupport
-
getJavaNameForEntity
- Specified by:
getJavaNameForEntity
in interfaceReactiveTemplateSupport
-
getTranslationService
- Specified by:
getTranslationService
in interfaceReactiveTemplateSupport
-