@InterfaceAudience.Private @InterfaceStability.Evolving public abstract class SortedSpillBag extends SelfSpillBag
SelfSpillBag.MemoryLimitsDefaultAbstractBag.BagDelimiterTuple, DefaultAbstractBag.EndBag, DefaultAbstractBag.StartBagmemLimitendBag, MAX_SPILL_FILES, mContents, mSize, mSpillFiles, startBag| Modifier and Type | Method and Description |
|---|---|
long |
proactive_spill(Comparator<Tuple> comp)
Sort contents of mContents and write them to disk
|
add, addAll, addAll, addAll, clear, compareTo, equals, getMemorySize, getSpillFile, hashCode, incSpillCount, incSpillCount, markSpillableIfNecessary, markStale, readFields, reportProgress, sampleContents, size, toString, warn, writeclone, finalize, getClass, notify, notifyAll, wait, wait, waitisDistinct, isSorted, iteratorforEach, spliteratorpublic long proactive_spill(Comparator<Tuple> comp)
comp - Comparator to sort contents of mContentsCopyright © 2007-2017 The Apache Software Foundation