Summer.Batch.Extra.Sort.SortTasklet Class Reference

A tasklet that sorts files. Uses legacy sort cards. More...

Inheritance diagram for Summer.Batch.Extra.Sort.SortTasklet:
Summer.Batch.Core.Step.Tasklet.ITasklet Summer.Batch.Common.Factory.IInitializationPostOperations

Public Member Functions

 SortTasklet ()
 Default constructor. More...
 
void AfterPropertiesSet ()
 Post-initialization operation. More...
 
RepeatStatus Execute (StepContribution contribution, ChunkContext chunkContext)
 Configures a Sorter<T> and executes it. More...
 

Properties

IList< IResourceInput [get, set]
 The input resources. More...
 
IList< IResourceOutput [get, set]
 The output resource. More...
 
Encoding Encoding [get, set]
 The encoding of the input files. Default is System.Text.Encoding.Default. More...
 
Encoding SortEncoding [get, set]
 The encoding to use when sorting, if different from Encoding. Default is null. More...
 
int RecordLength [get, set]
 The length of the records for fixed-length block records. More...
 
string Separator [get, set]
 The separator for separated variable length records. More...
 
string SortCard [get, set]
 The sort configuration card More...
 
string Include [get, set]
 The include configuration card More...
 
string Omit [get, set]
 The omit configuration card More...
 
string Inrec [get, set]
 The inrec configuration card More...
 
string Outrec [get, set]
 The outrec configuration card More...
 
string Sum [get, set]
 The sum configuration card More...
 
string Outfils [get, set]
 Configuration cards for outfils, separated by semi-colons. More...
 
bool SkipDuplicates [get, set]
 Whether duplicates should be skipped or kept. More...
 
int HeaderSize [get, set]
 The size of the header. More...
 
long MaxInMemorySize [get, set]
 The maximum size (in MB) of a file for it to be sorted in memory. Default is 100MB. More...
 

Detailed Description

A tasklet that sorts files. Uses legacy sort cards.

Constructor & Destructor Documentation

Summer.Batch.Extra.Sort.SortTasklet.SortTasklet ( )

Default constructor.

Member Function Documentation

void Summer.Batch.Extra.Sort.SortTasklet.AfterPropertiesSet ( )

Post-initialization operation.

Implements Summer.Batch.Common.Factory.IInitializationPostOperations.

RepeatStatus Summer.Batch.Extra.Sort.SortTasklet.Execute ( StepContribution  contribution,
ChunkContext  chunkContext 
)

Configures a Sorter<T> and executes it.

Parameters
contributionignored
chunkContextignored
Returns
RepeatStatus.Finished

Implements Summer.Batch.Core.Step.Tasklet.ITasklet.

Property Documentation

Encoding Summer.Batch.Extra.Sort.SortTasklet.Encoding
getset

The encoding of the input files. Default is System.Text.Encoding.Default.

int Summer.Batch.Extra.Sort.SortTasklet.HeaderSize
getset

The size of the header.

string Summer.Batch.Extra.Sort.SortTasklet.Include
getset

The include configuration card

IList<IResource> Summer.Batch.Extra.Sort.SortTasklet.Input
getset

The input resources.

string Summer.Batch.Extra.Sort.SortTasklet.Inrec
getset

The inrec configuration card

long Summer.Batch.Extra.Sort.SortTasklet.MaxInMemorySize
getset

The maximum size (in MB) of a file for it to be sorted in memory. Default is 100MB.

string Summer.Batch.Extra.Sort.SortTasklet.Omit
getset

The omit configuration card

string Summer.Batch.Extra.Sort.SortTasklet.Outfils
getset

Configuration cards for outfils, separated by semi-colons.

IList<IResource> Summer.Batch.Extra.Sort.SortTasklet.Output
getset

The output resource.

string Summer.Batch.Extra.Sort.SortTasklet.Outrec
getset

The outrec configuration card

int Summer.Batch.Extra.Sort.SortTasklet.RecordLength
getset

The length of the records for fixed-length block records.

string Summer.Batch.Extra.Sort.SortTasklet.Separator
getset

The separator for separated variable length records.

bool Summer.Batch.Extra.Sort.SortTasklet.SkipDuplicates
getset

Whether duplicates should be skipped or kept.

string Summer.Batch.Extra.Sort.SortTasklet.SortCard
getset

The sort configuration card

Encoding Summer.Batch.Extra.Sort.SortTasklet.SortEncoding
getset

The encoding to use when sorting, if different from Encoding. Default is null.

string Summer.Batch.Extra.Sort.SortTasklet.Sum
getset

The sum configuration card


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