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

Method getMinorCode

src/java/org/apache/nutch/storage/ParseStatus.java:139–141  ·  view source on GitHub ↗

Gets the value of the 'minorCode' field. Minor parsing status' including SUCCESS_OK - Successful parse devoid of anomalies or issues, SUCCESS_REDIRECT - Parsed content contains a directive to redirect to another URL. The target URL can be retrieved from the arguments., FAILED_EXCEPTION - Parsing fai

()

Source from the content-addressed store, hash-verified

137 * Gets the value of the 'minorCode' field.
138 * Minor parsing status' including SUCCESS_OK - Successful parse devoid of anomalies or issues, SUCCESS_REDIRECT - Parsed content contains a directive to redirect to another URL. The target URL can be retrieved from the arguments., FAILED_EXCEPTION - Parsing failed. An Exception occured which may be retrieved from the arguments., FAILED_TRUNCATED - Parsing failed. Content was truncated, but the parser cannot handle incomplete content., FAILED_INVALID_FORMAT - Parsing failed. Invalid format e.g. the content may be corrupted or of wrong type., FAILED_MISSING_PARTS - Parsing failed. Other related parts of the content are needed to complete parsing. The list of URLs to missing parts may be provided in arguments. The Fetcher may decide to fetch these parts at once, then put them into Content.metadata, and supply them for re-parsing., FAILED_MISING_CONTENT - Parsing failed. There was no content to be parsed - probably caused by errors at protocol stage. */
139 public java.lang.Integer getMinorCode() {
140 return minorCode;
141 }
142
143 /**
144 * Sets the value of the 'minorCode' field.

Callers 4

mapMethod · 0.95
processSitemapParseMethod · 0.95
processMethod · 0.95
toStringMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected