com.fasterxml.sort.std
Class TextFileSorter
java.lang.Object
com.fasterxml.sort.Sorter<byte[]>
com.fasterxml.sort.std.TextFileSorter
- All Implemented Interfaces:
- SortingState
public class TextFileSorter
- extends Sorter<byte[]>
Basic Sorter implementation that operates on text line input.
|
Field Summary |
static long |
MAX_HEAP_FOR_PRESORT
Let's limit maximum memory used for pre-sorting when invoked from command-line to be
256 megs |
static long |
MIN_HEAP_FOR_PRESORT
Also just in case our calculations are wrong, require 10 megs for pre-sort anyway
(if invoked from CLI) |
| Methods inherited from class com.fasterxml.sort.Sorter |
_calculateRoundCount, _checkForCancel, _checkForCancel, _merge, _merge, _rawComparator, _writeAll, _writePresorted, cancel, cancel, cancel, getNumberOfPreSortFiles, getNumberOfSortRounds, getPhase, getSortRound, isCompleted, isPreSorting, isSorting, merge, presort, sort, sort |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_HEAP_FOR_PRESORT
public static final long MAX_HEAP_FOR_PRESORT
- Let's limit maximum memory used for pre-sorting when invoked from command-line to be
256 megs
- See Also:
- Constant Field Values
MIN_HEAP_FOR_PRESORT
public static final long MIN_HEAP_FOR_PRESORT
- Also just in case our calculations are wrong, require 10 megs for pre-sort anyway
(if invoked from CLI)
- See Also:
- Constant Field Values
TextFileSorter
public TextFileSorter()
TextFileSorter
public TextFileSorter(SortConfig config)
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2011. All Rights Reserved.