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 BooleandoConvertSingleValue(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:AbstractResultSetConverterConverts the given value to this converter's type or throwsIllegalArgumentException.- Specified by:
doConvertSingleValuein classAbstractResultSetConverter<Boolean>
-
getType
- Specified by:
getTypein classAbstractResultSetConverter<Boolean>- Returns:
- the target type.
-