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() |
org.springframework.data.convert.CustomConversions |
getCustomConversions()
Returns the
CustomConversions for this converter. |
void |
setCustomConversions(org.springframework.data.convert.CustomConversions conversions)
Registers the given custom conversions with the converter.
|
void |
setInstantiators(org.springframework.data.mapping.model.EntityInstantiators instantiators)
Registers
EntityInstantiators to customize entity instantiation. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convertToColumnType, convertToColumnType, convertToColumnType, getCodecRegistry, getColumnTypeResolver, getId, getMappingContext, getProjectionFactory, project, write
protected AbstractCassandraConverter(ConversionService conversionService)
AbstractCassandraConverter
using the given ConversionService
.public void setInstantiators(org.springframework.data.mapping.model.EntityInstantiators instantiators)
EntityInstantiators
to customize entity instantiation.instantiators
- must not be null.public ConversionService getConversionService()
getConversionService
in interface org.springframework.data.convert.EntityConverter<CassandraPersistentEntity<?>,CassandraPersistentProperty,Object,Object>
public void setCustomConversions(org.springframework.data.convert.CustomConversions conversions)
public org.springframework.data.convert.CustomConversions getCustomConversions()
CassandraConverter
CustomConversions
for this converter.getCustomConversions
in interface CassandraConverter
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.