MCPcopy Create free account
hub / github.com/apache/pig / clear

Method clear

src/org/apache/pig/data/DataBag.java:126–126  ·  view source on GitHub ↗

Clear out the contents of the bag, both on disk and in memory. Any attempts to read after this is called will produce undefined results.

()

Source from the content-addressed store, hash-verified

124 * results.
125 */
126 void clear();
127
128 /**
129 * This is used by FuncEvalSpec.FakeDataBag.

Callers 15

visitMethod · 0.95
readLineMethod · 0.65
readFieldMethod · 0.65
getNextMethod · 0.65
readFieldMethod · 0.65
getNextMethod · 0.65
accumulateMethod · 0.65
writeMethod · 0.65

Implementers 8

OverBagcontrib/piggybank/java/src/main/java/o
AccumulativeBagsrc/org/apache/pig/data/AccumulativeBa
SingleTupleBagsrc/org/apache/pig/data/SingleTupleBag
NonSpillableDataBagsrc/org/apache/pig/data/NonSpillableDa
LimitedSortedDataBagsrc/org/apache/pig/data/LimitedSortedD
ReadOnceBagsrc/org/apache/pig/data/ReadOnceBag.ja
AvroBagWrappersrc/org/apache/pig/impl/util/avro/Avro
DefaultAbstractBagsrc/org/apache/pig/data/DefaultAbstrac

Calls

no outgoing calls

Tested by 11

testStringFuncsMethod · 0.52
testInverseMapMethod · 0.52
testSortUDF1Method · 0.52
testInternalSortedBagMethod · 0.52
resetMethod · 0.52
reduceMethod · 0.52