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

Method getMemorySize

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

Determine the size of tuple in memory. This is used by data bags to determine their memory size. This need not be exact, but it should be a decent estimation. @return estimated memory size, in bytes.

()

Source from the content-addressed store, hash-verified

141 * @return estimated memory size, in bytes.
142 */
143 long getMemorySize();
144
145 /**
146 * Write a tuple of values into a string. The output will be the result

Callers 15

testEmptyTupleSizeMethod · 0.95
sampleContentsMethod · 0.95
getPigObjMemSizeMethod · 0.95
runMethod · 0.95
runMethod · 0.95
testEmptyBagSizeMethod · 0.65

Implementers 2

AvroTupleWrappersrc/org/apache/pig/impl/util/avro/Avro
AbstractTuplesrc/org/apache/pig/data/AbstractTuple.

Calls

no outgoing calls

Tested by 8

testEmptyTupleSizeMethod · 0.76
testEmptyBagSizeMethod · 0.52