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 >:
Public Member Functions | |
T | 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
T Summer.Batch.Extra.Sort.Legacy.Accessor.IAccessor< T >.Get | ( | byte[] | record | ) |
Gets a value from a record.
- Parameters
-
record the 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, |
T | value | ||
) |
Sets a value on a record.
- Parameters
-
record the record to set the value on value the 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