Class TransformAggregationBase<TInput>
Base class that holds accumulation information. The seed, accumulation, and output actions in workers created by AggregateTransformFactory takes this instance as a parameter. Also see the examples in Dataflow Aggregations.
Inheritance
Namespace: actionETL
Assembly: actionETL.dll
Syntax
public abstract class TransformAggregationBase<TInput>
where TInput : class
Type Parameters
| Name | Description |
|---|---|
| TInput | The type of the incoming rows. |
Properties
Count
Gets the number of rows that has been accumulated. Note that this includes rows
with null column values.
Declaration
public long Count { get; }
Property Value
| Type | Description |
|---|---|
| Int64 |
CustomData
Gets or sets custom data, which can optionally be created and maintained by the user aggregation
delegates. Defaults to null.
Declaration
public object CustomData { get; set; }
Property Value
| Type | Description |
|---|---|
| Object |
NextRow
Gets the next incoming row.
Declaration
public TInput NextRow { get; }
Property Value
| Type | Description |
|---|---|
| TInput |
Status
Gets or sets the status. Defaults to NotCompleted.
Set it to a completed status to discard any additional input rows - Succeeded
will invoke the output action (unless already run), and complete the worker successfully
with the current aggregation values; a failure status will fail the worker without invoking
the output action.
Declaration
public ProgressStatus Status { get; set; }
Property Value
| Type | Description |
|---|---|
| ProgressStatus |