edu.umd.cloud9.collection
Class Indexable

java.lang.Object
  extended by edu.umd.cloud9.collection.Indexable
All Implemented Interfaces:
Writable
Direct Known Subclasses:
Aquaint2Document, ClueWarcRecord, MedlineCitation, PmcArticle, Spinn3rItem, TextDocument, TrecDocument, TrecWebDocument, WikipediaPage

public abstract class Indexable
extends Object
implements Writable

Interface for a document that can be indexed.


Constructor Summary
Indexable()
           
 
Method Summary
abstract  String getContent()
          Returns the content of the document.
 String getDisplayContent()
           
 String getDisplayContentType()
           
abstract  String getDocid()
          Returns the globally-unique String identifier of the document within the collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.io.Writable
readFields, write
 

Constructor Detail

Indexable

public Indexable()
Method Detail

getDocid

public abstract String getDocid()
Returns the globally-unique String identifier of the document within the collection.


getContent

public abstract String getContent()
Returns the content of the document.


getDisplayContent

public String getDisplayContent()

getDisplayContentType

public String getDisplayContentType()