@FunctionalInterface public interface RowCallbackHandler
CqlTemplatefor processing rows of a
ResultSeton a per-row basis. Implementations of this interface perform the actual work of processing each row but don't need to worry about exception handling.
DriverExceptions will be caught and handled by the calling
Consider using a
RowMapper instead if you need to map exactly one result object per row, assembling them into
void processRow(com.datastax.driver.core.Row row) throws com.datastax.driver.core.exceptions.DriverException
ResultSet. This method is only supposed to extract values of the current row.
Exactly what the implementation chooses to do is up to it: A trivial implementation might simply count rows, while another implementation might build an XML document.
Rowto process (pre-initialized for the current row).
com.datastax.driver.core.exceptions.DriverException- if a
DriverExceptionis encountered getting column values (that is, there's no need to catch
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.