public class ResultSetToStringConverter extends AbstractResultSetConverter<String>
| Modifier and Type | Field and Description |
|---|---|
static ResultSetToStringConverter |
INSTANCE |
| Constructor and Description |
|---|
ResultSetToStringConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
doConvertResultSet(List<Map<String,Object>> resultSet)
Converts the given result set (as a
List<Map<String,Object>>) to this converter's type
or throws IllegalArgumentException. |
protected String |
doConvertSingleRow(Map<String,Object> row)
Converts the given row (as a
Map<String,Object>) to this converter's type or throws
IllegalArgumentException. |
protected String |
doConvertSingleValue(Object object)
Converts the given value to this converter's type or throws
IllegalArgumentException. |
protected Class<?> |
getType() |
convert, getExhaustedResultSetValue, getNullResultSetValuepublic static final ResultSetToStringConverter INSTANCE
protected String doConvertSingleValue(Object object)
AbstractResultSetConverterIllegalArgumentException.doConvertSingleValue in class AbstractResultSetConverter<String>protected String doConvertSingleRow(Map<String,Object> row)
AbstractResultSetConverterMap<String,Object>) to this converter's type or throws
IllegalArgumentException. This default implementation simply throws.doConvertSingleRow in class AbstractResultSetConverter<String>protected String doConvertResultSet(List<Map<String,Object>> resultSet)
AbstractResultSetConverterList<Map<String,Object>>) to this converter's type
or throws IllegalArgumentException. This default implementation simply throws.doConvertResultSet in class AbstractResultSetConverter<String>protected Class<?> getType()
getType in class AbstractResultSetConverter<String>Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.