Summer.Batch.Extra.Sort.Legacy.Accessor.BinaryAccessor Class Reference

Implementation of IAccessor<T> for binary encoded numbers. More...

Inheritance diagram for Summer.Batch.Extra.Sort.Legacy.Accessor.BinaryAccessor:
Summer.Batch.Extra.Sort.Legacy.Accessor.AbstractAccessor< decimal >

Public Member Functions

override decimal Get (byte[] record)
 Gets a value from a record. More...
 
override void Set (byte[] record, decimal value)
 Sets a value on a record. More...
 
- Public Member Functions inherited from Summer.Batch.Extra.Sort.Legacy.Accessor.AbstractAccessor< decimal >
abstract void Set (byte[] record, T value)
 Sets a value on a record. More...
 
void SetBytes (byte[] record, byte[] bytes, byte paddingValue)
 Replaces the bytes from Start to Start + Length with the specified bytes. If the size of bytes is not equal to Length, it is truncated or padded on the left to adapt its size. More...
 

Properties

bool Signed [get, set]
 Whether the number is signed. More...
 
- Properties inherited from Summer.Batch.Extra.Sort.Legacy.Accessor.AbstractAccessor< decimal >
int Start [get, set]
 The zero-based index of the first character of the accessed column. More...
 
int Length [get, set]
 The length of the column. More...
 
Encoding Encoding [get, set]
 The encoding to use to encode or decode the column. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Summer.Batch.Extra.Sort.Legacy.Accessor.AbstractAccessor< decimal >
 AbstractAccessor ()
 Default constructor. More...
 

Detailed Description

Implementation of IAccessor<T> for binary encoded numbers.

Member Function Documentation

override decimal Summer.Batch.Extra.Sort.Legacy.Accessor.BinaryAccessor.Get ( byte[]  record)
virtual

Gets a value from a record.

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

Implements Summer.Batch.Extra.Sort.Legacy.Accessor.AbstractAccessor< decimal >.

override void Summer.Batch.Extra.Sort.Legacy.Accessor.BinaryAccessor.Set ( byte[]  record,
decimal  value 
)

Sets a value on a record.

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

Property Documentation

bool Summer.Batch.Extra.Sort.Legacy.Accessor.BinaryAccessor.Signed
getset

Whether the number is signed.


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