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

Method size

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

Get the number of elements in the bag, both in memory and on disk. @return number of elements in the bag

()

Source from the content-addressed store, hash-verified

84 * @return number of elements in the bag
85 */
86 long size();
87
88 /**
89 * Find out if the bag is sorted.

Callers 15

testTopExecMethod · 0.95
testTopAlgebraicMethod · 0.95
testCountNoWindowMethod · 0.95
testSumDoubleMethod · 0.95
testSumByteArrayMethod · 0.95
testSumFloatMethod · 0.95
testSumIntMethod · 0.95
testSumLongMethod · 0.95
testSumBigDecimalMethod · 0.95

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 15

testTopExecMethod · 0.76
testTopAlgebraicMethod · 0.76
testCountNoWindowMethod · 0.76
testSumDoubleMethod · 0.76
testSumByteArrayMethod · 0.76
testSumFloatMethod · 0.76
testSumIntMethod · 0.76
testSumLongMethod · 0.76
testSumBigDecimalMethod · 0.76