Summer.Batch.Extra.Sort.Legacy.Filter.AbstractLegacyFilter< T > Class Template Referenceabstract
Abstract base class for legacy filters based on byte array records. The filter compares two values using IAccessor<T>. More...
Inheritance diagram for Summer.Batch.Extra.Sort.Legacy.Filter.AbstractLegacyFilter< T >:
Public Member Functions | |
bool | Select (byte[] record) |
Determines if a record should be selected. More... | |
Public Member Functions inherited from Summer.Batch.Extra.Sort.Filter.IFilter< byte[]> | |
bool | Select (T record) |
Determines if a record should be selected. More... | |
Protected Member Functions | |
abstract int | DoComparison (T leftValue, T rightValue) |
Does the actual comparison between the values More... | |
Properties | |
IAccessor< T > | Left [get, set] |
The IAccessor<T> for the left value More... | |
IAccessor< T > | Right [get, set] |
The IAccessor<T> for the right value More... | |
ComparisonOperator | Operator [get, set] |
The operator used to compare the values More... | |
Detailed Description
Abstract base class for legacy filters based on byte array records. The filter compares two values using IAccessor<T>.
- Template Parameters
-
T
Member Function Documentation
|
protectedpure virtual |
Does the actual comparison between the values
- Returns
- the result of the comparison, as an integer
- Parameters
-
leftValue the left value of the comparison rightValue the right value of the comparison
bool Summer.Batch.Extra.Sort.Legacy.Filter.AbstractLegacyFilter< T >.Select | ( | byte[] | record | ) |
Determines if a record should be selected.
- Parameters
-
record a record in a file being sorted
- Returns
true
if the record is selected,false
otherwise
Property Documentation
|
getset |
The IAccessor<T> for the left value
|
getset |
The operator used to compare the values
|
getset |
The IAccessor<T> for the right value
The documentation for this class was generated from the following file:
- Summer.Batch.Extra/Sort/Legacy/Filter/AbstractLegacyFilter.cs