Package org.sqlproc.engine
Class SqlDefaultFactory
java.lang.Object
org.sqlproc.engine.SqlDefaultFactory
- All Implemented Interfaces:
SqlEngineFactory
- Direct Known Subclasses:
JdbcEngineFactory
The simple implementation of the
SqlEngineFactory.
It's suitable mainly for the Spring DI based configuration, like the next one for the loader
SqlProcessorLoader:
<beans ...>
...
<bean id="typeFactory" class="org.sqlproc.engine.jdbc.type.JdbcTypeFactory" factory-method="getInstance" />
<bean id="sqlFactory" class="org.sqlproc.engine.SqlDefaultFactory" init-method="init">
<property name="metaFilesNames">
<list>
<value>statements.qry</value>
</list>
</property>
<property name="typeFactory" ref="typeFactory" />
</bean>
</beans>
and use the next code to obtain an instance of the SQL Query engine
SqlQueryEngine sqlEngine = sqlFactory.getQueryEngine("ALL");
or the next code to obtain an instance of the SQL CRUD engine
SqlCrudEngine sqlEngine = sqlFactory.getCrudEngine("ALL");
In the case the SQL Processor runs on the top of the JDBC stack, there's more suitable JdbcEngineFactory.
For more info please see the Tutorials.
- Author:
- Vladimir Hudec
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe customized ThreadPoolExecutor. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IntegerThe number of threads used for asynchronous initialization.private booleanThe indicator that Collections should be handled as standard types.private SqlEngineConfigurationThe overall configuration, which can be persisted.private List<SqlMetaType> The custom META types.private ExecutorThe asynchronous SQL Processor engines initialization executor.private BooleanThe flag indicating the asynchronous SQL Processor engines initialization has been finished.private StringThe name of the filter to filter the META SQL statements, mapping rules and optional features.private booleanThe indicator the JDBC stack is used.private BooleanThis flag indicates to speed up the initialization process.private static final StringThe platform based line separator.protected final org.slf4j.LoggerThe internal slf4j logger.The names of files, which hold a collection of the SQL Processor artifacts (META SQL statements, mapping rules and optional features).private StringBuilderThe String representation of all SQL Processor artifacts (META SQL statements, mapping rules and optional features).private SqlMonitorFactoryThe monitor factory used in the process of the SQL Monitor instances creation.private String[]Only statements and rules with the names in this set are picked up from the properties repository.protected SqlPluginFactoryThe factory for the SQL Processor plugins.private SqlProcessorLoaderThe helper class for the META SQL statements and mapping rules parsing.private booleanThe indicator that column aliases are not included in generated SQL command.private SqlTypeFactoryThe factory for the META types construction.private SqlValidatorFactoryThe validator factory used in the process of the SQL Monitor instances creation. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance with no default values.SqlDefaultFactory(boolean lazyInit) Creates a new instance with no default values.SqlDefaultFactory(boolean lazyInit, int asyncInitThreads) Creates a new instance with no default values.SqlDefaultFactory(int asyncInitThreads) Creates a new instance with no default values. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCustomType(SqlMetaType customType) Adds a new custom META type.private voidCheck the SQL Engine instance is not nullintReturns the number of threads used for asynchronous initializationgetCheckedCrudEngine(String name) Returns the named static or dynamic SQL CRUD Engine instance (the primary SQL Processor class).Returns the named static or dynamic SQL Procedure Engine instance (the primary SQL Processor class).getCheckedQueryEngine(String name) Returns the named static or dynamic SQL Query Engine instance (the primary SQL Processor class).Returns the named static SQL CRUD Engine instance (the primary SQL Processor class).Returns the named static SQL Procedure Engine instance (the primary SQL Processor class).Returns the named static SQL Query Engine instance (the primary SQL Processor class).Returns the overall dynamic configurationReturns the collection of names of all initialized/constructed dynamic SQL CRUD Engine instances.Returns the collection of names of all initialized/constructed dynamic SQL CRUD Engine instances.getCrudEngine(String name) Returns the named static or dynamic SQL CRUD Engine instance (the primary SQL Processor class).Returns the collection of named dynamic SQL CRUD Engines (the primary SQL Processor class) instances.Returns the collection of names of all initialized/constructed static SQL CRUD Engine instances.Returns the custom META types.getDynamicCrudEngine(String name, String sqlStatement) Returns the named dynamic SQL CRUD Engine instance (the primary SQL Processor class).getDynamicProcedureEngine(String name, String sqlStatement) Returns the named dynamic SQL Procedure Engine instance (the primary SQL Processor class).getDynamicQueryEngine(String name, String sqlStatement) Returns the named dynamic SQL Query Engine instance (the primary SQL Processor class).Returns the result of engines initialization process.Returns the result of engines initialization process.protected ExecutorReturns the asynchronous SQL Processor engines initialization executor.Returns the name of the filter to filter the META SQL statements, mapping rules and optional features.Returns the internal SQL engine or processor loader.Returns the names of files, which holds a collection of META SQL statements, mapping rules and optional features.Returns the String representation of the META SQL statements, mapping rules and optional features.Returns the monitor factory used in the process of the SQL Monitor instances creation.String[]Returns the only statements and rules, which are picked up from the properties repository.Returns the factory for the SQL Processor plugins.Returns the collection of names of all initialized/constructed dynamic SQL Procedure Engine instances.Returns the collection of names of all initialized/constructed dynamic SQL Procedure Engine instances.getProcedureEngine(String name) Returns the named static or dynamic SQL Procedure Engine instance (the primary SQL Processor class).Returns the collection of named dynamic SQL Procedure Engines (the primary SQL Processor class) instances.Returns the collection of names of all initialized/constructed static SQL Procedure Engine instances.Returns the collection of names of all initialized/constructed dynamic SQL Query Engine instances.Returns the collection of names of all initialized/constructed dynamic SQL Query Engine instances.getQueryEngine(String name) Returns the named static or dynamic SQL Query Engine instance (the primary SQL Processor class).Returns the collection of named dynamic SQL Query Engines (the primary SQL Processor class) instances.Returns the collection of names of all initialized/constructed static SQL Query Engine instances.getStaticCrudEngine(String name) Returns the named static SQL CRUD Engine instance (the primary SQL Processor class).Returns the named static SQL Procedure Engine instance (the primary SQL Processor class).getStaticQueryEngine(String name) Returns the named static SQL Query Engine instance (the primary SQL Processor class).Returns the factory for the META types construction.Returns the validator factory used in the process of the SQL Monitor instances creation.voidinit()Dynamic initialization, called mainly from the Spring configuration initialization.voidinit0()Conditional dynamic initialization, called mainly from the Spring configuration initialization.Returns the flag indicating the asynchronous SQL Processor engines initialization has been finished.booleanReturns the indicator that Collections should be handled as standard types.booleanisJdbc()Returns the indicator the JDBC stack is used.booleanReturns the indicator to speed up the initialization processbooleanReturns the indicator that column aliases are not included in generated SQL command.voidsetAsyncInitThreads(Integer asyncInitThreads) Sets the number of threads used for asynchronous initializationvoidsetCollectionsAreStandardTypes(boolean collectionsAreStandardTypes) Sets the indicator that Collections should be handled as standard types.voidsetConfiguration(SqlEngineConfiguration configuration) Sets the overall dynamic configurationvoidsetCustomTypes(List<SqlMetaType> customTypes) Sets the custom META types.voidsetCustomTypes(SqlMetaType... customTypes) Sets the custom META types.voidsetExecutor(Executor executor) Sets the asynchronous SQL Processor engines initialization executor.voidSets the name of the filter to filter the META SQL statements, mapping rules and optional features.voidsetFilter(SqlFeature filter) Sets the name of the filter to filter the META SQL statements, mapping rules and optional features.voidsetJdbc(boolean jdbc) Sets the indicator the JDBC stack is used.voidsetLazyInit(Boolean lazyInit) Sets the indicator to speed up the initialization processvoidsetMetaFilesNames(String... metaFilesNames) Sets the names of files, which holds a collection of META SQL statements, mapping rules and optional features.voidsetMetaFilesNames(List<String> metaFilesNames) Sets the names of files, which holds a collection of META SQL statements, mapping rules and optional features.voidsetMetaStatements(StringBuilder metaStatements) Sets the String representation of the META SQL statements, mapping rules and optional features.voidsetMonitorFactory(SqlMonitorFactory monitorFactory) Sets the monitor factory used in the process of the SQL Monitor instances creation.voidsetOnlyStatements(String[] selectQueries) Sets the only statements and rules, which are picked up from the properties repository.voidsetPluginFactory(SqlPluginFactory pluginFactory) Sets the factory for the SQL Processor plugins.voidsetSkipAliasesInQqlCommand(boolean skipAliasesInQqlCommand) Sets the indicator that column aliases are not included in generated SQL command.voidsetTypeFactory(SqlTypeFactory typeFactory) Sets the factory for the META types construction.voidsetValidatorFactory(SqlValidatorFactory validatorFactory) Sets the validator factory used in the process of the SQL Monitor instances creation.
-
Field Details
-
logger
protected final org.slf4j.Logger loggerThe internal slf4j logger. -
LINESEP
The platform based line separator. -
metaFilesNames
The names of files, which hold a collection of the SQL Processor artifacts (META SQL statements, mapping rules and optional features). -
metaStatements
The String representation of all SQL Processor artifacts (META SQL statements, mapping rules and optional features). -
typeFactory
The factory for the META types construction. -
pluginFactory
The factory for the SQL Processor plugins. -
filter
The name of the filter to filter the META SQL statements, mapping rules and optional features. -
monitorFactory
The monitor factory used in the process of the SQL Monitor instances creation. -
customTypes
The custom META types. -
onlyStatements
Only statements and rules with the names in this set are picked up from the properties repository. -
jdbc
private boolean jdbcThe indicator the JDBC stack is used. -
processorLoader
The helper class for the META SQL statements and mapping rules parsing. All artifacts are loaded from new grammar based files. -
validatorFactory
The validator factory used in the process of the SQL Monitor instances creation. -
lazyInit
This flag indicates to speed up the initialization process. -
asyncInitThreads
The number of threads used for asynchronous initialization. -
configuration
The overall configuration, which can be persisted. -
executor
The asynchronous SQL Processor engines initialization executor. It can be a Spring TaskExecutor. -
executorTerminated
The flag indicating the asynchronous SQL Processor engines initialization has been finished. -
collectionsAreStandardTypes
private boolean collectionsAreStandardTypesThe indicator that Collections should be handled as standard types. This is standard behaviour for Cassandra DB.. -
skipAliasesInQqlCommand
private boolean skipAliasesInQqlCommandThe indicator that column aliases are not included in generated SQL command. This is standard behaviour for Cassandra DB.
-
-
Constructor Details
-
SqlDefaultFactory
public SqlDefaultFactory()Creates a new instance with no default values. -
SqlDefaultFactory
public SqlDefaultFactory(boolean lazyInit) Creates a new instance with no default values.- Parameters:
lazyInit- this flag indicates to speed up the initialization process.
-
SqlDefaultFactory
public SqlDefaultFactory(int asyncInitThreads) Creates a new instance with no default values.- Parameters:
asyncInitThreads- number of threads used for asynchronous initialization
-
SqlDefaultFactory
public SqlDefaultFactory(boolean lazyInit, int asyncInitThreads) Creates a new instance with no default values.- Parameters:
lazyInit- this flag indicates to speed up the initialization process.asyncInitThreads- number of threads used for asynchronous initialization
-
-
Method Details
-
init
public void init()Dynamic initialization, called mainly from the Spring configuration initialization. -
init0
public void init0()Conditional dynamic initialization, called mainly from the Spring configuration initialization. -
getQueryEngine
Returns the named static or dynamic SQL Query Engine instance (the primary SQL Processor class). In fact it returns the cached instance in the case it exists (it can be a static or dynamic one). Otherwise it instantiates a new static instance.- Specified by:
getQueryEnginein interfaceSqlEngineFactory- Parameters:
name- the name of the required SQL Query Engine instance- Returns:
- the SQL Engine instance or null value in the case the related statement is missing
-
getCrudEngine
Returns the named static or dynamic SQL CRUD Engine instance (the primary SQL Processor class). In fact it returns the cached instance in the case it exists (it can be a static or dynamic one). Otherwise it instantiates a new static instance.- Specified by:
getCrudEnginein interfaceSqlEngineFactory- Parameters:
name- the name of the required SQL CRUD Engine instance- Returns:
- the SQL Engine instance or null value in the case the related statement is missing
-
getProcedureEngine
Returns the named static or dynamic SQL Procedure Engine instance (the primary SQL Processor class). In fact it returns the cached instance in the case it exists (it can be a static or dynamic one). Otherwise it instantiates a new static instance.- Specified by:
getProcedureEnginein interfaceSqlEngineFactory- Parameters:
name- the name of the required SQL Procedure Engine instance- Returns:
- the SQL Engine instance or null value in the case the related statement is missing
-
getStaticQueryEngine
Returns the named static SQL Query Engine instance (the primary SQL Processor class).- Specified by:
getStaticQueryEnginein interfaceSqlEngineFactory- Parameters:
name- the name of the required SQL Query Engine instance- Returns:
- the SQL Engine instance or null value in the case the related statement is missing
-
getStaticCrudEngine
Returns the named static SQL CRUD Engine instance (the primary SQL Processor class).- Specified by:
getStaticCrudEnginein interfaceSqlEngineFactory- Parameters:
name- the name of the required SQL CRUD Engine instance- Returns:
- the SQL Engine instance or null value in the case the related statement is missing
-
getStaticProcedureEngine
Returns the named static SQL Procedure Engine instance (the primary SQL Processor class).- Specified by:
getStaticProcedureEnginein interfaceSqlEngineFactory- Parameters:
name- the name of the required SQL Procedure Engine instance- Returns:
- the SQL Engine instance or null value in the case the related statement is missing
-
check
Check the SQL Engine instance is not null- Parameters:
name- the name of the required SQL Engine instancesqlEngine- the checked SQL Engine instance- Throws:
SqlEngineException- in the case the the SQL Engine instance is null
-
getCheckedQueryEngine
Returns the named static or dynamic SQL Query Engine instance (the primary SQL Processor class). In fact it returns the cached instance in the case it exists (it can be a static or dynamic one). Otherwise it instantiates a new static instance.- Specified by:
getCheckedQueryEnginein interfaceSqlEngineFactory- Parameters:
name- the name of the required SQL Query Engine instance- Returns:
- the SQL Engine instance
- Throws:
SqlEngineException- in the case the related statement is missing
-
getCheckedCrudEngine
Returns the named static or dynamic SQL CRUD Engine instance (the primary SQL Processor class). In fact it returns the cached instance in the case it exists (it can be a static or dynamic one). Otherwise it instantiates a new static instance.- Specified by:
getCheckedCrudEnginein interfaceSqlEngineFactory- Parameters:
name- the name of the required SQL CRUD Engine instance- Returns:
- the SQL Engine instance
-
getCheckedProcedureEngine
Returns the named static or dynamic SQL Procedure Engine instance (the primary SQL Processor class). In fact it returns the cached instance in the case it exists (it can be a static or dynamic one). Otherwise it instantiates a new static instance.- Specified by:
getCheckedProcedureEnginein interfaceSqlEngineFactory- Parameters:
name- the name of the required SQL Procedure Engine instance- Returns:
- the SQL Engine instance
-
getCheckedStaticQueryEngine
Returns the named static SQL Query Engine instance (the primary SQL Processor class).- Specified by:
getCheckedStaticQueryEnginein interfaceSqlEngineFactory- Parameters:
name- the name of the required SQL Query Engine instance- Returns:
- the SQL Engine instance
- Throws:
SqlEngineException- in the case the related statement is missing
-
getCheckedStaticCrudEngine
Returns the named static SQL CRUD Engine instance (the primary SQL Processor class).- Specified by:
getCheckedStaticCrudEnginein interfaceSqlEngineFactory- Parameters:
name- the name of the required SQL CRUD Engine instance- Returns:
- the SQL Engine instance
-
getCheckedStaticProcedureEngine
Returns the named static SQL Procedure Engine instance (the primary SQL Processor class).- Specified by:
getCheckedStaticProcedureEnginein interfaceSqlEngineFactory- Parameters:
name- the name of the required SQL Procedure Engine instance- Returns:
- the SQL Engine instance
-
getDynamicQueryEngine
public SqlQueryEngine getDynamicQueryEngine(String name, String sqlStatement) throws SqlEngineException Returns the named dynamic SQL Query Engine instance (the primary SQL Processor class).- Specified by:
getDynamicQueryEnginein interfaceSqlEngineFactory- Parameters:
name- the name of the required SQL Query Engine instancesqlStatement- the new SQL statement, which is going to replace the original one- Returns:
- the SQL Engine instance
- Throws:
SqlEngineException- in the case the original statement is missing
-
getDynamicCrudEngine
Returns the named dynamic SQL CRUD Engine instance (the primary SQL Processor class).- Specified by:
getDynamicCrudEnginein interfaceSqlEngineFactory- Parameters:
name- the name of the required SQL CRUD Engine instancesqlStatement- the new SQL statement, which is going to replace the original one- Returns:
- the SQL Engine instance
-
getDynamicProcedureEngine
Returns the named dynamic SQL Procedure Engine instance (the primary SQL Processor class).- Specified by:
getDynamicProcedureEnginein interfaceSqlEngineFactory- Parameters:
name- the name of the required SQL Procedure Engine instancesqlStatement- the new SQL statement, which is going to replace the original one- Returns:
- the SQL Engine instance
-
getMetaFilesNames
Returns the names of files, which holds a collection of META SQL statements, mapping rules and optional features.- Returns:
- the names of files, which holds a collection of META SQL statements, mapping rules and optional features
-
setMetaFilesNames
Sets the names of files, which holds a collection of META SQL statements, mapping rules and optional features.- Parameters:
metaFilesNames- the names of files, which holds a collection of META SQL statements, mapping rules and optional features
-
setMetaFilesNames
Sets the names of files, which holds a collection of META SQL statements, mapping rules and optional features.- Parameters:
metaFilesNames- the names of files, which holds a collection of META SQL statements, mapping rules and optional features
-
getMetaStatements
Returns the String representation of the META SQL statements, mapping rules and optional features.- Returns:
- the String representation of the META SQL statements, mapping rules and optional features
-
setMetaStatements
Sets the String representation of the META SQL statements, mapping rules and optional features.- Parameters:
metaStatements- the String representation of the META SQL statements, mapping rules and optional features
-
getTypeFactory
Returns the factory for the META types construction.- Returns:
- the factory for the META types construction
-
setTypeFactory
Sets the factory for the META types construction.- Parameters:
typeFactory- the factory for the META types construction
-
getPluginFactory
Returns the factory for the SQL Processor plugins.- Returns:
- the factory for the SQL Processor plugins
-
setPluginFactory
Sets the factory for the SQL Processor plugins.- Parameters:
pluginFactory- the factory for the SQL Processor plugins
-
getFilter
Returns the name of the filter to filter the META SQL statements, mapping rules and optional features.- Returns:
- the name of the filter to filter the META SQL statements, mapping rules and optional features
-
setFilter
Sets the name of the filter to filter the META SQL statements, mapping rules and optional features.- Parameters:
filter- the name of the filter to filter the META SQL statements, mapping rules and optional features
-
setFilter
Sets the name of the filter to filter the META SQL statements, mapping rules and optional features.- Parameters:
filter- the name of the filter to filter the META SQL statements, mapping rules and optional features
-
getMonitorFactory
Returns the monitor factory used in the process of the SQL Monitor instances creation.- Returns:
- the monitor factory used in the process of the SQL Monitor instances creation
-
setMonitorFactory
Sets the monitor factory used in the process of the SQL Monitor instances creation.- Parameters:
monitorFactory- the monitor factory used in the process of the SQL Monitor instances creation
-
getCustomTypes
Returns the custom META types.- Returns:
- the custom META types
-
setCustomTypes
Sets the custom META types.- Parameters:
customTypes- the custom META types
-
setCustomTypes
Sets the custom META types.- Parameters:
customTypes- the custom META types
-
addCustomType
Adds a new custom META type.- Parameters:
customType- the custom META type
-
getOnlyStatements
Returns the only statements and rules, which are picked up from the properties repository.- Returns:
- the only statements and rules, which are picked up from the properties repository
-
setOnlyStatements
Sets the only statements and rules, which are picked up from the properties repository.- Parameters:
selectQueries- the only statements and rules, which are picked up from the properties repository
-
isJdbc
public boolean isJdbc()Returns the indicator the JDBC stack is used.- Returns:
- the indicator the JDBC stack is used
-
setJdbc
public void setJdbc(boolean jdbc) Sets the indicator the JDBC stack is used.- Parameters:
jdbc- the indicator the JDBC stack is used
-
isCollectionsAreStandardTypes
public boolean isCollectionsAreStandardTypes()Returns the indicator that Collections should be handled as standard types.- Returns:
- the indicator that Collections should be handled as standard types.
-
setCollectionsAreStandardTypes
public void setCollectionsAreStandardTypes(boolean collectionsAreStandardTypes) Sets the indicator that Collections should be handled as standard types.- Parameters:
collectionsAreStandardTypes- the indicator that Collections should be handled as standard types.
-
isSkipAliasesInQqlCommand
public boolean isSkipAliasesInQqlCommand()Returns the indicator that column aliases are not included in generated SQL command.- Returns:
- the indicator that column aliases are not included in generated SQL command
-
setSkipAliasesInQqlCommand
public void setSkipAliasesInQqlCommand(boolean skipAliasesInQqlCommand) Sets the indicator that column aliases are not included in generated SQL command.- Parameters:
skipAliasesInQqlCommand- the indicator that column aliases are not included in generated SQL command
-
isLazyInit
public boolean isLazyInit()Returns the indicator to speed up the initialization process- Specified by:
isLazyInitin interfaceSqlEngineFactory- Returns:
- the indicator to speed up the initialization process
-
setLazyInit
Sets the indicator to speed up the initialization process- Parameters:
lazyInit- the indicator to speed up the initialization process
-
getAsyncInitThreads
public int getAsyncInitThreads()Returns the number of threads used for asynchronous initialization- Specified by:
getAsyncInitThreadsin interfaceSqlEngineFactory- Returns:
- the number of threads used for asynchronous initialization
-
setAsyncInitThreads
Sets the number of threads used for asynchronous initialization- Parameters:
asyncInitThreads- the number of threads used for asynchronous initialization
-
isAsyncInitFinished
Returns the flag indicating the asynchronous SQL Processor engines initialization has been finished.- Specified by:
isAsyncInitFinishedin interfaceSqlEngineFactory- Returns:
- the flag indicating the asynchronous SQL Processor engines initialization has been finished
-
getLoader
Returns the internal SQL engine or processor loader.- Returns:
- the internal SQL engine or processor loader
-
getValidatorFactory
Returns the validator factory used in the process of the SQL Monitor instances creation.- Returns:
- the validator factory used in the process of the SQL Monitor instances creation
-
setValidatorFactory
Sets the validator factory used in the process of the SQL Monitor instances creation.- Parameters:
validatorFactory- the validator factory used in the process of the SQL Monitor instances creation
-
getQueryNames
Returns the collection of names of all initialized/constructed static SQL Query Engine instances.- Specified by:
getQueryNamesin interfaceSqlEngineFactory- Returns:
- The collection of all initialized static SQL Query Engine instances' names
-
getQueryDynamicNames
Returns the collection of names of all initialized/constructed dynamic SQL Query Engine instances.- Specified by:
getQueryDynamicNamesin interfaceSqlEngineFactory- Returns:
- The collection of all initialized dynamic SQL Query Engine instances' names
-
getQueryEngines
Returns the collection of named dynamic SQL Query Engines (the primary SQL Processor class) instances.- Specified by:
getQueryEnginesin interfaceSqlEngineFactory- Returns:
- The collection of named dynamic SQL Query Engines (the primary SQL Processor class) instances
-
getQueryDynamicEngines
Returns the collection of names of all initialized/constructed dynamic SQL Query Engine instances.- Specified by:
getQueryDynamicEnginesin interfaceSqlEngineFactory- Returns:
- The collection of all initialized dynamic SQL Query Engine instances' names
-
getCrudNames
Returns the collection of names of all initialized/constructed static SQL CRUD Engine instances.- Specified by:
getCrudNamesin interfaceSqlEngineFactory- Returns:
- The collection of all initialized static SQL CRUD Engine instances' names
-
getCrudDynamicNames
Returns the collection of names of all initialized/constructed dynamic SQL CRUD Engine instances.- Specified by:
getCrudDynamicNamesin interfaceSqlEngineFactory- Returns:
- The collection of all initialized dynamic SQL CRUD Engine instances' names
-
getCrudEngines
Returns the collection of named dynamic SQL CRUD Engines (the primary SQL Processor class) instances.- Specified by:
getCrudEnginesin interfaceSqlEngineFactory- Returns:
- The collection of named dynamic SQL CRUD Engines (the primary SQL Processor class) instances
-
getCrudDynamicEngines
Returns the collection of names of all initialized/constructed dynamic SQL CRUD Engine instances.- Specified by:
getCrudDynamicEnginesin interfaceSqlEngineFactory- Returns:
- The collection of all initialized dynamic SQL CRUD Engine instances' names
-
getProcedureNames
Returns the collection of names of all initialized/constructed static SQL Procedure Engine instances.- Specified by:
getProcedureNamesin interfaceSqlEngineFactory- Returns:
- The collection of all initialized static SQL Procedure Engine instances' names
-
getProcedureDynamicNames
Returns the collection of names of all initialized/constructed dynamic SQL Procedure Engine instances.- Specified by:
getProcedureDynamicNamesin interfaceSqlEngineFactory- Returns:
- The collection of all initialized dynamic SQL Procedure Engine instances' names
-
getProcedureEngines
Returns the collection of named dynamic SQL Procedure Engines (the primary SQL Processor class) instances.- Specified by:
getProcedureEnginesin interfaceSqlEngineFactory- Returns:
- The collection of named dynamic SQL Procedure Engines (the primary SQL Processor class) instances
-
getProcedureDynamicEngines
Returns the collection of names of all initialized/constructed dynamic SQL Procedure Engine instances.- Specified by:
getProcedureDynamicEnginesin interfaceSqlEngineFactory- Returns:
- The collection of all initialized dynamic SQL Procedure Engine instances' names
-
getEnginesInitErrors
Returns the result of engines initialization process. For every engine, for which there's error in the initialization process there a error message. In the case there's no error, the result message is null.- Specified by:
getEnginesInitErrorsin interfaceSqlEngineFactory- Returns:
- the result of engines initialization process
-
getEnginesInitErrorsMsg
Returns the result of engines initialization process. For every engine, for which there's error in the initialization process there a error message. In the case there's no error, the result message is null.- Specified by:
getEnginesInitErrorsMsgin interfaceSqlEngineFactory- Returns:
- the result of engines initialization process
-
getConfiguration
Returns the overall dynamic configuration- Specified by:
getConfigurationin interfaceSqlEngineFactory- Returns:
- the overall dynamic configuration
-
setConfiguration
Sets the overall dynamic configuration- Parameters:
configuration- the overall dynamic configuration
-
getExecutor
Returns the asynchronous SQL Processor engines initialization executor. It can be a Spring TaskExecutor or null for the case of synchronous SQL Processor engines initialization.- Returns:
- the asynchronous SQL Processor engines initialization executor
-
setExecutor
Sets the asynchronous SQL Processor engines initialization executor. It can be a Spring TaskExecutor or null for the case of synchronous SQL Processor engines initialization.- Parameters:
executor- the asynchronous SQL Processor engines initialization executor
-