| 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.
|
| Modifier and Type | Field and Description |
|---|---|
static SqlOrder |
SqlQueryEngine.ASC_ORDER
The ordering directive list with one ascending ordering rule.
|
static SqlOrder |
SqlQueryEngine.DESC_ORDER
The ordering directive list with one descending ordering rule.
|
static SqlOrder |
SqlQueryEngine.NO_ORDER
The ordering directive list with no ordering rule.
|
| Modifier and Type | Field and Description |
|---|---|
private List<SqlOrder> |
SqlOrder.orders
The list of all ordering directives.
|
| Modifier and Type | Method and Description |
|---|---|
SqlOrder |
SqlOrder.addAscOrder(int orderId)
Adds one more ascending ordering directive into the list of ordering directives.
|
SqlOrder |
SqlOrder.addDescOrder(int orderId)
Adds one more descending ordering directive into the list of ordering directives.
|
SqlOrder |
SqlOrder.addOrder(int orderId)
Adds one more ascending or descending ordering directive into the list of ordering directives.
|
static SqlOrder |
SqlOrder.getAscOrder(int orderId)
The factory method.
|
static SqlOrder |
SqlOrder.getDescOrder(int orderId)
The factory method.
|
static SqlOrder |
SqlOrder.getOrder()
The factory method.
|
SqlOrder |
SqlControl.getOrder()
Returns the ordering directive list.
|
static SqlOrder |
SqlOrder.getOrder(int orderId)
The factory method.
|
(package private) SqlOrder |
SqlEngine.getOrder(SqlControl sqlControl)
The helper to prevent the NPE
|
| Modifier and Type | Method and Description |
|---|---|
List<SqlOrder> |
SqlOrder.getOrders()
Returns the list of ordering directives.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
<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,
int maxTimeout,
int maxResults,
int 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,
int maxTimeout,
int maxResults,
int 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,
SqlOrder order)
Runs the META SQL query to obtain a list of database rows.
|
int |
SqlQueryEngine.queryCount(SqlSession session,
Object dynamicInputValues,
Object staticInputValues,
SqlOrder order,
int maxTimeout)
Runs META SQL query to obtain the number of database rows.
|
| Modifier and Type | Field and Description |
|---|---|
private SqlOrder |
SqlStandardControl.order
The ordering directive list.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) List<SqlOrder> |
SqlProcessContext.order
The list of ordering directives.
|
| Modifier and Type | Method and Description |
|---|---|
SqlOrder |
SqlStandardControl.getOrder()
Returns the ordering directive list.
|
| Modifier and Type | Method and Description |
|---|---|
SqlStandardControl |
SqlStandardControl.setOrder(SqlOrder order)
Sets the ordering directive list.
|
| Modifier and Type | Method and Description |
|---|---|
SqlProcessResult |
SqlMetaStatement.process(SqlMetaStatement.Type sqlStatementType,
Object dynamicInputValues,
Object staticInputValues,
List<SqlOrder> order,
Map<String,Object> features,
Map<String,Object> runtimeFeatures,
SqlTypeFactory typeFactory,
SqlPluginFactory pluginFactory)
The main contract for a dynamic ANSI SQL Query generation.
|
| Constructor and Description |
|---|
SqlProcessContext(SqlMetaStatement.Type sqlStatementType,
Object dynamicInputValues,
Object staticInputValues,
List<SqlOrder> order,
Map<String,Object> features,
Map<String,Object> runtimeFeatures,
SqlTypeFactory typeFactory,
SqlPluginFactory pluginFactory)
Creates a new instance.
|
Copyright © 2014. All Rights Reserved.