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

Method append

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

Append a field to a tuple. This method is not efficient as it may force copying of existing data in order to grow the data structure. Whenever possible you should construct your Tuple with TupleFactory#newTuple(int) and then fill in the values with #set(int, Object), rather than con

(Object val)

Source from the content-addressed store, hash-verified

133 * @param val Object to append to the tuple.
134 */
135 void append(Object val);
136
137 /**
138 * Determine the size of tuple in memory. This is used by data bags

Callers 15

testMinMethod · 0.95
testMaxMethod · 0.95
testMaxComplexKeyMethod · 0.95
testMinComplexKeyMethod · 0.95
testMinStringeyMethod · 0.95
testBiggerBagMethod · 0.95
testBiggerTupleMethod · 0.95
testMaxAccumulatedMethod · 0.95
toBagMethod · 0.95
toTupleMethod · 0.95
testBadInputMethod · 0.95

Implementers 2

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

Calls

no outgoing calls

Tested by 15

testMinMethod · 0.76
testMaxMethod · 0.76
testMaxComplexKeyMethod · 0.76
testMinComplexKeyMethod · 0.76
testMinStringeyMethod · 0.76
testBiggerBagMethod · 0.76
testBiggerTupleMethod · 0.76
testMaxAccumulatedMethod · 0.76
toBagMethod · 0.76
toTupleMethod · 0.76
testBadInputMethod · 0.76