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

Method getFields

src/java/org/apache/nutch/crawl/GeneratorJob.java:174–179  ·  view source on GitHub ↗
(Job job)

Source from the content-addressed store, hash-verified

172 }
173
174 public Collection<WebPage.Field> getFields(Job job) {
175 Collection<WebPage.Field> fields = new HashSet<>(FIELDS);
176 fields.addAll(FetchScheduleFactory.getFetchSchedule(job.getConfiguration())
177 .getFields());
178 return fields;
179 }
180
181 /**
182 * Generates a random batch id

Callers 1

runMethod · 0.95

Calls 3

getFetchScheduleMethod · 0.95
getFieldsMethod · 0.65
getConfigurationMethod · 0.45

Tested by

no test coverage detected