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

Method set

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

Set the value in a given field. This should not be called unless the tuple was constructed by TupleFactory#newTuple(int) with an argument greater than the fieldNum being passed here. This call will not automatically expand the tuple size. That is if you called {@link TupleFactory#newTuple

(int fieldNum, Object val)

Source from the content-addressed store, hash-verified

122 * the number of fields in the tuple.
123 */
124 void set(int fieldNum, Object val) throws ExecException;
125
126 /**
127 * Append a field to a tuple. This method is not efficient as it may

Callers 15

testSeekMethod · 0.95
testABSMethod · 0.95
testACOSMethod · 0.95
testASINMethod · 0.95
testATANMethod · 0.95
testATAN2Method · 0.95
testCBRTMethod · 0.95
testCEILMethod · 0.95
testcopySignMethod · 0.95
testCOSMethod · 0.95
testCOSHMethod · 0.95
testEXPMethod · 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

testSeekMethod · 0.76
testABSMethod · 0.76
testACOSMethod · 0.76
testASINMethod · 0.76
testATANMethod · 0.76
testATAN2Method · 0.76
testCBRTMethod · 0.76
testCEILMethod · 0.76
testcopySignMethod · 0.76
testCOSMethod · 0.76
testCOSHMethod · 0.76
testEXPMethod · 0.76