Class AsyncCqlTemplate.AsyncRowCallbackHandlerResultSetExtractor

java.lang.Object
org.springframework.data.cassandra.core.cql.AsyncCqlTemplate.AsyncRowCallbackHandlerResultSetExtractor
All Implemented Interfaces:
AsyncResultSetExtractor<Void>
Enclosing class:
AsyncCqlTemplate

protected static class AsyncCqlTemplate.AsyncRowCallbackHandlerResultSetExtractor extends Object implements AsyncResultSetExtractor<Void>
Adapter to enable use of a RowCallbackHandler inside a ResultSetExtractor.
  • Constructor Details

    • AsyncRowCallbackHandlerResultSetExtractor

      protected AsyncRowCallbackHandlerResultSetExtractor(RowCallbackHandler rowCallbackHandler)
  • Method Details

    • extractData

      public CompletableFuture<Void> extractData(com.datastax.oss.driver.api.core.cql.AsyncResultSet resultSet)
      Description copied from interface: AsyncResultSetExtractor
      Implementations must implement this method to process the entire AsyncResultSet.
      Specified by:
      extractData in interface AsyncResultSetExtractor<Void>
      Parameters:
      resultSet - AsyncResultSet to extract data from.
      Returns:
      an arbitrary result object, or null if none (the extractor will typically be stateful in the latter case).