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 StringdoConvertResultSet(List<Map<String, Object>> resultSet) Converts the given result set (as aList<Map<String,Object>>) to this converter's type or throwsIllegalArgumentException.protected StringdoConvertSingleRow(Map<String, Object> row) Converts the given row (as aMap<String,Object>) to this converter's type or throwsIllegalArgumentException.protected StringdoConvertSingleValue(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:AbstractResultSetConverterConverts the given value to this converter's type or throwsIllegalArgumentException.- Specified by:
doConvertSingleValuein classAbstractResultSetConverter<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<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<String>
-
getType
- Specified by:
getTypein classAbstractResultSetConverter<String>- Returns:
- the target type.
-