Title here
Summary here
The FilterTransformation allows you to filter out rows that evaluate to a given predicate. By default the filter transformation will filter out null values.
public class FilterTransformation<TInput> : DataFlowTransformation<TInput, TInput>, IDataFlowTransformation<TInput, TInput>, IDataFlowSource<TInput>, IDataFlowSource, IDataFlowDestination<TInput>, IDataFlowDestination, IDataFlowComponent, ILoggableTask
Name | Description |
---|---|
TInput | The type of ingoing data. |
public FilterTransformation()
public FilterTransformation(Predicate<TInput> filterPredicate)
Type | Name | Description |
---|---|---|
Predicate<TInput> | filterPredicate |
The filter predicates is true for all rows that should be filtered out. The default value will filter out null values.
public Predicate<TInput> FilterPredicate { get; set; }
Type | Description |
---|---|
Predicate<TInput> |
Numbers of rows that were filtered out.
public int FilteredCount { get; }
Type | Description |
---|---|
int |
Numbers of rows that were not filtered out.
public int PassedCount { get; }
Type | Description |
---|---|
int |
SourceBlock from the underlying TPL.Dataflow which is used as output buffer for the component.
public override ISourceBlock<TInput> SourceBlock { get; }
Type | Description |
---|---|
ISourceBlock<TInput> |
TargetBlock from the underlying TPL.Dataflow which is used as input buffer for the component.
public override ITargetBlock<TInput> TargetBlock { get; }
Type | Description |
---|---|
ITargetBlock<TInput> |
protected override void CheckParameter()
protected override void CleanUpOnFaulted(Exception e)
Type | Name | Description |
---|---|---|
Exception | e |
protected override void CleanUpOnSuccess()
protected override void InitComponent()
protected override void Reset()