(Tuple input)
| 81 | } |
| 82 | |
| 83 | @Override |
| 84 | public Boolean exec(Tuple input) throws IOException { |
| 85 | if (lookupTable == null){ |
| 86 | init(); |
| 87 | } |
| 88 | String s; |
| 89 | try { |
| 90 | s = input.get(0).toString(); |
| 91 | } catch (ExecException e) { |
| 92 | IOException ioe = new IOException("Error getting data"); |
| 93 | ioe.initCause(e); |
| 94 | throw ioe; |
| 95 | } |
| 96 | |
| 97 | boolean matched = lookupTable.containsKey(s); |
| 98 | |
| 99 | return(matched); |
| 100 | } |
| 101 | } |
nothing calls this directly
no test coverage detected