public class DefaultCouchbaseTypeMapper extends DefaultTypeMapper<CouchbaseDocument> implements CouchbaseTypeMapper
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultCouchbaseTypeMapper.CouchbaseDocumentTypeAliasAccessor |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_TYPE_KEY
The type key to use if a complex type was identified.
|
| Constructor and Description |
|---|
DefaultCouchbaseTypeMapper(String typeKey)
Create a new type mapper with the type key.
|
| Modifier and Type | Method and Description |
|---|---|
Alias |
getTypeAlias(TypeInformation<?> info) |
String |
getTypeKey() |
getAliasFor, getFallbackTypeFor, readType, readType, setBeanClassLoader, writeType, writeTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadType, readType, writeType, writeTypepublic static final String DEFAULT_TYPE_KEY
public DefaultCouchbaseTypeMapper(String typeKey)
typeKey - the typeKey to use.public String getTypeKey()
getTypeKey in interface CouchbaseTypeMapperpublic Alias getTypeAlias(TypeInformation<?> info)
getTypeAlias in interface CouchbaseTypeMapperCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.