MCPcopy Create free account
hub / github.com/apache/nutch / getFields

Method getFields

src/java/org/apache/nutch/indexer/CleaningJob.java:68–74  ·  view source on GitHub ↗
(Job job)

Source from the content-addressed store, hash-verified

66 }
67
68 public Collection<WebPage.Field> getFields(Job job) {
69 Configuration conf = job.getConfiguration();
70 Collection<WebPage.Field> columns = new HashSet<WebPage.Field>(FIELDS);
71 IndexCleaningFilters filters = new IndexCleaningFilters(conf);
72 columns.addAll(filters.getFields());
73 return columns;
74 }
75
76 public static class CleanMapper extends
77 GoraMapper<String, WebPage, String, WebPage> {

Callers 1

runMethod · 0.95

Calls 2

getFieldsMethod · 0.95
getConfigurationMethod · 0.45

Tested by

no test coverage detected