|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SqlRuntimeContext | |
|---|---|
| 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.jdbc | The adapters and proxies for the JDBC stack. |
| org.sqlproc.engine.jdbc.type | All the META types staff for the JDBC stack devoted to special handling of input/output values. |
| org.sqlproc.engine.plugin | The plugins are used to alter the behavior of the SQL Processor. |
| org.sqlproc.engine.type | All the META types staff devoted to special handling of input/output values. |
| Uses of SqlRuntimeContext in org.sqlproc.engine |
|---|
| Methods in org.sqlproc.engine that return SqlRuntimeContext | |
|---|---|
(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)
|
| Methods in org.sqlproc.engine with parameters of type SqlRuntimeContext | |
|---|---|
List |
SqlQuery.callList(SqlRuntimeContext runtime)
Returns the stored procedure execution results as a List. |
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. |
(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) Integer |
SqlQueryEngine.QueryExecutor.executeCount(SqlRuntimeContext runtimeContext)
|
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. |
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. |
| Uses of SqlRuntimeContext in org.sqlproc.engine.impl |
|---|
| Classes in org.sqlproc.engine.impl that implement SqlRuntimeContext | |
|---|---|
class |
SqlProcessContext
The crate (design pattern) for all input parameters for the SqlMetaStatement.process(org.sqlproc.engine.impl.SqlMetaStatement.Type, Object, SqlControl, SqlEngine)
Also can work as a context for a dynamic ANSI SQL query generation. |
| Methods in org.sqlproc.engine.impl that return SqlRuntimeContext | |
|---|---|
SqlRuntimeContext |
SqlMappingResult.getRuntimeContext()
Returns the public runtime context |
SqlRuntimeContext |
SqlProcessResult.getRuntimeContext()
Returns the public runtime context |
| Methods in org.sqlproc.engine.impl with parameters of type SqlRuntimeContext | |
|---|---|
static Class |
SqlUtils.getEnumToClass(SqlRuntimeContext runtimeCtx,
Class clazz)
|
static Object |
SqlUtils.getEnumToValue(SqlRuntimeContext runtimeCtx,
Object obj)
|
static Object |
SqlUtils.getValueToEnum(SqlRuntimeContext runtimeCtx,
Class<?> objClass,
Object val)
|
| Uses of SqlRuntimeContext in org.sqlproc.engine.jdbc |
|---|
| Methods in org.sqlproc.engine.jdbc with parameters of type SqlRuntimeContext | |
|---|---|
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. |
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. |
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. |
| Uses of SqlRuntimeContext in org.sqlproc.engine.jdbc.type |
|---|
| Methods in org.sqlproc.engine.jdbc.type with parameters of type SqlRuntimeContext | |
|---|---|
void |
JdbcDefaultType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
JdbcOracleCursorType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
JdbcOtherType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
JdbcDefaultType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
JdbcOracleCursorType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
JdbcOtherType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
| Uses of SqlRuntimeContext in org.sqlproc.engine.plugin |
|---|
| Methods in org.sqlproc.engine.plugin with parameters of type SqlRuntimeContext | |
|---|---|
String |
DefaultSqlPlugins.identitySelect(SqlRuntimeContext runtimeCtx,
String identitySelectName,
Class<?> inputValueType)
Used to construct the identity SELECT SQL. |
String |
SqlIdentityPlugin.identitySelect(SqlRuntimeContext runtimeCtx,
String identitySelectName,
Class<?> inputValueType)
Used to construct the identity SELECT SQL. |
boolean |
DefaultSqlPlugins.isNotEmpty(SqlRuntimeContext runtimeCtx,
String attributeName,
Object obj,
Object parentObj,
SqlMetaType sqlMetaType,
String inOutModifier,
boolean inSqlSetOrInsert,
Map<String,String> values)
Used for the evaluation of the emptiness in the META SQL fragments. |
boolean |
IsEmptyPlugin.isNotEmpty(SqlRuntimeContext runtimeCtx,
String attributeName,
Object obj,
Object parentObj,
SqlMetaType sqlMetaType,
String inOutModifier,
boolean inSqlSetOrInsert,
Map<String,String> values)
Used for the evaluation of the emptiness in the META SQL fragments. |
protected boolean |
DefaultSqlPlugins.isNotEmptyInternal(SqlRuntimeContext runtimeCtx,
String attributeName,
Object obj,
Object parentObj,
SqlMetaType sqlMetaType,
String inOutModifier,
boolean inSqlSetOrInsert,
Map<String,String> values)
Used for the evaluation of the emptiness in the META SQL fragments. |
boolean |
IsTruePlugin.isTrue(SqlRuntimeContext runtimeCtx,
String attributeName,
Object obj,
Object parentObj,
SqlMetaType sqlMetaType,
String inOutModifier,
Map<String,String> values)
Used for the evaluation of the logical expression in the conditional META SQL fragments. |
boolean |
DefaultSqlPlugins.isTrue(SqlRuntimeContext runtimeCtx,
String attributeName,
Object obj,
Object parentObj,
SqlMetaType sqlMetaType,
String inOutModifier,
Map<String,String> values)
Used for the evaluation of the logical expression in the conditional META SQL fragments. |
SqlFromToPlugin.LimitType |
SqlFromToPlugin.limitQuery(SqlRuntimeContext runtimeCtx,
String queryString,
StringBuilder queryResult,
Integer firstResult,
Integer maxResults,
boolean ordered)
Used to construct the FROM-TO SQL. |
SqlFromToPlugin.LimitType |
DefaultSqlPlugins.limitQuery(SqlRuntimeContext runtimeCtx,
String queryString,
StringBuilder queryResult,
Integer firstResult,
Integer maxResults,
boolean ordered)
Used to construct the FROM-TO SQL. |
String |
SqlSequencePlugin.sequenceSelect(SqlRuntimeContext runtimeCtx,
String sequenceName)
Used to construct the sequence SELECT SQL. |
String |
DefaultSqlPlugins.sequenceSelect(SqlRuntimeContext runtimeCtx,
String sequenceName)
Used to construct the sequence SELECT SQL. |
| Uses of SqlRuntimeContext in org.sqlproc.engine.type |
|---|
| Methods in org.sqlproc.engine.type with parameters of type SqlRuntimeContext | |
|---|---|
void |
SqlDoubleType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlShortType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlBigDecimalType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlDateTimeType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlDateType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlBooleanType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlBigIntegerType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlTextType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlTimeType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlStringType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlFloatType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlByteType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlByteArrayType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlClobType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlEnumIntegerType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlCharType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlOutValueType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object outValueSetter,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
abstract void |
SqlMetaType.setParameter(SqlRuntimeContext runtimeCtxCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlToDateType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlIntegerType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlLongType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlTimestampType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlEnumStringType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlFromDateType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlBlobType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlIdentityType.setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object identitySetter,
Class<?> inputType,
boolean ingoreError)
Binds an input value to a named query parameter. |
void |
SqlDoubleType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlShortType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlBigDecimalType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlDateTimeType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlDateType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlBooleanType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlBigIntegerType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlTextType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlTimeType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlStringType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlFloatType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlByteType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlByteArrayType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlClobType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlEnumIntegerType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlCharType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlOutValueType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
abstract void |
SqlMetaType.setResult(SqlRuntimeContext runtimeCtxCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlToDateType.setResult(SqlRuntimeContext runtimeCtx,
Object pojo,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlIntegerType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlLongType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlTimestampType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlEnumStringType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlFromDateType.setResult(SqlRuntimeContext runtimeCtx,
Object pojo,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlBlobType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
void |
SqlIdentityType.setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||