@Override public RangeWritable getCurrentKey() throws IOException, InterruptedException { String sKey = reader.getCurrentKey().toString(); Scanner scanner = new Scanner(sKey); return new RangeWritable(scanner.nextLong(), scanner.nextLong()); }