Qorus Integration Engine®  4.0.3.p2_git
OMQ::QorusInboundTableMapperIterator Class Reference

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

Inheritance diagram for OMQ::QorusInboundTableMapperIterator:
TableMapper::InboundTableMapperIterator Mapper::AbstractMapperIterator Qore::AbstractIterator

Public Member Methods

 constructor (Qore::AbstractIterator input, hash mapv, *hash opts)
 creates the iterator from the arguments passed More...
 

Detailed Description

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

Member Function Documentation

◆ constructor()

OMQ::QorusInboundTableMapperIterator::constructor ( Qore::AbstractIterator  input,
hash  mapv,
*hash  opts 
)

creates the iterator from the arguments passed

Parameters
inputinput iterator; AbstractIterator::getValue() must return a hash
mapva hash providing field mappings; each hash key is the name of the output column in lower case in the target table; each value is either True (meaning no translations are done; the data is copied 1:1) or a hash describing the mapping; see Mapper Specification Format for detailed documnentation for this option
optsan optional hash of options for the mapper; see Mapper Options for a description of valid mapper options; 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
See also
TableMapper::InboundTableMapperIterator::constructor() for more information

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