public void writeOutput ( DataPipe cr ) { try { context . write ( NullWritable . get ( ) , new Text ( cr . getPipeDelimited ( outTemplate ) ) ) ; } catch ( Exception e ) { throw new RuntimeException ( "Exception occurred while writing to Context" , e ) ; } }
Write to a context . Uses NullWritable for key so that only value of output string is ultimately written