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