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

Method loadFlatTuple

test/org/apache/pig/test/Util.java:127–132  ·  view source on GitHub ↗
(Tuple t, int[] input)

Source from the content-addressed store, hash-verified

125 // =================
126
127 static public Tuple loadFlatTuple(Tuple t, int[] input) throws ExecException {
128 for (int i = 0; i < input.length; i++) {
129 t.set(i, new Integer(input[i]));
130 }
131 return t;
132 }
133
134 static public Tuple loadTuple(Tuple t, String[] input) throws ExecException {
135 for (int i = 0; i < input.length; i++) {

Callers 2

testTupleMethod · 0.95
loadNestTupleMethod · 0.95

Calls 1

setMethod · 0.65

Tested by

no test coverage detected