(Job job)
| 125 | } |
| 126 | |
| 127 | private static Collection<WebPage.Field> getFields(Job job) { |
| 128 | Configuration conf = job.getConfiguration(); |
| 129 | Collection<WebPage.Field> columns = new HashSet<WebPage.Field>(FIELDS); |
| 130 | IndexingFilters filters = new IndexingFilters(conf); |
| 131 | columns.addAll(filters.getFields()); |
| 132 | ScoringFilters scoringFilters = new ScoringFilters(conf); |
| 133 | columns.addAll(scoringFilters.getFields()); |
| 134 | return columns; |
| 135 | } |
| 136 | |
| 137 | @Override |
| 138 | public Map<String, Object> run(Map<String, Object> args) throws Exception { |
no test coverage detected