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