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

Method writeElements

src/org/apache/pig/data/SchemaTuple.java:963–967  ·  view source on GitHub ↗

This method is responsible for writing everything contained by the Tuple. Note that the base SchemaTuple class does not have an implementation (but is not abstract) so that the generated code can call this method via super without worrying about whether it is abstract or not, as there may be classes

(DataOutput out)

Source from the content-addressed store, hash-verified

961 * @throws IOException
962 */
963 protected void writeElements(DataOutput out) throws IOException {
964 boolean[] b = generatedCodeNullsArray();
965 SedesHelper.writeBooleanArray(out, b);
966 generatedCodeWriteElements(out);
967 }
968
969 protected abstract void generatedCodeWriteElements(DataOutput out) throws IOException;
970

Callers 1

writeMethod · 0.95

Calls 3

writeBooleanArrayMethod · 0.95

Tested by

no test coverage detected