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 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 TypeMethodDescriptionNonReactiveSupportWrapper.encodeEntity(Object entityToEncode) ReactiveTemplateSupport.encodeEntity(Object entityToEncode) Methods in org.springframework.data.couchbase.core with parameters of type CouchbaseDocumentModifier and TypeMethodDescription<T> Mono<T> NonReactiveSupportWrapper.applyResult(T entity, CouchbaseDocument converted, Object id, Long cas, Object txResultHolder, CouchbaseResourceHolder holder) <T> Mono<T> ReactiveTemplateSupport.applyResult(T entity, CouchbaseDocument converted, Object id, Long cas, Object txResultHolder, CouchbaseResourceHolder holder) <T> TTemplateSupport.applyResult(T entity, CouchbaseDocument converted, Object id, long cas, Object txResultHolder, CouchbaseResourceHolder holder) <T> TAbstractTemplateSupport.applyResultBase(T entity, CouchbaseDocument converted, Object id, long cas, Object txResultHolder, CouchbaseResourceHolder holder) -
Uses of CouchbaseDocument in org.springframework.data.couchbase.core.convert
Subclasses with type arguments of type CouchbaseDocument in org.springframework.data.couchbase.core.convertSubinterfaces with type arguments of type CouchbaseDocument in org.springframework.data.couchbase.core.convertModifier and TypeInterfaceDescriptioninterfaceMarker interface for the converter, identifying the types to and from that can be converted.interfaceMarker interface for the converter, identifying the types to and from that can be converted.interfaceMarker interface for the converter, identifying the types to and from that can be converted.interfaceMarker interface for the TypeMapper.Classes in org.springframework.data.couchbase.core.convert that implement interfaces with type arguments of type CouchbaseDocumentModifier and TypeClassDescriptionclassEncrypt/Decrypted properties annotated.static final classstatic enumstatic enumstatic enumstatic enumMethods 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 voidMappingCouchbaseConverter.addCustomTypeKeyIfNecessary(TypeInformation<?> type, Object source, CouchbaseDocument target) Add a custom type key if needed.com.fasterxml.jackson.databind.JsonNodeOtherConverters.MapToJsonNode.convert(CouchbaseDocument source) com.couchbase.client.java.json.JsonObjectOtherConverters.MapToJsonObject.convert(CouchbaseDocument source) protected voidMappingCouchbaseConverter.copyCouchbaseDocument(CouchbaseDocument source, CouchbaseDocument target) Helper method to copy the internals from a source document into a target document.protected ObjectMappingCouchbaseConverter.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> RMappingCouchbaseConverter.read(Class<R> clazz, CouchbaseDocument source) protected <R> RMappingCouchbaseConverter.read(TypeInformation<R> type, CouchbaseDocument source) Read an incomingCouchbaseDocumentinto the target entity.protected <R> RMappingCouchbaseConverter.read(TypeInformation<R> type, CouchbaseDocument source, Object parent) Read an incomingCouchbaseDocumentinto the target entity.protected <R> RMappingCouchbaseConverter.read(CouchbasePersistentEntity<R> entity, CouchbaseDocument source, Object parent) Read an incomingCouchbaseDocumentinto 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.voidMappingCouchbaseConverter.write(Object source, CouchbaseDocument target) protected voidMappingCouchbaseConverter.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.voidMappingCouchbaseConverter.writeInternalRoot(Object source, CouchbaseDocument target, TypeInformation<?> typeHint, boolean withId, CouchbasePersistentProperty property, boolean processValueConverter) Convert a source object into aCouchbaseDocumenttarget.protected voidMappingCouchbaseConverter.writePropertyInternal(Object source, CouchbaseDocument target, CouchbasePersistentProperty prop, ConvertingPropertyAccessor accessor) Helper method to write a non-simple property into the target document.voidDefaultCouchbaseTypeMapper.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 CouchbaseDocumentStore 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) ReactiveAfterConvertCallback.onAfterConvert(T entity, CouchbaseDocument document, String collection) Entity callback method invoked after a domain object is converted to be persisted.ReactiveAuditingEntityCallback.onAfterConvert(Object entity, CouchbaseDocument document, String collection) voidAbstractCouchbaseEventListener.onAfterDelete(Object source, CouchbaseDocument doc) voidLoggingEventListener.onAfterDelete(Object source, CouchbaseDocument doc) voidAbstractCouchbaseEventListener.onAfterSave(E source, CouchbaseDocument doc) voidLoggingEventListener.onAfterSave(Object source, CouchbaseDocument doc) voidAbstractCouchbaseEventListener.onBeforeDelete(Object source, CouchbaseDocument doc) voidLoggingEventListener.onBeforeDelete(Object source, CouchbaseDocument doc) voidAbstractCouchbaseEventListener.onBeforeSave(E source, CouchbaseDocument doc) voidLoggingEventListener.onBeforeSave(Object source, CouchbaseDocument doc) voidValidatingCouchbaseEventListener.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.InsertOptionsOptionsBuilder.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.MutateInOptionsOptionsBuilder.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.ReplaceOptionsOptionsBuilder.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.UpsertOptionsOptionsBuilder.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) -
Uses of CouchbaseDocument in org.springframework.data.couchbase.querydsl.document
Methods in org.springframework.data.couchbase.querydsl.document that return CouchbaseDocumentModifier and TypeMethodDescriptionAbstractCouchbaseQueryDSL.asDocument()protected CouchbaseDocumentAbstractCouchbaseQueryDSL.createQuery(@Nullable com.querydsl.core.types.Predicate predicate)