Package org.sqlproc.engine

The public part of the SQL Processor implementation.

See:
          Description

Interface Summary
SqlFeature Optional features, which can be activated in the process of SQL Processor initialization.
SqlMonitor The vehicle interface definition, which can be used to monitor the duration of all SQL queries execution.
SqlMonitor.Runner This interface is implemented in SqlQueryEngine and SqlCrudEngine main public methods.
SqlMonitorFactory The factory definition, which can be used to construct SqlMonitor.
 

Class Summary
SqlCrudEngine The primary SQL Processor class for the META SQL CRUD statement execution.
SqlEngine Common ancestor for SqlQueryEngine and SqlCrudEngine.
SqlEngineLoader Helper class for the parsing of META SQL statements and Mapping rules located in properties file.
SqlOrder The list of ordering directives for the SQL Processor queries execution.
SqlPropertiesLoader Helper class for the properties file loading.
SqlQueryEngine The primary SQL Processor class for the META SQL query execution.
 

Enum Summary
SqlOrder.Order The enumeration for the ordering directives.
 

Exception Summary
SqlEngineException General exception class for the SQL Processor parser.
 

Package org.sqlproc.engine Description

The public part of the SQL Processor implementation. The most important classes are SqlQueryEngine and SqlCrudEngine. There are also some helper classes and basic interfaces.

SQL Processor is Data Driven Query Engine. It's able to dynamically generate ANSI SQL query or statement based on search data provided by an end user or an application. This is done in the runtime, without any plumbing code required.

In other words - SQL Processor has 3 basic inputs:

Next, the SQL Processor has one output - the list of result class instances.

For the META SQL query described above the generated ANSI SQL can be

In the process of data collection from a search form it's used Reflection API. The same API is used in the process of seeding instances of result class with the SQL query execution output.

The package org.sqlproc.engine.impl contains non public part of the SQL Processor implementation. The implementation of this part can be changed any time to improve the SQL Processor capabilities.

For more info please see the Reference Guide or tutorials.

Author:
Vladimir Hudec


Copyright © 2011. All Rights Reserved.