Qorus Integration Engine® Enterprise Edition 6.0.25_prod
Loading...
Searching...
No Matches
OMQ::QorusInboundTableMapper Class Reference

this class provides an inbound table mapper based on TableMapper::InboundTableMapper with consistent constructor arguments More...

Inheritance diagram for OMQ::QorusInboundTableMapper:
[legend]
Collaboration diagram for OMQ::QorusInboundTableMapper:
[legend]

Public Member Methods

 constructor (hash< auto > mapv, *hash< auto > opts)
 create the object based on the option arguments More...
 

Static Public Member Methods

static SqlUtil::AbstractTable getTable (reference opts)
 called in the constructor to get the Table object
 

Public Attributes

const OptionKeys
 valid mapper keys
 
const UserOptions
 valid user options
 

Detailed Description

this class provides an inbound table mapper based on TableMapper::InboundTableMapper with consistent constructor arguments

Member Function Documentation

◆ constructor()

OMQ::QorusInboundTableMapper::constructor ( hash< auto >  mapv,
*hash< auto >  opts 
)

create the object based on the option arguments

Parameters
mapvthe mapper description; see Mapper Specification Format for more info
optssee Mapper Options for more info; the following additional keys are required for this class:
  • "datasource": the name of the Qorus datasource
  • "table": the name of the target table for inserting
Exceptions
MAP-ERRORthe map hash has a logical error (ex: 'trunc' key given without 'maxlen', invalid map key)
UNKNOWN-COLUMNfield name not recognized
MISSING-COLUMNmap is missing a mapping for a column with a NOT NULL constraint
Note
other exceptions can be thrown by SqlUtil in case of errors acquiring the Table

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