Class CqlTemplate.RowCallbackHandlerResultSetExtractor
java.lang.Object
org.springframework.data.cassandra.core.cql.CqlTemplate.RowCallbackHandlerResultSetExtractor
- All Implemented Interfaces:
ResultSetExtractor<Object>
- Enclosing class:
- CqlTemplate
protected static class CqlTemplate.RowCallbackHandlerResultSetExtractor
extends Object
implements ResultSetExtractor<Object>
Adapter to enable use of a
RowCallbackHandler
inside a ResultSetExtractor
.-
Constructor Summary
ModifierConstructorDescriptionprotected
RowCallbackHandlerResultSetExtractor
(RowCallbackHandler rowCallbackHandler) -
Method Summary
Modifier and TypeMethodDescriptionextractData
(com.datastax.oss.driver.api.core.cql.ResultSet resultSet) Implementations must implement this method to process the entireResultSet
.
-
Constructor Details
-
RowCallbackHandlerResultSetExtractor
-
-
Method Details
-
extractData
Description copied from interface:ResultSetExtractor
Implementations must implement this method to process the entireResultSet
.- Specified by:
extractData
in interfaceResultSetExtractor<Object>
- Parameters:
resultSet
-ResultSet
to extract data from.- Returns:
- an arbitrary result object, or null if none (the extractor will typically be stateful in the latter case).
-