public interface SqlEngineFactory
SqlEngine
instances.
The factory can be based on Spring DI framework for example.
For more info please see the Tutorials.
Modifier and Type | Method and Description |
---|---|
int |
getAsyncInitThreads()
Returns the number of threads used for asynchronous initialization
|
SqlCrudEngine |
getCheckedCrudEngine(String name)
Returns the named static or dynamic SQL CRUD Engine instance (the primary SQL Processor class).
|
SqlProcedureEngine |
getCheckedProcedureEngine(String name)
Returns the named static or dynamic SQL Procedure Engine instance (the primary SQL Processor class).
|
SqlQueryEngine |
getCheckedQueryEngine(String name)
Returns the named static or dynamic SQL Query Engine instance (the primary SQL Processor class).
|
SqlCrudEngine |
getCheckedStaticCrudEngine(String name)
Returns the named static SQL CRUD Engine instance (the primary SQL Processor class).
|
SqlProcedureEngine |
getCheckedStaticProcedureEngine(String name)
Returns the named static SQL Procedure Engine instance (the primary SQL Processor class).
|
SqlQueryEngine |
getCheckedStaticQueryEngine(String name)
Returns the named static SQL Query Engine instance (the primary SQL Processor class).
|
SqlEngineConfiguration |
getConfiguration()
Returns the overall dynamic configuration
|
Map<String,SqlEngine> |
getCrudDynamicEngines()
Returns the collection of names of all initialized/constructed dynamic SQL CRUD Engine instances.
|
Collection<String> |
getCrudDynamicNames()
Returns the collection of names of all initialized/constructed dynamic SQL CRUD Engine instances.
|
SqlCrudEngine |
getCrudEngine(String name)
Returns the named static or dynamic SQL CRUD Engine instance (the primary SQL Processor class).
|
Map<String,SqlEngine> |
getCrudEngines()
Returns the collection of named dynamic SQL CRUD Engines (the primary SQL Processor class) instances.
|
Collection<String> |
getCrudNames()
Returns the collection of names of all initialized/constructed static SQL CRUD Engine instances.
|
SqlCrudEngine |
getDynamicCrudEngine(String name,
String sqlStatement)
Returns the named dynamic SQL CRUD Engine instance (the primary SQL Processor class).
|
SqlProcedureEngine |
getDynamicProcedureEngine(String name,
String sqlStatement)
Returns the named dynamic SQL Procedure Engine instance (the primary SQL Processor class).
|
SqlQueryEngine |
getDynamicQueryEngine(String name,
String sqlStatement)
Returns the named dynamic SQL Query Engine instance (the primary SQL Processor class).
|
Map<String,String> |
getEnginesInitErrors()
Returns the result of engines initialization process.
|
String |
getEnginesInitErrorsMsg()
Returns the result of engines initialization process.
|
Map<String,SqlEngine> |
getProcedureDynamicEngines()
Returns the collection of names of all initialized/constructed dynamic SQL Procedure Engine instances.
|
Collection<String> |
getProcedureDynamicNames()
Returns the collection of names of all initialized/constructed dynamic SQL Procedure Engine instances.
|
SqlProcedureEngine |
getProcedureEngine(String name)
Returns the named static or dynamic SQL Procedure Engine instance (the primary SQL Processor class).
|
Map<String,SqlEngine> |
getProcedureEngines()
Returns the collection of named dynamic SQL Procedure Engines (the primary SQL Processor class) instances.
|
Collection<String> |
getProcedureNames()
Returns the collection of names of all initialized/constructed static SQL Procedure Engine instances.
|
Map<String,SqlEngine> |
getQueryDynamicEngines()
Returns the collection of names of all initialized/constructed dynamic SQL Query Engine instances.
|
Collection<String> |
getQueryDynamicNames()
Returns the collection of names of all initialized/constructed dynamic SQL Query Engine instances.
|
SqlQueryEngine |
getQueryEngine(String name)
Returns the named static or dynamic SQL Query Engine instance (the primary SQL Processor class).
|
Map<String,SqlEngine> |
getQueryEngines()
Returns the collection of named dynamic SQL Query Engines (the primary SQL Processor class) instances.
|
Collection<String> |
getQueryNames()
Returns the collection of names of all initialized/constructed static SQL Query Engine instances.
|
SqlCrudEngine |
getStaticCrudEngine(String name)
Returns the named static SQL CRUD Engine instance (the primary SQL Processor class).
|
SqlProcedureEngine |
getStaticProcedureEngine(String name)
Returns the named static SQL Procedure Engine instance (the primary SQL Processor class).
|
SqlQueryEngine |
getStaticQueryEngine(String name)
Returns the named static SQL Query Engine instance (the primary SQL Processor class).
|
Boolean |
isAsyncInitFinished()
Returns the flag indicating the asynchronous SQL Processor engines initialization has been finished.
|
boolean |
isLazyInit()
Returns the indicator to speed up the initialization process
|
SqlQueryEngine getQueryEngine(String name)
name
- the name of the required SQL Query Engine instanceSqlCrudEngine getCrudEngine(String name)
name
- the name of the required SQL CRUD Engine instanceSqlProcedureEngine getProcedureEngine(String name)
name
- the name of the required SQL Procedure Engine instanceSqlQueryEngine getDynamicQueryEngine(String name, String sqlStatement) throws SqlEngineException
name
- the name of the required SQL Query Engine instancesqlStatement
- the new SQL statement, which is going to replace the original oneSqlEngineException
- in the case the original statement is missingSqlCrudEngine getDynamicCrudEngine(String name, String sqlStatement)
name
- the name of the required SQL CRUD Engine instancesqlStatement
- the new SQL statement, which is going to replace the original oneSqlEngineException
- in the case the original statement is missingSqlProcedureEngine getDynamicProcedureEngine(String name, String sqlStatement)
name
- the name of the required SQL Procedure Engine instancesqlStatement
- the new SQL statement, which is going to replace the original oneSqlEngineException
- in the case the original statement is missingSqlQueryEngine getStaticQueryEngine(String name)
name
- the name of the required SQL Query Engine instanceSqlCrudEngine getStaticCrudEngine(String name)
name
- the name of the required SQL CRUD Engine instanceSqlProcedureEngine getStaticProcedureEngine(String name)
name
- the name of the required SQL Procedure Engine instanceSqlQueryEngine getCheckedQueryEngine(String name) throws SqlEngineException
name
- the name of the required SQL Query Engine instanceSqlEngineException
- in the case the related statement is missingSqlCrudEngine getCheckedCrudEngine(String name)
name
- the name of the required SQL CRUD Engine instanceSqlEngineException
- in the case the related statement is missingSqlProcedureEngine getCheckedProcedureEngine(String name)
name
- the name of the required SQL Procedure Engine instanceSqlEngineException
- in the case the related statement is missingSqlQueryEngine getCheckedStaticQueryEngine(String name) throws SqlEngineException
name
- the name of the required SQL Query Engine instanceSqlEngineException
- in the case the related statement is missingSqlCrudEngine getCheckedStaticCrudEngine(String name)
name
- the name of the required SQL CRUD Engine instanceSqlEngineException
- in the case the related statement is missingSqlProcedureEngine getCheckedStaticProcedureEngine(String name)
name
- the name of the required SQL Procedure Engine instanceSqlEngineException
- in the case the related statement is missingboolean isLazyInit()
@Beta int getAsyncInitThreads()
@Beta Boolean isAsyncInitFinished()
Collection<String> getQueryNames()
Collection<String> getQueryDynamicNames()
Map<String,SqlEngine> getQueryEngines()
Map<String,SqlEngine> getQueryDynamicEngines()
Collection<String> getCrudNames()
Collection<String> getCrudDynamicNames()
Map<String,SqlEngine> getCrudEngines()
Map<String,SqlEngine> getCrudDynamicEngines()
Collection<String> getProcedureNames()
Collection<String> getProcedureDynamicNames()
Map<String,SqlEngine> getProcedureEngines()
Map<String,SqlEngine> getProcedureDynamicEngines()
SqlEngineConfiguration getConfiguration()
Map<String,String> getEnginesInitErrors()
String getEnginesInitErrorsMsg()
Copyright © 2017. All rights reserved.