A tasklet that sorts files. Uses legacy sort cards. More...
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< IResource > | Input [get, set] |
The input resources. More... | |
IList< IResource > | Output [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
-
contribution ignored chunkContext ignored
- Returns
- RepeatStatus.Finished
Implements Summer.Batch.Core.Step.Tasklet.ITasklet.
Property Documentation
|
getset |
The encoding of the input files. Default is System.Text.Encoding.Default.
|
getset |
The size of the header.
|
getset |
The include configuration card
|
getset |
The input resources.
|
getset |
The inrec configuration card
|
getset |
The maximum size (in MB) of a file for it to be sorted in memory. Default is 100MB.
|
getset |
The omit configuration card
|
getset |
Configuration cards for outfils, separated by semi-colons.
|
getset |
The output resource.
|
getset |
The outrec configuration card
|
getset |
The length of the records for fixed-length block records.
|
getset |
The separator for separated variable length records.
|
getset |
Whether duplicates should be skipped or kept.
|
getset |
The sort configuration card
|
getset |
The encoding to use when sorting, if different from Encoding. Default is null
.
|
getset |
The sum configuration card
The documentation for this class was generated from the following file:
- Summer.Batch.Extra/Sort/SortTasklet.cs