Interface ServerQueryExecutor
public interface ServerQueryExecutor
Implementation of this interface allow client side to call a server side
programmed class that returns a
This is a a kind of AceQL stored procedure written in Java.
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 returnsResultSet
for the client-side.
-
Method Details
-
executeQuery
ResultSet executeQuery(ClientEvent clientEvent, Connection connection) throws IOException, SQLExceptionExecutes a query and returnsResultSet
for the client-side.- Parameters:
clientEvent
- contains all info about the request asked by the client sideconnection
- the current SQL/JDBCConnection
.- Returns:
- a
ResultSet
object that contains the data produced by the query; nevernull
- Throws:
IOException
- if an IOException occursSQLException
- if a SQLException occurs
-