| 108 | } |
| 109 | |
| 110 | public static final class ScoreReducer extends Reducer<Text,Text,Text,Text> { |
| 111 | @Override |
| 112 | public void setup(final Context context) throws IOException, InterruptedException { |
| 113 | final String idealHeader = context.getConfiguration().get(MapRedScore.IDEALHEADERFIELD); |
| 114 | context.write(new Text("File.Offset"),new Text(idealHeader)); |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | |
| 119 | public boolean score(final double[] x, final Path pathOut) throws IOException, InterruptedException, ClassNotFoundException { |
nothing calls this directly
no outgoing calls
no test coverage detected