Enum Class CassandraConverters.RowToNumberConverterFactory

java.lang.Object
java.lang.Enum<CassandraConverters.RowToNumberConverterFactory>
org.springframework.data.cassandra.core.convert.CassandraConverters.RowToNumberConverterFactory
All Implemented Interfaces:
Serializable, Comparable<CassandraConverters.RowToNumberConverterFactory>, Constable, ConverterFactory<com.datastax.oss.driver.api.core.cql.Row,Number>
Enclosing class:
CassandraConverters

@ReadingConverter public static enum CassandraConverters.RowToNumberConverterFactory extends Enum<CassandraConverters.RowToNumberConverterFactory> implements ConverterFactory<com.datastax.oss.driver.api.core.cql.Row,Number>
Singleton converter factory to convert the first column of a Row to a Number.

Support Number classes including Byte, Short, Integer, Float, Double, Long, BigInteger, BigDecimal. This class delegates to NumberUtils.convertNumberToTargetClass(Number, Class) to perform the conversion.

See Also: