Class ResultSetToLongConverter
java.lang.Object
org.springframework.data.cassandra.core.cql.converter.AbstractResultSetConverter<T>
org.springframework.data.cassandra.core.cql.converter.AbstractResultSetToBasicFixedTypeConverter<Long>
org.springframework.data.cassandra.core.cql.converter.ResultSetToLongConverter
- Author:
- Mark Paluch
-
Field Summary
FieldsFields inherited from class org.springframework.data.cassandra.core.cql.converter.AbstractResultSetToBasicFixedTypeConverter
CONVERTER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Long
doConvertSingleValue
(Object object) Converts the given value to this converter's type or throwsIllegalArgumentException
.protected Class<?>
getType()
Methods inherited from class org.springframework.data.cassandra.core.cql.converter.AbstractResultSetConverter
convert, doConvertResultSet, doConvertSingleRow, getExhaustedResultSetValue, getNullResultSetValue
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ResultSetToLongConverter
public ResultSetToLongConverter()
-
-
Method Details
-
doConvertSingleValue
Description copied from class:AbstractResultSetConverter
Converts the given value to this converter's type or throwsIllegalArgumentException
.- Specified by:
doConvertSingleValue
in classAbstractResultSetConverter<Long>
-
getType
- Specified by:
getType
in classAbstractResultSetConverter<Long>
- Returns:
- the target type.
-