Class DefaultCouchbaseTypeMapper
java.lang.Object
org.springframework.data.convert.DefaultTypeMapper<CouchbaseDocument>
org.springframework.data.couchbase.core.convert.DefaultCouchbaseTypeMapper
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,TypeMapper<CouchbaseDocument>
,CouchbaseTypeMapper
public class DefaultCouchbaseTypeMapper
extends DefaultTypeMapper<CouchbaseDocument>
implements CouchbaseTypeMapper
The Couchbase Type Mapper.
- Author:
- Michael Nitschinger, Mark Paluch, Michael Reiche
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The type key to use if a complex type was identified. -
Constructor Summary
ConstructorDescriptionDefaultCouchbaseTypeMapper
(String typeKey) Create a new type mapper with the type key. -
Method Summary
Methods inherited from class org.springframework.data.convert.DefaultTypeMapper
getAliasFor, getFallbackTypeFor, readType, readType, setBeanClassLoader, writeType, writeType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.convert.TypeMapper
readType, readType, writeType, writeType
-
Field Details
-
DEFAULT_TYPE_KEY
The type key to use if a complex type was identified.- See Also:
-
-
Constructor Details
-
DefaultCouchbaseTypeMapper
Create a new type mapper with the type key.- Parameters:
typeKey
- the typeKey to use.
-
-
Method Details
-
getTypeKey
- Specified by:
getTypeKey
in interfaceCouchbaseTypeMapper
-
getTypeAlias
- Specified by:
getTypeAlias
in interfaceCouchbaseTypeMapper
-