public abstract class Indexable extends Object implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
Indexable() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getContent()
Returns the content of the document.
|
String |
getDisplayContent()
Returns the content of the document for display to a human.
|
String |
getDisplayContentType()
Returns the type of the display content, per IANA MIME Media Type (e.g., "text/html").
|
abstract String |
getDocid()
Returns the globally-unique String identifier of the document within the collection.
|
public abstract String getDocid()
public abstract String getContent()
public String getDisplayContent()
public String getDisplayContentType()
http://www.iana.org/assignments/media-types/index.htmlCopyright © 2015. All rights reserved.