Uses of Class
org.sqlproc.engine.impl.SqlMappingRule
-
Packages that use SqlMappingRule 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. -
-
Uses of SqlMappingRule in org.sqlproc.engine
Fields in org.sqlproc.engine declared as SqlMappingRule Modifier and Type Field Description protected SqlMappingRule
SqlEngine. mapping
The pre-compiled mapping rule, which is an SQL execution result to Java output classes mapping prescription.Fields in org.sqlproc.engine with type parameters of type SqlMappingRule Modifier and Type Field Description private Map<String,SqlMappingRule>
SqlProcessorLoader. outs
The collection of named explicitly defined mapping rules.Constructors in org.sqlproc.engine with parameters of type SqlMappingRule Constructor 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. -
Uses of SqlMappingRule in org.sqlproc.engine.impl
Fields in org.sqlproc.engine.impl with type parameters of type SqlMappingRule Modifier and Type Field Description (package private) Map<String,Map<String,SqlMappingRule>>
SqlProcessor. mappingRules
The collection of the output value mappings.Methods in org.sqlproc.engine.impl that return SqlMappingRule Modifier and Type Method 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)
Methods in org.sqlproc.engine.impl that return types with arguments of type SqlMappingRule Modifier and Type Method Description Map<String,SqlMappingRule>
SqlProcessor. getMappingRules(String type)
Returns the collection of the output value mappings.Map<String,SqlMappingRule>
SqlProcessor. getMappingRules(SqlProcessor.MappingType type)
Returns the collection of the output value mappings.Methods in org.sqlproc.engine.impl with parameters of type SqlMappingRule Modifier and Type Method 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.Constructors in org.sqlproc.engine.impl with parameters of type SqlMappingRule Constructor Description SqlMappingResult(SqlProcessContext ctx, SqlMappingRule mapping, Map<String,SqlMappingItem> outputMappings)
Creates a new instance.
-