Class ResultSetToStringConverter
java.lang.Object
org.springframework.data.cassandra.core.cql.converter.AbstractResultSetConverter<String>
org.springframework.data.cassandra.core.cql.converter.ResultSetToStringConverter
- Author:
- Mark Paluch
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
doConvertResultSet
(List<Map<String, Object>> resultSet) Converts the given result set (as aList
<Map
<String,Object>>) to this converter's type or throwsIllegalArgumentException
.protected String
doConvertSingleRow
(Map<String, Object> row) Converts the given row (as aMap
<String,Object>) to this converter's type or throwsIllegalArgumentException
.protected String
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, getExhaustedResultSetValue, getNullResultSetValue
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ResultSetToStringConverter
public ResultSetToStringConverter()
-
-
Method Details
-
doConvertSingleValue
Description copied from class:AbstractResultSetConverter
Converts the given value to this converter's type or throwsIllegalArgumentException
.- Specified by:
doConvertSingleValue
in classAbstractResultSetConverter<String>
-
doConvertSingleRow
Description copied from class:AbstractResultSetConverter
Converts the given row (as aMap
<String,Object>) to this converter's type or throwsIllegalArgumentException
. This default implementation simply throws.- Overrides:
doConvertSingleRow
in classAbstractResultSetConverter<String>
-
doConvertResultSet
Description copied from class:AbstractResultSetConverter
Converts the given result set (as aList
<Map
<String,Object>>) to this converter's type or throwsIllegalArgumentException
. This default implementation simply throws.- Overrides:
doConvertResultSet
in classAbstractResultSetConverter<String>
-
getType
- Specified by:
getType
in classAbstractResultSetConverter<String>
- Returns:
- the target type.
-