Qorus Integration Engine®  4.1.4.p4_git
OMQ::QorusRawSqlStatementOutboundMapperType Class Reference

defines the mapper type for raw outbound SQL mappers More...

Inheritance diagram for OMQ::QorusRawSqlStatementOutboundMapperType:
OMQ::AbstractMapperType

Public Member Methods

string getName ()
 returns "SqlStatementOutboundMapper", the name of the primary mapper class (must be unique in the mapper type list)
 
bool requiresInput ()
 mapper definition does not include the input record description; all is taken from the DB
 
bool requiresOutput ()
 mapper definition does have to include the output record description
 
*list< stringgetRequiredRecordOptions ()
 returns a list of mapper options that must be given to create the input or output records for the mapper for mappers that can create either input records (ie requiresInput() is False) and/or output records (ie requiresOutput() is False); these options must also be present in the getMapperOptions() output
 
hash< auto > getMapperOptions ()
 returns a hash of valid mapper options; the keys are the option names and the values are string descriptions for the options
 
hash< string, hash< MapperOptionInfo > > getMapperUserOptions ()
 returns user options
 
*hash< auto > getRuntimeMapperOptions ()
 returns a hash of valid runtime mapper options; the keys are the option names and the values are string descriptions for the options
 
*hash< string, AbstractDataField > getInput (string mname, hash< auto > opth)
 returns the input record as defined by the select criteria
 
Mapper::Mapper get (hash< auto > mapv, *hash< auto > opts)
 returns a TableMapper::InboundTableMapper object
 
Qore::AbstractIterator getIterator (Qore::AbstractIterator input, hash< auto > mapv, *hash< auto > opts)
 must return a iterator object given the input iterator that maps the input data to output in the iterator using the current Mapper
 
- Public Member Methods inherited from OMQ::AbstractMapperType
*hash< auto > getRuntimeMapperOptions ()
 returns a hash of valid runtime mapper options; the keys are the option names and the values are string descriptions for the options
 
hash< string, hash< MapperOptionInfo > > getMapperUserOptions ()
 returns user options; must be overridden in child classe to return a valid response
 
Qore::AbstractIterator getIterator (Qore::AbstractIterator input, hash< auto > mapv, *hash< auto > opts)
 must return a iterator object given the input iterator that maps the input data to output in the iterator using the current Mapper
 
*list< stringgetRequiredOptions ()
 returns a list of mapper options that must be given to create the mapper (these options must also be present in the getMapperOptions() output); by default this method returns getRequiredRecordOptions() + "input" (if requiresInput() returns False) + "output" (if requiresOutput() returns False)
 
hash< auto > getConfigInfo ()
 returns a hash of configuration info for the mapper type
 
hash< auto > getInput (string mname, hash< auto > opth)
 called for mapper providers that automatically define the input record
 
hash< auto > getOutput (string mname, hash< auto > opth)
 called for mapper providers that automatically define the output record
 
bool isValid ()
 whether the mapper is valid, i.e. eligible for parsing and other "regular" actions
 

Detailed Description

defines the mapper type for raw outbound SQL mappers


The documentation for this class was generated from the following file: