Overridden classes to: - workaround BIGINT/varint bug in Spring Data Cassandra. TODO: Remove readEntityFromRow/BasicCassandraRowValueProvider once fixed in Spring Data Cassandra project. - add extra converters for Common GORM properties, cannot override super class conversionService as it is declared final for some reason
Constructor and description |
---|
MappingCassandraConverter
(org.springframework.data.cassandra.mapping.CassandraMappingContext cassandraMapping) |
Type Params | Return Type | Name and description |
---|---|---|
<S> |
protected S |
readEntityFromRow(org.springframework.data.cassandra.mapping.CassandraPersistentEntity<S> entity, com.datastax.driver.core.Row row) TODO: remove once BIGINT/varint bug fixed in Spring Data Cassandra. |
|
protected void |
writeInsertFromWrapper(org.springframework.data.mapping.model.ConvertingPropertyAccessor accessor, com.datastax.driver.core.querybuilder.Insert insert, org.springframework.data.cassandra.mapping.CassandraPersistentEntity<?> entity) |
Methods inherited from class | Name |
---|---|
class org.springframework.data.cassandra.convert.MappingCassandraConverter |
org.springframework.data.cassandra.convert.MappingCassandraConverter#write(java.lang.Object, java.lang.Object, org.springframework.data.cassandra.mapping.CassandraPersistentEntity), org.springframework.data.cassandra.convert.MappingCassandraConverter#write(java.lang.Object, java.lang.Object), org.springframework.data.cassandra.convert.MappingCassandraConverter#getId(java.lang.Object, org.springframework.data.cassandra.mapping.CassandraPersistentEntity), org.springframework.data.cassandra.convert.MappingCassandraConverter#read(java.lang.Class, java.lang.Object), org.springframework.data.cassandra.convert.MappingCassandraConverter#setBeanClassLoader(java.lang.ClassLoader), org.springframework.data.cassandra.convert.MappingCassandraConverter#setApplicationContext(org.springframework.context.ApplicationContext), org.springframework.data.cassandra.convert.MappingCassandraConverter#getMappingContext(), org.springframework.data.cassandra.convert.MappingCassandraConverter#getMappingContext(), org.springframework.data.cassandra.convert.MappingCassandraConverter#convertToCassandraColumn(java.lang.Object, org.springframework.data.util.TypeInformation), org.springframework.data.cassandra.convert.MappingCassandraConverter#readRow(java.lang.Class, com.datastax.driver.core.Row), org.springframework.data.cassandra.convert.MappingCassandraConverter#getConversionService(), org.springframework.data.cassandra.convert.MappingCassandraConverter#setInstantiators(org.springframework.data.convert.EntityInstantiators), org.springframework.data.cassandra.convert.MappingCassandraConverter#afterPropertiesSet(), org.springframework.data.cassandra.convert.MappingCassandraConverter#setCustomConversions(org.springframework.data.cassandra.convert.CustomConversions), org.springframework.data.cassandra.convert.MappingCassandraConverter#getCustomConversions(), org.springframework.data.cassandra.convert.MappingCassandraConverter#wait(long, int), org.springframework.data.cassandra.convert.MappingCassandraConverter#wait(long), org.springframework.data.cassandra.convert.MappingCassandraConverter#wait(), org.springframework.data.cassandra.convert.MappingCassandraConverter#equals(java.lang.Object), org.springframework.data.cassandra.convert.MappingCassandraConverter#toString(), org.springframework.data.cassandra.convert.MappingCassandraConverter#hashCode(), org.springframework.data.cassandra.convert.MappingCassandraConverter#getClass(), org.springframework.data.cassandra.convert.MappingCassandraConverter#notify(), org.springframework.data.cassandra.convert.MappingCassandraConverter#notifyAll() |
class org.springframework.data.cassandra.convert.AbstractCassandraConverter |
org.springframework.data.cassandra.convert.AbstractCassandraConverter#getConversionService(), org.springframework.data.cassandra.convert.AbstractCassandraConverter#setInstantiators(org.springframework.data.convert.EntityInstantiators), org.springframework.data.cassandra.convert.AbstractCassandraConverter#afterPropertiesSet(), org.springframework.data.cassandra.convert.AbstractCassandraConverter#setCustomConversions(org.springframework.data.cassandra.convert.CustomConversions), org.springframework.data.cassandra.convert.AbstractCassandraConverter#getCustomConversions(), org.springframework.data.cassandra.convert.AbstractCassandraConverter#wait(long, int), org.springframework.data.cassandra.convert.AbstractCassandraConverter#wait(long), org.springframework.data.cassandra.convert.AbstractCassandraConverter#wait(), org.springframework.data.cassandra.convert.AbstractCassandraConverter#equals(java.lang.Object), org.springframework.data.cassandra.convert.AbstractCassandraConverter#toString(), org.springframework.data.cassandra.convert.AbstractCassandraConverter#hashCode(), org.springframework.data.cassandra.convert.AbstractCassandraConverter#getClass(), org.springframework.data.cassandra.convert.AbstractCassandraConverter#notify(), org.springframework.data.cassandra.convert.AbstractCassandraConverter#notifyAll(), org.springframework.data.cassandra.convert.AbstractCassandraConverter#write(java.lang.Object, java.lang.Object, org.springframework.data.cassandra.mapping.CassandraPersistentEntity), org.springframework.data.cassandra.convert.AbstractCassandraConverter#getId(java.lang.Object, org.springframework.data.cassandra.mapping.CassandraPersistentEntity), org.springframework.data.cassandra.convert.AbstractCassandraConverter#getMappingContext(), org.springframework.data.cassandra.convert.AbstractCassandraConverter#convertToCassandraColumn(java.lang.Object, org.springframework.data.util.TypeInformation), org.springframework.data.cassandra.convert.AbstractCassandraConverter#getMappingContext(), org.springframework.data.cassandra.convert.AbstractCassandraConverter#read(java.lang.Class, java.lang.Object), org.springframework.data.cassandra.convert.AbstractCassandraConverter#write(java.lang.Object, java.lang.Object) |
TODO: remove once BIGINT/varint bug fixed in Spring Data Cassandra.