| Package | Description |
|---|---|
| org.sqlproc.engine |
The public part of the SQL Processor implementation.
|
| org.sqlproc.engine.jdbc |
The adapters and proxies for the JDBC stack.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
SqlQuery.callFunction()
Executes the statements in the stored function, which return value of any type but the result set.
|
Object |
SqlProcedureEngine.callFunction(SqlSession session,
Object dynamicInputValues)
Runs the stored function based on the META SQL statement.
|
Object |
SqlProcedureEngine.callFunction(SqlSession session,
Object dynamicInputValues,
Object staticInputValues,
int maxTimeout)
Runs the stored function based on the META SQL statement.
|
Object |
SqlProcedureEngine.callFunction(SqlSession session,
Object dynamicInputValues,
SqlControl sqlControl)
Runs the stored function based on the META SQL statement.
|
List |
SqlQuery.callList(SqlRuntimeContext runtime)
Returns the stored procedure execution results as a List.
|
<E> List<E> |
SqlProcedureEngine.callQuery(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues)
Runs the stored procedure based on the META SQL statement to obtain a list of database rows.
|
<E> List<E> |
SqlProcedureEngine.callQuery(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
Object staticInputValues,
int maxTimeout)
Runs the stored procedure based on the META SQL statement to obtain a list of database rows.
|
<E> List<E> |
SqlProcedureEngine.callQuery(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
SqlControl sqlControl)
Runs the stored procedure based on the META SQL statement to obtain a list of database rows.
|
Object |
SqlQuery.callUnique(SqlRuntimeContext runtime)
Convenience method to return a single instance that matches the stored procedure execution, or null if the stored
procedure execution returns no results.
|
int |
SqlQuery.callUpdate(SqlRuntimeContext runtime)
Executes the update, delete, insert statement or other statements in the stored procedure, which don't return the
result set.
|
int |
SqlProcedureEngine.callUpdate(SqlSession session,
Object dynamicInputValues)
Runs the stored procedure based on the META SQL statement.
|
int |
SqlProcedureEngine.callUpdate(SqlSession session,
Object dynamicInputValues,
Object staticInputValues,
int maxTimeout)
Runs the stored procedure based on the META SQL statement.
|
int |
SqlProcedureEngine.callUpdate(SqlSession session,
Object dynamicInputValues,
SqlControl sqlControl)
Runs the stored procedure based on the META SQL statement.
|
SqlQuery |
SqlSession.createSqlQuery(String queryString)
Creates a new instance of
SqlQuery, which is a wrapper around the SQL query command. |
int |
SqlCrudEngine.delete(SqlSession session,
Object dynamicInputValues)
Runs the META SQL delete statement to delete a database row.
|
int |
SqlCrudEngine.delete(SqlSession session,
Object dynamicInputValues,
Object staticInputValues)
Runs the META SQL delete statement to delete a database row.
|
int |
SqlCrudEngine.delete(SqlSession session,
Object dynamicInputValues,
Object staticInputValues,
int maxTimeout)
Runs the META SQL delete statement to delete a database row.
|
int |
SqlCrudEngine.delete(SqlSession session,
Object dynamicInputValues,
SqlControl sqlControl)
Runs the META SQL delete statement to delete a database row.
|
int[] |
SqlQuery.executeBatch(String[] statements)
Submits a batch of commands to the database for execution and if all commands execute successfully, returns an
array of update counts.
|
int[] |
SqlSession.executeBatch(String[] statements)
Submits a batch of commands to the database for execution and if all commands execute successfully, returns an
array of update counts.
|
<E> E |
SqlCrudEngine.get(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues)
Runs the META SQL query to obtain a unique database row.
|
<E> E |
SqlCrudEngine.get(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
Object staticInputValues)
Runs the META SQL query to obtain a unique database row.
|
<E> E |
SqlCrudEngine.get(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
Object staticInputValues,
int maxTimeout)
Runs the META SQL query to obtain a unique database row.
|
<E> E |
SqlCrudEngine.get(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
Object staticInputValues,
int maxTimeout,
Map<String,Class<?>> moreResultClasses)
Runs the META SQL query to obtain a unique database row.
|
<E> E |
SqlCrudEngine.get(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
Object staticInputValues,
Map<String,Class<?>> moreResultClasses)
Runs the META SQL query to obtain a unique database row.
|
<E> E |
SqlCrudEngine.get(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
SqlControl sqlControl)
Runs the META SQL query to obtain a unique database row.
|
String |
SqlProcedureEngine.getCallSql(Object dynamicInputValues,
Object staticInputValues)
Returns the call statement derived from the META SQL statement.
|
String |
SqlCrudEngine.getDeleteSql(Object dynamicInputValues,
Object staticInputValues)
Returns the delete statement derived from the META SQL statement.
|
String |
SqlCrudEngine.getGetSql(Object dynamicInputValues,
Object staticInputValues)
Returns the query select statement derived from the META SQL statement.
|
String |
SqlCrudEngine.getInsertSql(Object dynamicInputValues,
Object staticInputValues)
Returns the insert statement derived from the META SQL statement.
|
String |
SqlCrudEngine.getSql(Object dynamicInputValues,
Object staticInputValues,
SqlMetaStatement.Type statementType)
Because SQL Processor is Data Driven Query engine, every input parameters can produce in fact different SQL
statement command.
|
String |
SqlProcedureEngine.getSql(Object dynamicInputValues,
Object staticInputValues,
SqlMetaStatement.Type statementType)
Because SQL Processor is Data Driven Query engine, every input parameters can produce in fact different SQL
statement command.
|
String |
SqlQueryEngine.getSql(Object dynamicInputValues,
Object staticInputValues,
SqlOrder order)
Because the SQL Processor is Data Driven Query engine, every input parameters can produce in fact different SQL
query command.
|
String |
SqlQueryEngine.getSql(Object dynamicInputValues,
SqlControl sqlControl)
Because the SQL Processor is Data Driven Query engine, every input parameters can produce in fact different SQL
query command.
|
String |
SqlCrudEngine.getSql(Object dynamicInputValues,
SqlControl sqlControl,
SqlMetaStatement.Type statementType)
Because SQL Processor is Data Driven Query engine, every input parameters can produce in fact different SQL
statement command.
|
String |
SqlProcedureEngine.getSql(Object dynamicInputValues,
SqlControl sqlControl,
SqlMetaStatement.Type statementType)
Because SQL Processor is Data Driven Query engine, every input parameters can produce in fact different SQL
statement command.
|
String |
SqlCrudEngine.getUpdateSql(Object dynamicInputValues,
Object staticInputValues)
Returns the update statement derived from the META SQL statement.
|
int |
SqlCrudEngine.insert(SqlSession session,
Object dynamicInputValues)
Runs the META SQL insert statement to persist a database row.
|
int |
SqlCrudEngine.insert(SqlSession session,
Object dynamicInputValues,
Object staticInputValues)
Runs the META SQL insert statement to persist a database row.
|
int |
SqlCrudEngine.insert(SqlSession session,
Object dynamicInputValues,
Object staticInputValues,
int maxTimeout)
Runs the META SQL insert statement to persist a database row.
|
int |
SqlCrudEngine.insert(SqlSession session,
Object dynamicInputValues,
SqlControl sqlControl)
Runs the META SQL insert statement to persist a database row.
|
List |
SqlQuery.list(SqlRuntimeContext runtime)
Returns the query results as a List.
|
int |
SqlQuery.query(SqlRuntimeContext runtime,
SqlQuery.SqlQueryRowProcessor sqlQueryRowProcessor)
Process the query output using the
SqlQuery.SqlQueryRowProcessor. |
<E> List<E> |
SqlQueryEngine.query(SqlSession session,
Class<E> resultClass)
Runs the META SQL query to obtain a list of database rows.
|
<E> List<E> |
SqlQueryEngine.query(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues)
Runs the META SQL query to obtain a list of database rows.
|
<E> List<E> |
SqlQueryEngine.query(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
Integer firstResult,
Integer maxResults)
Runs the META SQL query to obtain a list of database rows.
|
<E> List<E> |
SqlQueryEngine.query(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
Object staticInputValues)
Runs the META SQL query to obtain a list of database rows.
|
<E> List<E> |
SqlQueryEngine.query(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
Object staticInputValues,
Integer firstResult,
Integer maxResults)
Runs the META SQL query to obtain a list of database rows.
|
<E> List<E> |
SqlQueryEngine.query(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
Object staticInputValues,
Map<String,Class<?>> moreResultClasses)
Runs the META SQL query to obtain a list of database rows.
|
<E> List<E> |
SqlQueryEngine.query(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
Object staticInputValues,
SqlOrder order)
Runs the META SQL query to obtain a list of database rows.
|
<E> List<E> |
SqlQueryEngine.query(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
Object staticInputValues,
SqlOrder order,
Integer maxTimeout,
Integer maxResults,
Integer firstResult)
Runs the META SQL query to obtain a list of database rows.
|
<E> List<E> |
SqlQueryEngine.query(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
Object staticInputValues,
SqlOrder order,
Integer maxTimeout,
Integer maxResults,
Integer firstResult,
Map<String,Class<?>> moreResultClasses)
Runs the META SQL query to obtain a list of database rows.
|
<E> List<E> |
SqlQueryEngine.query(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
Object staticInputValues,
SqlOrder order,
Map<String,Class<?>> moreResultClasses)
Runs the META SQL query to obtain a list of database rows.
|
<E> List<E> |
SqlQueryEngine.query(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
SqlControl sqlControl)
Runs the META SQL query to obtain a list of database rows.
|
<E> Integer |
SqlQueryEngine.query(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
SqlControl sqlControl,
SqlRowProcessor<E> sqlRowProcessor)
Runs the META SQL query to process the query output using
SqlRowProcessor. |
<E> List<E> |
SqlQueryEngine.query(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
SqlOrder order)
Runs the META SQL query to obtain a list of database rows.
|
int |
SqlQueryEngine.queryCount(SqlSession session)
Runs the META SQL query to obtain the number of database rows.
|
int |
SqlQueryEngine.queryCount(SqlSession session,
Object dynamicInputValues)
Runs the META SQL query to obtain the number of database rows.
|
int |
SqlQueryEngine.queryCount(SqlSession session,
Object dynamicInputValues,
Object staticInputValues)
Runs the META SQL query to obtain the number of database rows.
|
int |
SqlQueryEngine.queryCount(SqlSession session,
Object dynamicInputValues,
Object staticInputValues,
SqlOrder order,
Integer maxTimeout)
Runs META SQL query to obtain the number of database rows.
|
int |
SqlQueryEngine.queryCount(SqlSession session,
Object dynamicInputValues,
SqlControl sqlControl)
Runs META SQL query to obtain the number of database rows.
|
Object |
SqlMonitor.Runner.run()
The main contract, which is invoked from inside SQLMonitor
|
SqlQuery |
SqlQuery.setParameter(String name,
Object val)
Binds a value to a named query parameter.
|
SqlQuery |
SqlQuery.setParameter(String name,
Object val,
Object type)
Binds a value to a named query parameter.
|
SqlQuery |
SqlQuery.setParameterList(String name,
Object[] vals)
Binds multiple values to a named query parameter.
|
SqlQuery |
SqlQuery.setParameterList(String name,
Object[] vals,
Object type)
Binds multiple values to a named query parameter.
|
Object |
SqlQuery.unique(SqlRuntimeContext runtime)
Convenience method to return a single instance that matches the query, or null if the query returns no results.
|
int |
SqlQuery.update(SqlRuntimeContext runtime)
Executes the update, delete or insert statement.
|
int |
SqlCrudEngine.update(SqlSession session,
Object dynamicInputValues)
Runs the META SQL update statement to persist a database row.
|
int |
SqlCrudEngine.update(SqlSession session,
Object dynamicInputValues,
Object staticInputValues)
Runs the META SQL update statement to persist a database row.
|
int |
SqlCrudEngine.update(SqlSession session,
Object dynamicInputValues,
Object staticInputValues,
int maxTimeout)
Runs the META SQL update statement to persist a database row.
|
int |
SqlCrudEngine.update(SqlSession session,
Object dynamicInputValues,
SqlControl sqlControl)
Runs the META SQL update statement to persist a database row.
|
| Modifier and Type | Method and Description |
|---|---|
protected SqlProcessorException |
JdbcQuery.newSqlProcessorException(SQLException ex,
String query) |
| Modifier and Type | Method and Description |
|---|---|
Object |
JdbcQuery.callFunction()
Executes the statements in the stored function, which return value of any type but the result set.
|
List |
JdbcQuery.callList(SqlRuntimeContext runtimeCtx)
Returns the stored procedure execution results as a List.
|
Object |
JdbcQuery.callUnique(SqlRuntimeContext runtimeCtx)
Convenience method to return a single instance that matches the stored procedure execution, or null if the stored
procedure execution returns no results.
|
int |
JdbcQuery.callUpdate(SqlRuntimeContext runtimeCtx)
Executes the update, delete, insert statement or other statements in the stored procedure, which don't return the
result set.
|
SqlQuery |
JdbcSimpleSession.createSqlQuery(String queryString)
Creates a new instance of
SqlQuery, which is a wrapper around the SQL query command. |
int[] |
JdbcQuery.executeBatch(String[] statements)
Submits a batch of commands to the database for execution and if all commands execute successfully, returns an
array of update counts.
|
int[] |
JdbcSimpleSession.executeBatch(String[] statements)
Submits a batch of commands to the database for execution and if all commands execute successfully, returns an
array of update counts.
|
List |
JdbcQuery.list(SqlRuntimeContext runtimeCtx)
Returns the query results as a List.
|
int |
JdbcQuery.query(SqlRuntimeContext runtimeCtx,
SqlQuery.SqlQueryRowProcessor sqlQueryRowProcessor)
Process the query output using the
SqlQuery.SqlQueryRowProcessor. |
SqlQuery |
JdbcQuery.setParameter(String name,
Object val)
Binds a value to a named query parameter.
|
SqlQuery |
JdbcQuery.setParameter(String name,
Object val,
Object type)
Binds a value to a named query parameter.
|
SqlQuery |
JdbcQuery.setParameterList(String name,
Object[] vals)
Binds multiple values to a named query parameter.
|
SqlQuery |
JdbcQuery.setParameterList(String name,
Object[] vals,
Object type)
Binds multiple values to a named query parameter.
|
protected void |
JdbcQuery.setParameters(PreparedStatement ps,
SqlFromToPlugin.LimitType limitType,
int start)
Sets the value of the designated parameters.
|
Object |
JdbcQuery.unique(SqlRuntimeContext runtimeCtx)
Convenience method to return a single instance that matches the query, or null if the query returns no results.
|
int |
JdbcQuery.update(SqlRuntimeContext runtimeCtx)
Executes the update, delete or insert statement.
|
Copyright © 2016. All rights reserved.