public abstract class AbstractCassandraConverter extends Object implements CassandraConverter, org.springframework.beans.factory.InitializingBean
CassandraConverter implementations. Sets up a ConversionService and populates basic
converters.InitializingBean,
CassandraConverter| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCassandraConverter(org.springframework.core.convert.ConversionService conversionService)
Create a new
AbstractCassandraConverter using the given ConversionService. |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
org.springframework.core.convert.ConversionService |
getConversionService() |
org.springframework.data.convert.CustomConversions |
getCustomConversions()
Returns the
CustomConversions registered in the CassandraConverter. |
void |
setCustomConversions(org.springframework.data.convert.CustomConversions conversions)
Registers the given custom conversions with the converter.
|
void |
setInstantiators(org.springframework.data.convert.EntityInstantiators instantiators)
Registers
EntityInstantiators to customize entity instantiation. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertToColumnType, convertToColumnType, getId, getMappingContext, writeprotected AbstractCassandraConverter(org.springframework.core.convert.ConversionService conversionService)
AbstractCassandraConverter using the given ConversionService.public void setInstantiators(org.springframework.data.convert.EntityInstantiators instantiators)
EntityInstantiators to customize entity instantiation.instantiators - must not be null.public void setCustomConversions(org.springframework.data.convert.CustomConversions conversions)
public org.springframework.data.convert.CustomConversions getCustomConversions()
CassandraConverterCustomConversions registered in the CassandraConverter.getCustomConversions in interface CassandraConverterCustomConversions.public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic org.springframework.core.convert.ConversionService getConversionService()
getConversionService in interface org.springframework.data.convert.EntityConverter<CassandraPersistentEntity<?>,CassandraPersistentProperty,Object,Object>Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.