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

Method getMetadata

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

Gets the value of the 'metadata' field. A multi-valued metadata container used for storing everything from structured WebPage characterists, to ad-hoc extraction and metadata augmentation for any given WebPage.

()

Source from the content-addressed store, hash-verified

773 * Gets the value of the 'metadata' field.
774 * A multi-valued metadata container used for storing everything from structured WebPage characterists, to ad-hoc extraction and metadata augmentation for any given WebPage. */
775 public java.util.Map<java.lang.CharSequence,java.nio.ByteBuffer> getMetadata() {
776 return metadata;
777 }
778
779 /**
780 * Sets the value of the 'metadata' field.

Callers 15

testRelTagFieldsMethod · 0.95
testRelTagParserMethod · 0.95
testItMethod · 0.95
parseMetaTagsMethod · 0.95
testEncodingDetectionMethod · 0.95
pageTestMethod · 0.95
testMetaHTMLParsingMethod · 0.95
testJsoupHtmlParserMethod · 0.95
testBasicFieldsMethod · 0.95
testSitemapInjectMethod · 0.95
readDbMethod · 0.95
testGuessingMethod · 0.95

Calls

no outgoing calls

Tested by 12

testRelTagFieldsMethod · 0.76
testRelTagParserMethod · 0.76
testItMethod · 0.76
parseMetaTagsMethod · 0.76
testEncodingDetectionMethod · 0.76
pageTestMethod · 0.76
testMetaHTMLParsingMethod · 0.76
testJsoupHtmlParserMethod · 0.76
testBasicFieldsMethod · 0.76
testSitemapInjectMethod · 0.76
readDbMethod · 0.76
testGuessingMethod · 0.76