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, wait
convertToColumnType, convertToColumnType, getId, getMappingContext, write
read
write
protected AbstractCassandraConverter(ConversionService conversionService)
AbstractCassandraConverter
using the given ConversionService
.public void setInstantiators(EntityInstantiators instantiators)
EntityInstantiators
to customize entity instantiation.instantiators
- must not be null.public void setCustomConversions(CustomConversions conversions)
public CustomConversions getCustomConversions()
CassandraConverter
CustomConversions
registered in the CassandraConverter
.getCustomConversions
in interface CassandraConverter
CustomConversions
.public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
public ConversionService getConversionService()
getConversionService
in interface EntityConverter<CassandraPersistentEntity<?>,CassandraPersistentProperty,Object,Object>
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.