Summer.Batch.Extra.Sort.Legacy.Accessor.IAccessor< T > Interface Template Reference

Interface for getting and setting values in array of bytes records More...

Inheritance diagram for Summer.Batch.Extra.Sort.Legacy.Accessor.IAccessor< T >:
Summer.Batch.Extra.Sort.Legacy.Accessor.AbstractAccessor< T > Summer.Batch.Extra.Sort.Legacy.Accessor.ConstantAccessor< T >

Public Member Functions

Get (byte[] record)
 Gets a value from a record. More...
 
void Set (byte[] record, T value)
 Sets a value on a record. More...
 

Detailed Description

Interface for getting and setting values in array of bytes records

Template Parameters
T the type of the accessed value

Member Function Documentation

Gets a value from a record.

Parameters
recordthe record to get the value from
Returns
the read value

Implemented in Summer.Batch.Extra.Sort.Legacy.Accessor.AbstractAccessor< T >, and Summer.Batch.Extra.Sort.Legacy.Accessor.ConstantAccessor< T >.

void Summer.Batch.Extra.Sort.Legacy.Accessor.IAccessor< T >.Set ( byte[]  record,
value 
)

Sets a value on a record.

Parameters
recordthe record to set the value on
valuethe value to set

Implemented in Summer.Batch.Extra.Sort.Legacy.Accessor.AbstractAccessor< T >, and Summer.Batch.Extra.Sort.Legacy.Accessor.ConstantAccessor< T >.


The documentation for this interface was generated from the following file:
  • Summer.Batch.Extra/Sort/Legacy/Accessor/IAccessor.cs