DtUserConsumer

Description

The DtUserConsumer class implements an object that exports data on the basis of algorithm, implemented in user unit.

Comments

The object of this class can be used for direct export of data array with the help of user algorithm. A user algorithm is implemented in the IDtRecordsetConsumer.Put method that should be redefined in user class.

It is also used to set up the User Consumer ETL task object.

Properties inherited from IDtUserConsumer

  Property name Brief description
ForeClass The ForeClass property determines the name of the class that implements user consumer.
ForeModule The ForeModule property determines the unit, which contains the class that implements user consumer.
UserData The UserData property determines additional settings in the XML format for custom data consumer.

Properties inherited from IDtConsumer

  Property name Brief description
CalcFieldsErrors

The CalcFieldsErrors property returns a collection of errors appeared on calculated fields calculation.

Properties inherited from IDtObject

  Property name Brief description
Active The Active property returns data provider or data consumer state.
Fields The Fields property returns data provider/data consumer fields description.
GetType The GetType property returns data provider/data consumer type.
Metabase The Metabase property determines the repository, in which data is imported or exported.

Methods inherited from IDtConsumer

  Method name Brief description
Clear The Clear method clears a data consumer.
Put The Put method records values array into the data consumer.
PutRow The PutRow method loads values row to the data consumer.
PutProvider The PutProvider method exports all values of the specified data provider to the data consumer.
WritingRowsCount The WritingRowsCount method returns the number of records written to the data consumer.

Methods inherited from IDtObject

  Method name Brief description
ClearFields The ClearFields method clears fields list of the data provider/data consumer.
Close The Close method closes data provider or data consumer.
FieldsFromFile The FieldsFromFile method reads fields list from the source file.
Load The Load method loads data provider/data consumer parameters from XML.
Open The Open method opens data provider or data consumer.
Save The Save method saves data provider/data consumer parameters in XML format.

See also:

Dt Assembly Classes