Interface QueryRunner


public interface QueryRunner
Callback a table function uses to run a SQL query text against the engine — the seam that lets ToQuery execute its argument without depending on the executor class itself. Replaces Function<String, ResultSet>.
  • Method Summary

    Modifier and Type
    Method
    Description
    Execute the given SQL query and return its result set.
  • Method Details

    • runQuery

      ResultSet runQuery(String sql)
      Execute the given SQL query and return its result set.
      Parameters:
      sql - the query text
      Returns:
      the query's result set