Interface ServerQueryExecutor


public interface ServerQueryExecutor
Implementation of this interface allow client side to call a server side programmed class that returns a ResultSet.
This is a a kind of AceQL stored procedure written in Java.
Since:
10.1
Author:
Nicolas de Pomereu
  • Method Summary

    Modifier and Type Method Description
    ResultSet executeQuery​(ClientEvent clientEvent, Connection connection)
    Executes a query and returns ResultSet for the client-side.
  • Method Details

    • executeQuery

      ResultSet executeQuery​(ClientEvent clientEvent, Connection connection) throws IOException, SQLException
      Executes a query and returns ResultSet for the client-side.
      Parameters:
      clientEvent - contains all info about the request asked by the client side
      connection - the current SQL/JDBC Connection.
      Returns:
      a ResultSet object that contains the data produced by the query; never null
      Throws:
      IOException - if an IOException occurs
      SQLException - if a SQLException occurs