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

Method setBatchId

src/java/org/apache/nutch/storage/WebPage.java:807–810  ·  view source on GitHub ↗

Sets the value of the 'batchId' field. A batchId that this WebPage is assigned to. WebPage's are fetched in batches, called fetchlists. Pages are partitioned but can always be associated and fetched alongside pages of similar value (within a crawl cycle) based on batchId. @param value the value to s

(java.lang.CharSequence value)

Source from the content-addressed store, hash-verified

805 * A batchId that this WebPage is assigned to. WebPage's are fetched in batches, called fetchlists. Pages are partitioned but can always be associated and fetched alongside pages of similar value (within a crawl cycle) based on batchId. * @param value the value to set.
806 */
807 public void setBatchId(java.lang.CharSequence value) {
808 this.batchId = value;
809 setDirty(23);
810 }
811
812 /**
813 * Checks the dirty status of the 'batchId' field. A field is dirty if it represents a change that has not yet been written to the database.

Callers 1

reduceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected