public interface CouchbaseConverter extends org.springframework.data.convert.EntityConverter<CouchbasePersistentEntity<?>,CouchbasePersistentProperty,Object,CouchbaseDocument>, CouchbaseWriter<Object,CouchbaseDocument>, org.springframework.data.convert.EntityReader<Object,CouchbaseDocument>
| Modifier and Type | Method and Description |
|---|---|
Object |
convertForWriteIfNeeded(Object value)
Convert the value if necessary to the class that would actually be stored, or leave it as is if no conversion
needed.
|
org.springframework.data.mapping.Alias |
getTypeAlias(org.springframework.data.util.TypeInformation<?> info) |
String |
getTypeKey() |
Class<?> |
getWriteClassFor(Class<?> clazz)
Return the Class that would actually be stored for a given Class.
|
Object convertForWriteIfNeeded(Object value)
value - the value to be converted to the class that would actually be stored.Class<?> getWriteClassFor(Class<?> clazz)
clazz - the source class.convertForWriteIfNeeded(Object)String getTypeKey()
org.springframework.data.mapping.Alias getTypeAlias(org.springframework.data.util.TypeInformation<?> info)
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.