Click or drag to resize

IRecordBase Interface

Base interface for IRecord and IUntypedRecord interfaces

Namespace:  Mavidian.DataConveyer.Entities.KeyVal
Assembly:  DataConveyer (in DataConveyer.dll) Version: 3.4.6+1324144ff7
Syntax
public interface IRecordBase

The IRecordBase type exposes the following members.

Properties
  NameDescription
Public propertyClstrNo
1-based sequential cluster number (on intake it is 0 (undetermined), unless assigned in case of XML intake); the actual number is assigned at clustering block.
Public propertyCount
Number of items contained in the record
Public propertyGlobalCache
A set of key value pairs that are common to all records and clusters throughout the process execution. Elements of global cache are defined via the GlobalCacheElements seting. Global cache also allows signals to synchronize thread of Data Conveyer processing.
Public propertyItems
A collection of items contained in the record.
Public propertyKeys
A collection of keys contained in the record.
Public propertyPropertyBin
The property bin associated with the record. Property bin is a dictionary containing arbitrary set of key value pairs that can be added and removed throughout of DataConveyer processing. In order to have records contain property bin objects, the PropertyBinEntities setting must contain the Records flag; otherwise the property bin will be null.
Public propertyRecNo
Sequence number of the record on intake (1 based). This number remains unchanged throughout the processing; for example in case of record cloning, the clone will inherit RecNo from the original record.
Public propertySourceNo
Index number of the intake source that supplied the record (1 based). This number remains unchanged throughout the processing; for example in case of record cloning, the clone will inherit SourceNo from the original record.
Public propertyTargetNo
Index number of the output target that the record is sent to (1 based). Before output phase (ClusterRouter function), the value is 0, which means not yet determined.
Public propertyTraceBin
The trace bin object associated with the record. It can be set up in the RecordInitiator function. Trace bin is a dictionary intended to contain key value pairs collected during processing of preceding records on intake. Note that for efficiency empty trace bin objects are not attached; in such cases, TraceBin values are null.
Top
Methods
  NameDescription
Public methodAddOrReplaceItem
Include the item in the record by either adding it or replacing existing item with the same key.
Public methodContainsKey
Verify if the record contains an item with a given key.
Public methodGetItem(Int32)
Obtain an item at a specified index position.
Public methodGetItem(String)
Obtain an item for a specified key.
Public methodGetProcessingStatus
Return processing status of a given phase.
Public methodRemoveItem
Remove item for a specified key.
Public methodReplaceItem
Replace an existing item with a new one.
Top
See Also