Class ResultSetToInetAddressConverter
java.lang.Object
org.springframework.data.cassandra.core.cql.converter.AbstractResultSetConverter<InetAddress>
org.springframework.data.cassandra.core.cql.converter.AbstractResultSetToBasicFixedTypeConverter<InetAddress>
org.springframework.data.cassandra.core.cql.converter.ResultSetToInetAddressConverter
- All Implemented Interfaces:
Converter<com.datastax.oss.driver.api.core.cql.ResultSet, InetAddress>
public class ResultSetToInetAddressConverter
extends AbstractResultSetToBasicFixedTypeConverter<InetAddress>
- Author:
- Mark Paluch
-
Field Summary
FieldsFields inherited from class AbstractResultSetToBasicFixedTypeConverter
CONVERTER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable InetAddressdoConvertSingleValue(Object object) Converts the given value to this converter's type or throwsIllegalArgumentException.protected Class<?> getType()Methods inherited from class AbstractResultSetConverter
convert, doConvertResultSet, doConvertSingleRow, getExhaustedResultSetValue, getNullResultSetValue
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ResultSetToInetAddressConverter
public ResultSetToInetAddressConverter()
-
-
Method Details
-
doConvertSingleValue
Description copied from class:AbstractResultSetConverterConverts the given value to this converter's type or throwsIllegalArgumentException.- Specified by:
doConvertSingleValuein classAbstractResultSetConverter<InetAddress>
-
getType
- Specified by:
getTypein classAbstractResultSetConverter<InetAddress>- Returns:
- the target type.
-