Class ResultSetToByteBufferConverter
java.lang.Object
org.springframework.data.cassandra.core.cql.converter.AbstractResultSetConverter<ByteBuffer>
org.springframework.data.cassandra.core.cql.converter.ResultSetToByteBufferConverter
- All Implemented Interfaces:
Converter<com.datastax.oss.driver.api.core.cql.ResultSet,
ByteBuffer>
- Author:
- Mark Paluch
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ByteBuffer
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
-
ResultSetToByteBufferConverter
public ResultSetToByteBufferConverter()
-
-
Method Details
-
doConvertSingleValue
Description copied from class:AbstractResultSetConverter
Converts the given value to this converter's type or throwsIllegalArgumentException
.- Specified by:
doConvertSingleValue
in classAbstractResultSetConverter<ByteBuffer>
-
getType
- Specified by:
getType
in classAbstractResultSetConverter<ByteBuffer>
- Returns:
- the target type.
-