| Package | Description |
|---|---|
| org.sqlproc.engine |
The public part of the SQL Processor implementation.
|
| org.sqlproc.engine.impl |
The private part of the SQL Processor implementation.
|
| Modifier and Type | Field and Description |
|---|---|
protected SqlMappingRule |
SqlEngine.mapping
The pre-compiled mapping rule, which is an SQL execution result to Java output classes mapping prescription.
|
| Modifier and Type | Field and Description |
|---|---|
private Map<String,SqlMappingRule> |
SqlProcessorLoader.outs
The collection of named explicitly defined mapping rules.
|
| Constructor and Description |
|---|
SqlCrudEngine(String name,
SqlMetaStatement statement,
SqlMappingRule mapping,
SqlMonitor monitor,
Map<String,Object> features,
SqlTypeFactory typeFactory,
SqlPluginFactory pluginFactory)
Creates a new instance of the SqlCrudEngine from one META SQL statement instance.
|
SqlCrudEngine(String name,
SqlMetaStatement statement,
SqlMappingRule mapping,
SqlMonitor monitor,
Map<String,Object> features,
SqlTypeFactory typeFactory,
SqlPluginFactory pluginFactory,
SqlEngineConfiguration configuration)
Creates a new instance of the SqlCrudEngine from one META SQL statement instance.
|
SqlEngine(String name,
SqlMetaStatement statement,
SqlMappingRule mapping,
SqlMonitor monitor,
Map<String,Object> features,
SqlTypeFactory typeFactory,
SqlPluginFactory pluginFactory,
SqlEngineConfiguration configuration)
Creates a new instance of the SqlEngine from one META SQL statement and one SQL Mapping rule instance.
|
SqlProcedureEngine(String name,
SqlMetaStatement statement,
SqlMappingRule mapping,
SqlMonitor monitor,
Map<String,Object> features,
SqlTypeFactory typeFactory,
SqlPluginFactory pluginFactory)
Creates a new instance of the SqlProcedureEngine from one stored procedure execution META SQL statement and one
SQL mapping rule instances.
|
SqlProcedureEngine(String name,
SqlMetaStatement statement,
SqlMappingRule mapping,
SqlMonitor monitor,
Map<String,Object> features,
SqlTypeFactory typeFactory,
SqlPluginFactory pluginFactory,
SqlEngineConfiguration configuration)
Creates a new instance of the SqlProcedureEngine from one stored procedure execution META SQL statement and one
SQL mapping rule instances.
|
SqlProcedureEngine(String name,
SqlMetaStatement statement,
SqlMappingRule mapping,
SqlTypeFactory typeFactory,
SqlPluginFactory pluginFactory)
Creates a new instance of the SqlProcedureEngine from one stored procedure execution META SQL statement and one
SQL mapping rule instances.
|
SqlQueryEngine(String name,
SqlMetaStatement statement,
SqlMappingRule mapping,
SqlMonitor monitor,
Map<String,Object> features,
SqlTypeFactory typeFactory,
SqlPluginFactory pluginFactory)
Creates a new instance of the SqlQueryEngine from one META SQL statement and one SQL mapping rule instances.
|
SqlQueryEngine(String name,
SqlMetaStatement statement,
SqlMappingRule mapping,
SqlMonitor monitor,
Map<String,Object> features,
SqlTypeFactory typeFactory,
SqlPluginFactory pluginFactory,
SqlEngineConfiguration configuration)
Creates a new instance of the SqlQueryEngine from one META SQL statement and one SQL mapping rule instances.
|
SqlQueryEngine(String name,
SqlMetaStatement statement,
SqlMappingRule mapping,
SqlTypeFactory typeFactory,
SqlPluginFactory pluginFactory)
Creates a new instance of the SqlQueryEngine from one META SQL statement and one SQL mapping rule instances.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) Map<String,Map<String,SqlMappingRule>> |
SqlProcessor.mappingRules
The collection of the output value mappings.
|
| Modifier and Type | Method and Description |
|---|---|
static SqlMappingRule |
SqlMappingRule.getInstance(String name,
String mappingStatement,
SqlTypeFactory typeFactory)
Simple factory method (design pattern).
|
SqlMappingRule |
SqlProcessorParser.mapping(String name,
SqlTypeFactory _typeFactory,
boolean _skip) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,SqlMappingRule> |
SqlProcessor.getMappingRules(SqlProcessor.MappingType type)
Returns the collection of the output value mappings.
|
Map<String,SqlMappingRule> |
SqlProcessor.getMappingRules(String type)
Returns the collection of the output value mappings.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) boolean |
SqlProcessorParser.add(SqlProcessor processor,
String type,
String name,
SqlMappingRule mapping,
List<String> activeFilters,
String... filters) |
boolean |
SqlProcessor.addMappingRule(String type,
String name,
String raw,
SqlMappingRule mapping,
List<ErrorMsg> errors,
List<String> activeFilters,
String... filters)
Adds a new output value mapping.
|
private void |
SqlMappingResult.merge(SqlMappingRule mapping,
Map<String,SqlMappingItem> outputMappings)
Merge mapping rule for one META SQL query based on SqlMapping.g and SqlStatement.g.
|
static SqlMappingResult |
SqlMappingRule.merge(SqlMappingRule mapping,
SqlProcessResult processResult)
Merge mapping rule for one META SQL query based on SqlMapping.g and SqlStatement.g.
|
| Constructor and Description |
|---|
SqlMappingResult(SqlProcessContext ctx,
SqlMappingRule mapping,
Map<String,SqlMappingItem> outputMappings)
Creates a new instance.
|
Copyright © 2018. All rights reserved.