@InterfaceAudience.Private @InterfaceStability.Evolving public abstract class SortedSpillBag extends SelfSpillBag
SelfSpillBag.MemoryLimits
DefaultAbstractBag.BagDelimiterTuple, DefaultAbstractBag.EndBag, DefaultAbstractBag.StartBag
memLimit
endBag, 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, write
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isDistinct, isSorted, iterator
forEach, spliterator
public long proactive_spill(Comparator<Tuple> comp)
comp
- Comparator to sort contents of mContentsCopyright © 2007-2017 The Apache Software Foundation