@InterfaceAudience.Private @InterfaceStability.Evolving public abstract class SelfSpillBag extends DefaultAbstractBag
Modifier and Type | Class and Description |
---|---|
static class |
SelfSpillBag.MemoryLimits
This class helps to compute the number of entries that should be held in
memory so that memory consumption is limited.
|
DefaultAbstractBag.BagDelimiterTuple, DefaultAbstractBag.EndBag, DefaultAbstractBag.StartBag
Modifier and Type | Field and Description |
---|---|
protected SelfSpillBag.MemoryLimits |
memLimit |
endBag, MAX_SPILL_FILES, mContents, mSize, mSpillFiles, startBag
Constructor and Description |
---|
SelfSpillBag(int bagCount) |
SelfSpillBag(int bagCount,
float percent) |
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
protected SelfSpillBag.MemoryLimits memLimit
Copyright © 2007-2017 The Apache Software Foundation