Send the given input Tuple to the managed executable. @param t input Tuple @throws IOException
(Tuple t)
| 67 | * @throws IOException |
| 68 | */ |
| 69 | public void putNext(Tuple t) throws IOException { |
| 70 | if (newSerializer != null) { |
| 71 | WritableByteArray buf = newSerializer.serializeToBytes(t); |
| 72 | out.write(buf.getData(), 0, buf.getLength()); |
| 73 | } else { |
| 74 | out.write(serializer.serialize(t)); |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | /** |
| 79 | * Close the <code>InputHandler</code> since there is no more input |
nothing calls this directly
no test coverage detected