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 Details

    • RowCallbackHandlerResultSetExtractor

      protected RowCallbackHandlerResultSetExtractor(RowCallbackHandler rowCallbackHandler)
  • Method Details

    • extractData

      @Nullable public Object extractData(com.datastax.oss.driver.api.core.cql.ResultSet resultSet)
      Description copied from interface: ResultSetExtractor
      Implementations must implement this method to process the entire ResultSet.
      Specified by:
      extractData in interface ResultSetExtractor<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).