|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<V>
org.terrier.structures.collections.FSArrayFile<DocumentIndexEntry>
org.terrier.structures.FSADocumentIndex
org.terrier.structures.FSAFieldDocumentIndex
public class FSAFieldDocumentIndex
Fields document index stored as a fixed size array
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.terrier.structures.FSADocumentIndex |
|---|
FSADocumentIndex.FSADocumentIndexIterator |
| Nested classes/interfaces inherited from class org.terrier.structures.collections.FSArrayFile |
|---|
FSArrayFile.ArrayFileIterator<V extends org.apache.hadoop.io.Writable>, FSArrayFile.ArrayFileWriter |
| Field Summary |
|---|
| Fields inherited from class org.terrier.structures.FSADocumentIndex |
|---|
docLengths, lastDocid, lastEntry, logger |
| Fields inherited from class org.terrier.structures.collections.FSArrayFile |
|---|
dataFile, dataFilename, entrySize, numberOfEntries, USUAL_EXTENSION, valueFactory |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
FSAFieldDocumentIndex(Index index,
java.lang.String structureName)
Construct an instance of the class with |
|
| Method Summary | |
|---|---|
int[] |
getFieldLengths(int docid)
Get the length of each field |
protected void |
initialise(Index index,
java.lang.String structureName)
|
| Methods inherited from class org.terrier.structures.FSADocumentIndex |
|---|
getDocumentEntry, getDocumentLength, getNumberOfDocuments |
| Methods inherited from class org.terrier.structures.collections.FSArrayFile |
|---|
close, get, iterator, size, writeFSArrayFile |
| Methods inherited from class java.util.AbstractList |
|---|
add, add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.terrier.structures.DocumentIndex |
|---|
getDocumentEntry, getDocumentLength, getNumberOfDocuments |
| Methods inherited from interface java.util.List |
|---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
| Constructor Detail |
|---|
public FSAFieldDocumentIndex(Index index,
java.lang.String structureName)
throws java.io.IOException
index - structureName -
java.io.IOException| Method Detail |
|---|
protected void initialise(Index index,
java.lang.String structureName)
throws java.io.IOException
initialise in class FSADocumentIndexjava.io.IOException
public int[] getFieldLengths(int docid)
throws java.io.IOException
getFieldLengths in interface FieldDocumentIndexjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||