Uses of Class
org.springframework.data.couchbase.core.mapping.CouchbaseDocument
Packages that use CouchbaseDocument
Package
Description
This package contains the specific implementations and core classes for Spring Data Couchbase internals.
This package contains classes used for entity-to-JSON conversions, type mapping and writing.
This package contains interfaces and annotations relative to object-json mapping and the notion of a Couchbase
Storable.
This package contains various events that are emitted during the lifecycle of a Spring Data entity.
This package contains annotations and classes relative to querying with Couchbase (whether through views or N1QL) and
the associated indexes.
-
Uses of CouchbaseDocument in com.querydsl.couchbase.document
Methods in com.querydsl.couchbase.document that return CouchbaseDocumentModifier and TypeMethodDescriptionAbstractCouchbaseQueryDSL.asDocument()
protected CouchbaseDocument
AbstractCouchbaseQueryDSL.createQuery
(com.querydsl.core.types.Predicate predicate) -
Uses of CouchbaseDocument in org.springframework.data.couchbase.core
Methods in org.springframework.data.couchbase.core that return CouchbaseDocumentMethods in org.springframework.data.couchbase.core that return types with arguments of type CouchbaseDocumentModifier and TypeMethodDescriptionreactor.core.publisher.Mono<CouchbaseDocument>
NonReactiveSupportWrapper.encodeEntity
(Object entityToEncode) reactor.core.publisher.Mono<CouchbaseDocument>
ReactiveTemplateSupport.encodeEntity
(Object entityToEncode) Methods in org.springframework.data.couchbase.core with parameters of type CouchbaseDocumentModifier and TypeMethodDescription<T> reactor.core.publisher.Mono<T>
NonReactiveSupportWrapper.applyResult
(T entity, CouchbaseDocument converted, Object id, Long cas, Object txResultHolder, CouchbaseResourceHolder holder) <T> reactor.core.publisher.Mono<T>
ReactiveTemplateSupport.applyResult
(T entity, CouchbaseDocument converted, Object id, Long cas, Object txResultHolder, CouchbaseResourceHolder holder) <T> T
TemplateSupport.applyResult
(T entity, CouchbaseDocument converted, Object id, long cas, Object txResultHolder, CouchbaseResourceHolder holder) <T> T
AbstractTemplateSupport.applyResultBase
(T entity, CouchbaseDocument converted, Object id, long cas, Object txResultHolder, CouchbaseResourceHolder holder) -
Uses of CouchbaseDocument in org.springframework.data.couchbase.core.convert
Methods in org.springframework.data.couchbase.core.convert that return CouchbaseDocumentModifier and TypeMethodDescriptionOtherConverters.JsonNodeToMap.convert
(com.fasterxml.jackson.databind.JsonNode source) OtherConverters.JsonObjectToMap.convert
(com.couchbase.client.java.json.JsonObject source) CryptoConverter.write
(Object value, ValueConversionContext<? extends PersistentProperty<?>> context) Methods in org.springframework.data.couchbase.core.convert with parameters of type CouchbaseDocumentModifier and TypeMethodDescriptionprotected void
MappingCouchbaseConverter.addCustomTypeKeyIfNecessary
(TypeInformation<?> type, Object source, CouchbaseDocument target) Add a custom type key if needed.com.fasterxml.jackson.databind.JsonNode
OtherConverters.MapToJsonNode.convert
(CouchbaseDocument source) com.couchbase.client.java.json.JsonObject
OtherConverters.MapToJsonObject.convert
(CouchbaseDocument source) protected void
MappingCouchbaseConverter.copyCouchbaseDocument
(CouchbaseDocument source, CouchbaseDocument target) Helper method to copy the internals from a source document into a target document.protected Object
MappingCouchbaseConverter.getValueInternal
(CouchbasePersistentProperty property, CouchbaseDocument source, Object parent, PersistentEntity entity) Loads the property value through the value provider.CryptoConverter.read
(CouchbaseDocument value, ValueConversionContext<? extends PersistentProperty<?>> context) <R> R
MappingCouchbaseConverter.read
(Class<R> clazz, CouchbaseDocument source) protected <R> R
MappingCouchbaseConverter.read
(CouchbasePersistentEntity<R> entity, CouchbaseDocument source, Object parent) Read an incomingCouchbaseDocument
into the target entity.protected <R> R
MappingCouchbaseConverter.read
(TypeInformation<R> type, CouchbaseDocument source) Read an incomingCouchbaseDocument
into the target entity.protected <R> R
MappingCouchbaseConverter.read
(TypeInformation<R> type, CouchbaseDocument source, Object parent) Read an incomingCouchbaseDocument
into the target entity.DefaultCouchbaseTypeMapper.CouchbaseDocumentTypeAliasAccessor.readAliasFrom
(CouchbaseDocument source) MappingCouchbaseConverter.readMap
(TypeInformation<?> type, CouchbaseDocument source, Object parent) Recursively parses the a map from the source document.void
MappingCouchbaseConverter.write
(Object source, CouchbaseDocument target) protected void
MappingCouchbaseConverter.writeInternalEntity
(Object source, CouchbaseDocument target, CouchbasePersistentEntity<?> entity, boolean withId, CouchbasePersistentProperty prop, boolean processValueConverter) Internal helper method to write the source object into the target document.void
MappingCouchbaseConverter.writeInternalRoot
(Object source, CouchbaseDocument target, TypeInformation<?> typeHint, boolean withId, CouchbasePersistentProperty property, boolean processValueConverter) Convert a source object into aCouchbaseDocument
target.protected void
MappingCouchbaseConverter.writePropertyInternal
(Object source, CouchbaseDocument target, CouchbasePersistentProperty prop, ConvertingPropertyAccessor accessor) Helper method to write a non-simple property into the target document.void
DefaultCouchbaseTypeMapper.CouchbaseDocumentTypeAliasAccessor.writeTypeTo
(CouchbaseDocument sink, Object alias) -
Uses of CouchbaseDocument in org.springframework.data.couchbase.core.mapping
Methods in org.springframework.data.couchbase.core.mapping that return CouchbaseDocumentModifier and TypeMethodDescriptionfinal CouchbaseDocument
Store a value with the given key for later retreival.CouchbaseDocument.setContent
(com.couchbase.client.java.json.JsonObject payload) Allows to set the full payload as a json object for convenience.CouchbaseDocument.setContent
(Map<String, Object> content) Allows to set the full payload as a map.CouchbaseDocument.setExpiration
(int expiration) Set the expiration time of the document.Sets the unique ID of the document per bucket. -
Uses of CouchbaseDocument in org.springframework.data.couchbase.core.mapping.event
Methods in org.springframework.data.couchbase.core.mapping.event that return CouchbaseDocumentMethods in org.springframework.data.couchbase.core.mapping.event with parameters of type CouchbaseDocumentModifier and TypeMethodDescriptionAfterConvertCallback.onAfterConvert
(T entity, CouchbaseDocument document, String collection) Entity callback method invoked after a domain object is materialized from aCouchbaseDocument
.AuditingEntityCallback.onAfterConvert
(Object entity, CouchbaseDocument document, String collection) org.reactivestreams.Publisher<T>
ReactiveAfterConvertCallback.onAfterConvert
(T entity, CouchbaseDocument document, String collection) Entity callback method invoked after a domain object is converted to be persisted.org.reactivestreams.Publisher<Object>
ReactiveAuditingEntityCallback.onAfterConvert
(Object entity, CouchbaseDocument document, String collection) void
AbstractCouchbaseEventListener.onAfterDelete
(Object source, CouchbaseDocument doc) void
LoggingEventListener.onAfterDelete
(Object source, CouchbaseDocument doc) void
AbstractCouchbaseEventListener.onAfterSave
(E source, CouchbaseDocument doc) void
LoggingEventListener.onAfterSave
(Object source, CouchbaseDocument doc) void
AbstractCouchbaseEventListener.onBeforeDelete
(Object source, CouchbaseDocument doc) void
LoggingEventListener.onBeforeDelete
(Object source, CouchbaseDocument doc) void
AbstractCouchbaseEventListener.onBeforeSave
(E source, CouchbaseDocument doc) void
LoggingEventListener.onBeforeSave
(Object source, CouchbaseDocument doc) void
ValidatingCouchbaseEventListener.onBeforeSave
(Object source, CouchbaseDocument dbo) Constructors in org.springframework.data.couchbase.core.mapping.event with parameters of type CouchbaseDocumentModifierConstructorDescriptionAfterSaveEvent
(E source, CouchbaseDocument document) BeforeSaveEvent
(E source, CouchbaseDocument document) CouchbaseMappingEvent
(T source, CouchbaseDocument document) -
Uses of CouchbaseDocument in org.springframework.data.couchbase.core.query
Methods in org.springframework.data.couchbase.core.query with parameters of type CouchbaseDocumentModifier and TypeMethodDescriptionstatic com.couchbase.client.java.kv.InsertOptions
OptionsBuilder.buildInsertOptions
(com.couchbase.client.java.kv.InsertOptions options, com.couchbase.client.java.kv.PersistTo persistTo, com.couchbase.client.java.kv.ReplicateTo replicateTo, com.couchbase.client.core.msg.kv.DurabilityLevel durabilityLevel, Duration expiry, CouchbaseDocument doc) static com.couchbase.client.java.kv.MutateInOptions
OptionsBuilder.buildMutateInOptions
(com.couchbase.client.java.kv.MutateInOptions options, com.couchbase.client.java.kv.PersistTo persistTo, com.couchbase.client.java.kv.ReplicateTo replicateTo, com.couchbase.client.core.msg.kv.DurabilityLevel durabilityLevel, Duration expiry, CouchbaseDocument doc, Long cas) static com.couchbase.client.java.kv.ReplaceOptions
OptionsBuilder.buildReplaceOptions
(com.couchbase.client.java.kv.ReplaceOptions options, com.couchbase.client.java.kv.PersistTo persistTo, com.couchbase.client.java.kv.ReplicateTo replicateTo, com.couchbase.client.core.msg.kv.DurabilityLevel durabilityLevel, Duration expiry, Long cas, CouchbaseDocument doc) static com.couchbase.client.java.kv.UpsertOptions
OptionsBuilder.buildUpsertOptions
(com.couchbase.client.java.kv.UpsertOptions options, com.couchbase.client.java.kv.PersistTo persistTo, com.couchbase.client.java.kv.ReplicateTo replicateTo, com.couchbase.client.core.msg.kv.DurabilityLevel durabilityLevel, Duration expiry, CouchbaseDocument doc)