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 >:
Summer.Batch.Extra.Sort.Filter.IFilter< byte[]>

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

abstract int Summer.Batch.Extra.Sort.Legacy.Filter.AbstractLegacyFilter< T >.DoComparison ( leftValue,
rightValue 
)
protectedpure virtual

Does the actual comparison between the values

Returns
the result of the comparison, as an integer
Parameters
leftValuethe left value of the comparison
rightValuethe right value of the comparison

Determines if a record should be selected.

Parameters
recorda record in a file being sorted
Returns
true if the record is selected, false otherwise

Property Documentation

The IAccessor<T> for the left value

The operator used to compare the values

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