Interface Result.ResultVisitor<VisitationException extends Exception>

Enclosing interface:
Result

public static interface Result.ResultVisitor<VisitationException extends Exception>
This is the visitor interface you need to implement to use the Result.accept(ResultVisitor) method.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Visits the specified row.
  • Method Details

    • visit

      boolean visit(Result.ResultRow row) throws VisitationException
      Visits the specified row.
      Parameters:
      row - the row to visit. The row object is only guaranteed to be stable until flow of control has returned from this method.
      Returns:
      true if the next row should also be visited. Returning false will terminate the iteration of result rows.
      Throws:
      VisitationException - if there is a problem in the execution of this method. This exception will close the result being visited, and the exception will propagate out through the accept method.