|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umd.cloud9.collection.clue.ClueWarcForwardIndex
public class ClueWarcForwardIndex
| Constructor Summary | |
|---|---|
ClueWarcForwardIndex()
|
|
| Method Summary | |
|---|---|
String |
getCollectionPath()
Returns the base path of the collection. |
String |
getDocid(int docno)
Returns the docid, given the docno |
int |
getDocno(String docid)
Returns the docno, given the docid |
ClueWarcRecord |
getDocument(int docno)
Fetches the document for a given docno. |
ClueWarcRecord |
getDocument(String docid)
Fetches the document for a given docid. |
int |
getFirstDocno()
Returns the first docno in the collection. |
int |
getLastDocno()
Returns the last docno in the collection. |
void |
loadIndex(String indexFile,
String mappingDataFile)
Loads the index. |
static void |
main(String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClueWarcForwardIndex()
| Method Detail |
|---|
public void loadIndex(String indexFile,
String mappingDataFile)
throws IOException
DocumentForwardIndex
loadIndex in interface DocumentForwardIndex<ClueWarcRecord>IOExceptionpublic String getCollectionPath()
DocumentForwardIndex
getCollectionPath in interface DocumentForwardIndex<ClueWarcRecord>public ClueWarcRecord getDocument(int docno)
DocumentForwardIndex
getDocument in interface DocumentForwardIndex<ClueWarcRecord>public ClueWarcRecord getDocument(String docid)
DocumentForwardIndex
getDocument in interface DocumentForwardIndex<ClueWarcRecord>public int getDocno(String docid)
DocumentForwardIndex
getDocno in interface DocumentForwardIndex<ClueWarcRecord>public String getDocid(int docno)
DocumentForwardIndex
getDocid in interface DocumentForwardIndex<ClueWarcRecord>public int getFirstDocno()
DocumentForwardIndex
getFirstDocno in interface DocumentForwardIndex<ClueWarcRecord>public int getLastDocno()
DocumentForwardIndex
getLastDocno in interface DocumentForwardIndex<ClueWarcRecord>
public static void main(String[] args)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||