Class AbstractTemplateSupport
java.lang.Object
org.springframework.data.couchbase.core.AbstractTemplateSupport
Base shared by Reactive and non-Reactive TemplateSupport
- Author:
- Michael Reiche
-
Constructor Summary
ConstructorDescriptionAbstractTemplateSupport
(ReactiveCouchbaseTemplate template, CouchbaseConverter converter, TranslationService translationService) -
Method Summary
Modifier and TypeMethodDescription<T> T
applyResultBase
(T entity, CouchbaseDocument converted, Object id, long cas, Object txResultHolder, CouchbaseResourceHolder holder) <T> T
decodeEntityBase
(Object id, String source, Long cas, Class<T> entityClass, String scope, String collection, Object txResultHolder, CouchbaseResourceHolder holder) getJavaNameForEntity
(Class<?> clazz) void
maybeEmitEvent
(CouchbaseMappingEvent<?> event)
-
Constructor Details
-
AbstractTemplateSupport
public AbstractTemplateSupport(ReactiveCouchbaseTemplate template, CouchbaseConverter converter, TranslationService translationService)
-
-
Method Details
-
decodeEntityBase
-
applyResultBase
public <T> T applyResultBase(T entity, CouchbaseDocument converted, Object id, long cas, Object txResultHolder, CouchbaseResourceHolder holder) -
getCas
-
getId
-
getJavaNameForEntity
-
maybeEmitEvent
-
getTranslationService
-