| Package | Description |
|---|---|
| org.sqlproc.engine |
The public part of the SQL Processor implementation.
|
| org.sqlproc.engine.impl |
The private part of the SQL Processor implementation.
|
| org.sqlproc.engine.plugin |
The plugins are used to alter the behavior of the SQL Processor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
SqlProcedureEngine.callFunction(SqlSession session,
Object dynamicInputValues,
SqlControl sqlControl)
Runs the stored function based on the META SQL statement.
|
<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.
|
int |
SqlProcedureEngine.callUpdate(SqlSession session,
Object dynamicInputValues,
SqlControl sqlControl)
Runs the stored procedure based on the META SQL statement.
|
int |
SqlCrudEngine.delete(SqlSession session,
Object dynamicInputValues,
SqlControl sqlControl)
Runs the META SQL delete statement to delete a database row.
|
(package private) Integer |
SqlQueryEngine.QueryExecutor.execute(Class<E> resultClass,
SqlControl sqlControl,
SqlRowProcessor<E> sqlRowProcessor,
SqlRuntimeContext runtimeContext) |
(package private) List<E> |
SqlQueryEngine.QueryExecutor.execute(Class<E> resultClass,
SqlControl sqlControl,
SqlRuntimeContext runtimeContext) |
(package private) boolean |
SqlQueryEngine.QueryExecutor.execute(SqlRuntimeContext runtimeContext,
Object resultRow,
Class<E> resultClass,
SqlControl sqlControl,
SqlRowProcessor<E> sqlRowProcessor,
Map<String,Object> ids,
boolean isPrimitiveWrapper) |
private <E> E |
SqlCrudEngine.get(SqlQuery query,
SqlMappingResult mappingResult,
Class<E> resultClass,
SqlControl sqlControl)
Internal get implementation
|
<E> E |
SqlCrudEngine.get(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
SqlControl sqlControl)
Runs the META SQL query to obtain a unique database row.
|
static Object |
SqlEngine.getDynamicUpdateValues(SqlControl sqlControl)
The helper to prevent the NPE
|
static Map<String,Object> |
SqlEngine.getFeatures(SqlControl sqlControl)
The helper to prevent the NPE
|
static Integer |
SqlEngine.getFetchSize(SqlControl sqlControl)
The helper to prevent the NPE
|
static Integer |
SqlEngine.getFirstResult(SqlControl sqlControl)
The helper to prevent the NPE
|
static Integer |
SqlEngine.getMaxResults(SqlControl sqlControl)
The helper to prevent the NPE
|
static Integer |
SqlEngine.getMaxTimeout(SqlControl sqlControl)
The helper to prevent the NPE
|
static Map<String,Class<?>> |
SqlEngine.getMoreResultClasses(SqlControl sqlControl)
The helper to prevent the NPE
|
static SqlOrder |
SqlEngine.getOrder(SqlControl sqlControl)
The helper to prevent the NPE
|
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 |
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.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.
|
static Object |
SqlEngine.getStaticInputValues(SqlControl sqlControl)
The helper to prevent the NPE
|
int |
SqlCrudEngine.insert(SqlSession session,
Object dynamicInputValues,
SqlControl sqlControl)
Runs the META SQL insert statement to persist a database row.
|
(package private) SqlRuntimeContext |
SqlQueryEngine.QueryExecutor.prepareQuery(SqlSession session,
Class<E> resultClass,
Object dynamicInputValues,
SqlControl sqlControl) |
(package private) SqlRuntimeContext |
SqlQueryEngine.QueryExecutor.prepareQueryCount(SqlSession session,
Object dynamicInputValues,
SqlControl sqlControl) |
protected SqlProcessResult |
SqlEngine.process(SqlMetaStatement.Type sqlStatementType,
Object dynamicInputValues,
SqlControl sqlControl)
The main contract for a dynamic ANSI SQL Query generation.
|
<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. |
int |
SqlQueryEngine.queryCount(SqlSession session,
Object dynamicInputValues,
SqlControl sqlControl)
Runs META SQL query to obtain the number of database rows.
|
int |
SqlCrudEngine.update(SqlSession session,
Object dynamicInputValues,
SqlControl sqlControl)
Runs the META SQL update statement to persist a database row.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SqlStandardControl
The compound parameters controlling the META SQL execution.
|
| Modifier and Type | Field and Description |
|---|---|
private SqlControl |
SqlProcessContext.sqlControl
The compound parameters controlling the META SQL execution.
|
| Modifier and Type | Method and Description |
|---|---|
SqlProcessResult |
SqlMetaStatement.process(SqlMetaStatement.Type sqlStatementType,
Object dynamicInputValues,
SqlControl sqlControl,
SqlEngine sqlEngine)
The main contract for a dynamic ANSI SQL Query generation.
|
| Constructor and Description |
|---|
SqlProcessContext(SqlMetaStatement.Type sqlStatementType,
Object dynamicInputValues,
SqlControl sqlControl,
SqlEngine sqlEngine)
Creates a new instance.
|
SqlProcessContext(SqlProcessContext ctx,
Object dynamicInputValues,
SqlControl sqlControl)
Creates a new instance.
|
SqlProcessResult(SqlProcessResult result,
Object dynamicInputValues,
SqlControl sqlControl)
Creates a new instance with a SQL fragment from SqlMetaText.
|
SqlStandardControl(SqlControl sqlControl)
Merging constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
DefaultSqlPlugins.getProcessingId(String name,
Object dynamicInputValues,
SqlControl sqlControl,
Boolean useDynamicProcessingCache)
Used to construct the unique ID of the executed statement based on the input values combination.
|
String |
SqlProcessingIdPlugin.getProcessingId(String name,
Object dynamicInputValues,
SqlControl sqlControl,
Boolean useDynamicProcessingCache)
Used to construct the unique ID of the executed statement based on the input values combination.
|
Copyright © 2016. All rights reserved.