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