Class ResultSetToDateConverter
java.lang.Object
org.springframework.data.cassandra.core.cql.converter.AbstractResultSetConverter<T>
org.springframework.data.cassandra.core.cql.converter.AbstractResultSetToBasicFixedTypeConverter<Date>
org.springframework.data.cassandra.core.cql.converter.ResultSetToDateConverter
- 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 Date
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
-
ResultSetToDateConverter
public ResultSetToDateConverter()
-
-
Method Details
-
doConvertSingleValue
Description copied from class:AbstractResultSetConverter
Converts the given value to this converter's type or throwsIllegalArgumentException
.- Specified by:
doConvertSingleValue
in classAbstractResultSetConverter<Date>
-
getType
- Specified by:
getType
in classAbstractResultSetConverter<Date>
- Returns:
- the target type.
-