|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.terrier.structures.indexing.singlepass.RunIteratorFactory org.terrier.structures.indexing.singlepass.FileRunIteratorFactory
public class FileRunIteratorFactory
Creates FileRunIterators, using the specificed filenames as the run data files, and the specified class as the type of the postings in the run files
Field Summary |
---|
Fields inherited from class org.terrier.structures.indexing.singlepass.RunIteratorFactory |
---|
numberOfFields |
Constructor Summary | |
---|---|
FileRunIteratorFactory(java.lang.String[][] _files,
java.lang.Class<? extends PostingInRun> _postingClass,
int numFields)
constructor |
Method Summary | |
---|---|
RunIterator |
createRunIterator(int runNumber)
Return a RunIterator for the specified runNumber |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileRunIteratorFactory(java.lang.String[][] _files, java.lang.Class<? extends PostingInRun> _postingClass, int numFields)
_files
- _postingClass
- numFields
- Method Detail |
---|
public RunIterator createRunIterator(int runNumber) throws java.lang.Exception
createRunIterator
in class RunIteratorFactory
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |