Class RowSchemaMapCounts
Allows the caller to track how many times each SchemaNode in the
SchemaNodeList list property has been mapped.
This is useful since some dataflow types can only be copied once (SingleShallow),
or must be deep copied after the first copy (SingleShallowThenDeep).
Namespace: actionETL
Assembly: actionETL.dll
Syntax
public sealed class RowSchemaMapCounts
Constructors
RowSchemaMapCounts(Int32)
Initializes a new instance of the RowSchemaMapCounts class.
Declaration
public RowSchemaMapCounts(int schemaNodeListCount)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | schemaNodeListCount | The maximum number of items to be mapped. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException |
|
Properties
Count
Gets the maximum number of items to be mapped.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
MappedCount
Gets the number of items with a mapped count greater than 0.
Declaration
public int MappedCount { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Methods
Get(Int32)
Gets the map count for a particular (SchemaNode) index.
Declaration
public int Get(int schemaNodeListIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | schemaNodeListIndex | Index of the |
Returns
| Type | Description |
|---|---|
| Int32 | The map count; |
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException |
|
Increment(Int32)
Increments the map count for a particular (SchemaNode) index.
Declaration
public void Increment(int schemaNodeListIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | schemaNodeListIndex | Index of the |
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException |
|
IsMapped(Int32)
Determines whether the specified (SchemaNode) index is mapped.
Declaration
public bool IsMapped(int schemaNodeListIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | schemaNodeListIndex | Index of the |
Returns
| Type | Description |
|---|---|
| Boolean |
|
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException |
|