- cleanupResources
Frees this sorter's in-memory data structures and cleans up its spill files.
- create
- getPeakMemoryUsedBytes
Return the peak memory used so far, in bytes.
- getSortedIterator
Returns a sorted iterator. It is the caller's responsibility to call
`cleanupResources()` after cons
- spill
Sort and spill the current records in response to memory pressure.
- insertRecord
Write a record to the sorter.
- getSortTimeNanos
- closeCurrentPage
Marks the current page as no-more-space-available, and as a result, either
allocate a new page or sp
- createWithExistingInMemorySorter
- insertKVRecord
Write a key-value record to the sorter. The key and value will be put together
in-memory, using the
- merge
Merges another UnsafeExternalSorters into this one, the other one will be
emptied.
- <init>