Uses of Interface
org.sqlproc.engine.SqlRuntimeContext
Packages that use SqlRuntimeContext
Package
Description
The public part of the SQL Processor implementation.
The private part of the SQL Processor implementation.
The adapters and proxies for the JDBC stack.
All the META types staff for the JDBC stack devoted to special handling of input/output values.
The plugins are used to alter the behavior of the SQL Processor.
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 SqlRuntimeContextModifier and TypeMethodDescription(package private) SqlRuntimeContextSqlQueryEngine.QueryExecutor.prepareQuery(SqlSession session, Class<E> resultClass, Object dynamicInputValues, SqlControl sqlControl) (package private) SqlRuntimeContextSqlQueryEngine.QueryExecutor.prepareQueryCount(SqlSession session, Object dynamicInputValues, SqlControl sqlControl) Methods in org.sqlproc.engine with parameters of type SqlRuntimeContextModifier and TypeMethodDescriptionSqlQuery.callList(SqlRuntimeContext runtime) Returns the stored procedure execution results as aList.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.intSqlQuery.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) IntegerSqlQueryEngine.QueryExecutor.execute(Class<E> resultClass, SqlControl sqlControl, SqlRowProcessor<E> sqlRowProcessor, SqlRuntimeContext runtimeContext) SqlQueryEngine.QueryExecutor.execute(Class<E> resultClass, SqlControl sqlControl, SqlRuntimeContext runtimeContext) (package private) booleanSqlQueryEngine.QueryExecutor.execute(SqlRuntimeContext runtimeContext, Map<String, Object> resultRow, Class<E> resultClass, SqlControl sqlControl, SqlRowProcessor<E> sqlRowProcessor, Map<String, Object> ids, boolean isPrimitiveWrapper) (package private) IntegerSqlQueryEngine.QueryExecutor.executeCount(SqlRuntimeContext runtimeContext) SqlQuery.list(SqlRuntimeContext runtime) Returns the query results as aList.intSqlQuery.query(SqlRuntimeContext runtime, SqlQuery.SqlQueryRowProcessor sqlQueryRowProcessor) Process the query output using theSqlQuery.SqlQueryRowProcessor.SqlQuery.unique(SqlRuntimeContext runtime) Convenience method to return a single instance that matches the query, or null if the query returns no results.intSqlQuery.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 SqlRuntimeContextModifier and TypeClassDescriptionclassThe crate (design pattern) for all input parameters for theSqlMetaStatement.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 SqlRuntimeContextModifier and TypeMethodDescriptionSqlMappingResult.getRuntimeContext()Returns the public runtime contextSqlProcessResult.getRuntimeContext()Returns the public runtime context -
Uses of SqlRuntimeContext in org.sqlproc.engine.jdbc
Methods in org.sqlproc.engine.jdbc with parameters of type SqlRuntimeContextModifier and TypeMethodDescriptionJdbcQuery.callList(SqlRuntimeContext runtimeCtx) Returns the stored procedure execution results as aList.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.intJdbcQuery.callUpdate(SqlRuntimeContext runtimeCtx) Executes the update, delete, insert statement or other statements in the stored procedure, which don't return the result set.JdbcQuery.list(SqlRuntimeContext runtimeCtx) Returns the query results as aList.intJdbcQuery.query(SqlRuntimeContext runtimeCtx, SqlQuery.SqlQueryRowProcessor sqlQueryRowProcessor) Process the query output using theSqlQuery.SqlQueryRowProcessor.JdbcQuery.unique(SqlRuntimeContext runtimeCtx) Convenience method to return a single instance that matches the query, or null if the query returns no results.intJdbcQuery.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 SqlRuntimeContextModifier and TypeMethodDescriptionvoidJdbcOracleCursorType.setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes) Binds an input value to a named query parameter.voidJdbcOtherType.setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes) Binds an input value to a named query parameter.voidJdbcOracleCursorType.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.voidJdbcOtherType.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 SqlRuntimeContextModifier and TypeMethodDescriptionprivate BooleanDefaultSqlPlugins.callMethod(SqlRuntimeContext runtimeCtx, String attributeName, Object parentObj, Map<String, String> values) booleanBeanUtilsPlugin.checkAttribute(SqlRuntimeContext runtimeCtx, Object bean, String attrName) Checks the attribute getter method existence.booleanDefaultBeanUtilsPlugin.checkAttribute(SqlRuntimeContext runtimeCtx, Object bean, String attrName) Checks the attribute getter method existence.booleanBeanUtilsPlugin.checkMethod(SqlRuntimeContext runtimeCtx, Class<?> clazz, String methodName, Class<?>... argTypes) Checks the class method existence.booleanBeanUtilsPlugin.checkMethod(SqlRuntimeContext runtimeCtx, Object bean, String methodName, Object... args) Checks the bean method existence.booleanDefaultBeanUtilsPlugin.checkMethod(SqlRuntimeContext runtimeCtx, Class<?> clazz, String methodName, Class<?>... argTypes) Checks the class method existence.booleanDefaultBeanUtilsPlugin.checkMethod(SqlRuntimeContext runtimeCtx, Object bean, String methodName, Object... args) Checks the bean method existence.BeanUtilsPlugin.getAttribute(SqlRuntimeContext runtimeCtx, Object bean, String attrName) Returns the value of the specified simple attribute of the specified bean.DefaultBeanUtilsPlugin.getAttribute(SqlRuntimeContext runtimeCtx, Object bean, String attrName) Returns the value of the specified simple attribute of the specified bean.Class<?>[]BeanUtilsPlugin.getAttributeParameterizedTypes(SqlRuntimeContext runtimeCtx, Class<?> clazz, String attrName) Returns the Java parameterized type info for the attribute, if there is one.Class<?>[]DefaultBeanUtilsPlugin.getAttributeParameterizedTypes(SqlRuntimeContext runtimeCtx, Class<?> clazz, String attrName) Class<?> BeanUtilsPlugin.getAttributeType(SqlRuntimeContext runtimeCtx, Class<?> clazz, String attrName) Returns the Java type info for the attribute, if there is one.Class<?> DefaultBeanUtilsPlugin.getAttributeType(SqlRuntimeContext runtimeCtx, Class<?> clazz, String attrName) Class<?> BeanUtilsPlugin.getEnumToClass(SqlRuntimeContext runtimeCtx, Class<?> clazz) Returns the bean enumeration type.Class<?> DefaultBeanUtilsPlugin.getEnumToClass(SqlRuntimeContext runtimeCtx, Class<?> clazz) Returns the bean enumeration type.BeanUtilsPlugin.getEnumToValue(SqlRuntimeContext runtimeCtx, Object bean) Returns the bean enumeration value.DefaultBeanUtilsPlugin.getEnumToValue(SqlRuntimeContext runtimeCtx, Object bean) Returns the bean enumeration value.protected MethodDefaultBeanUtilsPlugin.getGetter(SqlRuntimeContext runtimeCtx, Class<?> clazz, String attrName, boolean onlyCheck) BeanUtilsPlugin.getGetterType(SqlRuntimeContext runtimeCtx, Class<?> clazz, String attrName) Returns the attribute getter method types, if there is one.BeanUtilsPlugin.getGetterType(SqlRuntimeContext runtimeCtx, Object bean, String attrName) Returns the attribute getter method types, if there is one.DefaultBeanUtilsPlugin.getGetterType(SqlRuntimeContext runtimeCtx, Class<?> clazz, String attrName) Returns the attribute getter method types, if there is one.DefaultBeanUtilsPlugin.getGetterType(SqlRuntimeContext runtimeCtx, Object bean, String attrName) Returns the attribute getter method types, if there is one.BeanUtilsPlugin.getInstance(SqlRuntimeContext runtimeCtx, Class<?> clazz) Returns the new class instanceDefaultBeanUtilsPlugin.getInstance(SqlRuntimeContext runtimeCtx, Class<?> clazz) Returns the new class instanceprotected Constructor<?> DefaultBeanUtilsPlugin.getInstanceConstructor(SqlRuntimeContext runtimeCtx, Class<?> clazz) protected MethodDefaultBeanUtilsPlugin.getSetter(SqlRuntimeContext runtimeCtx, Class<?> clazz, String attrName, boolean onlyCheck, Class<?>... attrTypes) protected MethodDefaultBeanUtilsPlugin.getSetter(SqlRuntimeContext runtimeCtx, Object bean, String attrName, boolean onlyCheck, Class<?>... attrTypes) BeanUtilsPlugin.getValueToEnum(SqlRuntimeContext runtimeCtx, Class<?> clazz, Object val) Returns the enumeration instance for the enumeration valueDefaultBeanUtilsPlugin.getValueToEnum(SqlRuntimeContext runtimeCtx, Class<?> clazz, Object val) Returns the enumeration instance for the enumeration valueDefaultSqlPlugins.identitySelect(SqlRuntimeContext runtimeCtx, String identitySelectName, Class<?> inputValueType) Used to construct the identity SELECT SQL.SqlIdentityPlugin.identitySelect(SqlRuntimeContext runtimeCtx, String identitySelectName, Class<?> inputValueType) Used to construct the identity SELECT SQL.BeanUtilsPlugin.invokeMethod(SqlRuntimeContext runtimeCtx, Class<?> clazz, String methodName, Object... args) Invokes the class method with the specified name and parameters.BeanUtilsPlugin.invokeMethod(SqlRuntimeContext runtimeCtx, Object bean, String methodName, Object... args) Invokes the bean method with the specified name and parameters.protected ObjectDefaultBeanUtilsPlugin.invokeMethod(SqlRuntimeContext runtimeCtx, Class<?> clazz, Object bean, String methodName, Object... args) DefaultBeanUtilsPlugin.invokeMethod(SqlRuntimeContext runtimeCtx, Class<?> clazz, String methodName, Object... args) Invokes the class method with the specified name and parameters.protected ObjectDefaultBeanUtilsPlugin.invokeMethod(SqlRuntimeContext runtimeCtx, Object bean, Method method, Object... args) DefaultBeanUtilsPlugin.invokeMethod(SqlRuntimeContext runtimeCtx, Object bean, String methodName, Object... args) Invokes the bean method with the specified name and parameters.booleanDefaultSqlPlugins.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.booleanIsEmptyPlugin.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 booleanDefaultSqlPlugins.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.booleanDefaultSqlPlugins.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.booleanIsTruePlugin.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.DefaultSqlPlugins.limitQuery(SqlRuntimeContext runtimeCtx, String queryString, StringBuilder queryResult, Integer firstResult, Integer maxResults, boolean ordered) Used to construct the FROM-TO SQL.SqlFromToPlugin.limitQuery(SqlRuntimeContext runtimeCtx, String queryString, StringBuilder queryResult, Integer firstResult, Integer maxResults, boolean ordered) Used to construct the FROM-TO SQL.DefaultSqlPlugins.sequenceSelect(SqlRuntimeContext runtimeCtx, String sequenceName) Used to construct the sequence SELECT SQL.SqlSequencePlugin.sequenceSelect(SqlRuntimeContext runtimeCtx, String sequenceName) Used to construct the sequence SELECT SQL.voidBeanUtilsPlugin.setAttribute(SqlRuntimeContext runtimeCtx, Object bean, String attrName, Object attrValue) Sets the value of the specified simple attribute of the specified bean.voidDefaultBeanUtilsPlugin.setAttribute(SqlRuntimeContext runtimeCtx, Object bean, String attrName, Object attrValue) Sets the value of the specified simple attribute of the specified bean.booleanBeanUtilsPlugin.simpleSetAttribute(SqlRuntimeContext runtimeCtx, Object bean, String attrName, Object attrValue, Class<?>... attrTypes) Sets the value of the specified simple attribute of the specified bean, if there is one.booleanDefaultBeanUtilsPlugin.simpleSetAttribute(SqlRuntimeContext runtimeCtx, Object bean, String attrName, Object attrValue, Class<?>... attrTypes) Sets the value of the specified simple attribute of the specified bean, if there is one. -
Uses of SqlRuntimeContext in org.sqlproc.engine.type
Methods in org.sqlproc.engine.type with parameters of type SqlRuntimeContextModifier and TypeMethodDescriptionSqlInstantType.getResult(SqlRuntimeContext runtimeCtx, String attributeName, Object resultValue, boolean ingoreError) Returns the attribute's result value (with possible conversion).SqlLocalDateTimeType.getResult(SqlRuntimeContext runtimeCtx, String attributeName, Object resultValue, boolean ingoreError) Returns the attribute's result value (with possible conversion).SqlLocalDateType.getResult(SqlRuntimeContext runtimeCtx, String attributeName, Object resultValue, boolean ingoreError) Returns the attribute's result value (with possible conversion).SqlLocalTimeType.getResult(SqlRuntimeContext runtimeCtx, String attributeName, Object resultValue, boolean ingoreError) Returns the attribute's result value (with possible conversion).default ObjectSqlMetaType.getResult(SqlRuntimeContext runtimeCtx, String attributeName, Object resultValue, boolean ingoreError) Returns the attribute's result value (with possible conversion).voidSqlByteArrayType.setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes) Binds an input value to a named query parameter.voidSqlDateTimeType.setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes) Binds an input value to a named query parameter.voidSqlDateType.setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes) Binds an input value to a named query parameter.voidSqlDefaultType.setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes) Binds an input value to a named query parameter.voidSqlEnumIntegerType.setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes) Binds an input value to a named query parameter.voidSqlEnumStringType.setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes) Binds an input value to a named query parameter.voidSqlFromDateType.setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes) Binds an input value to a named query parameter.voidSqlIdentityType.setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object identitySetter, boolean ingoreError, Class<?>... inputTypes) Binds an input value to a named query parameter.voidSqlInstantType.setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes) Binds an input value to a named query parameter.voidSqlLocalDateTimeType.setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes) Binds an input value to a named query parameter.voidSqlLocalDateType.setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes) Binds an input value to a named query parameter.voidSqlLocalTimeType.setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes) Binds an input value to a named query parameter.voidSqlMetaType.setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes) Binds an input value to a named query parameter.voidSqlOutValueType.setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object outValueSetter, boolean ingoreError, Class<?>... inputTypes) Binds an input value to a named query parameter.voidSqlTimestampType.setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes) Binds an input value to a named query parameter.voidSqlTimeType.setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes) Binds an input value to a named query parameter.voidSqlToDateType.setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes) Binds an input value to a named query parameter.default voidSqlMetaType.setParameterEntryLog(org.slf4j.Logger logger, SqlMetaType sqlMetaType, SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes) voidSqlByteArrayType.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.voidSqlDefaultType.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.voidSqlEnumIntegerType.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.voidSqlEnumStringType.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.voidSqlFromDateType.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.voidSqlIdentityType.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.voidSqlInstantType.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.voidSqlLocalDateTimeType.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.voidSqlLocalDateType.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.voidSqlLocalTimeType.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.voidSqlMetaType.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.voidSqlOutValueType.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.voidSqlToDateType.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.default voidSqlMetaType.setResultEntryLog(org.slf4j.Logger logger, SqlMetaType sqlMetaType, SqlRuntimeContext runtimeCtx, Object resultInstance, String attributeName, Object resultValue, boolean ingoreError)