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

Method append

src/org/apache/pig/data/DefaultTuple.java:153–156  ·  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 the newTuple(int) method and then fill in the values with set(), rather than construct it with newTuple() and a

(Object val)

Source from the content-addressed store, hash-verified

151 * Object to append to the tuple.
152 */
153 @Override
154 public void append(Object val) {
155 mFields.add(val);
156 }
157
158 /**
159 * Determine the size of tuple in memory. This is used by data bags to determine their memory size. This need not be

Callers 15

addToArrayMethod · 0.95
setUpMethod · 0.95
castToDBAMethod · 0.95
testGetNextNullInputMethod · 0.95
setUpProjFilMethod · 0.95
getNextMethod · 0.95
getNextMethod · 0.95
execMethod · 0.95
testStoreMethod · 0.95
testStoreComplexDataMethod · 0.95
setUpMethod · 0.95

Calls 1

addMethod · 0.65

Tested by 15

setUpMethod · 0.76
castToDBAMethod · 0.76
testGetNextNullInputMethod · 0.76
setUpProjFilMethod · 0.76
getNextMethod · 0.76
getNextMethod · 0.76
execMethod · 0.76
testStoreMethod · 0.76
testStoreComplexDataMethod · 0.76
setUpMethod · 0.76