execute() or executeAsync() the operation.
*
* @param sessionCallback
- * @return
+ * @return TypeRowCallbackHandler.
+ *
+ * @param cql The Query
+ * @param rch The implementation for processing the rows returned.
+ * @throws DataAccessException
+ */
void query(final String cql, RowCallbackHandler rch) throws DataAccessException;
+ /**
+ * Processes the ResultSet through the RowCallbackHandler and return nothing. This is used internal to the Template
+ * for core operations, but is made available through Operations in the event you have a ResultSet to process. The
+ * ResultsSet could come from a ResultSetFuture after an asynchronous query.
+ *
+ * @param resultSet Results to process
+ * @param rch RowCallbackHandler with the processing implementation
+ * @throws DataAccessException
+ */
void process(ResultSet resultSet, RowCallbackHandler rch) throws DataAccessException;
+ /**
+ * Executes the provided CQL Query, and maps all Rows returned with the supplied RowMapper.
+ *
+ * @param cql The Query
+ * @param rowMapper The implementation for mapping all rows
+ * @return List of + * This expects only ONE row to be returned. More than one Row will cause an Exception to be thrown. + *
+ * + * @param cql The Query + * @param rowMapper The implementation for convert the Row to