public interface CouchbaseConverter extends EntityConverter<CouchbasePersistentEntity<?>,CouchbasePersistentProperty,Object,CouchbaseDocument>, CouchbaseWriter<Object,CouchbaseDocument>, 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.
|
Alias |
getTypeAlias(TypeInformation<?> info) |
String |
getTypeKey() |
Class<?> |
getWriteClassFor(Class<?> clazz)
Return the Class that would actually be stored for a given Class.
|
getConversionService, getMappingContextreadwriteObject 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()
Alias getTypeAlias(TypeInformation<?> info)
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.