|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.labs.minion.indexer.postings.OccurrenceImpl
com.sun.labs.minion.indexer.postings.DocOccurrence
public class DocOccurrence
An occurrence to use for document dictionaries. Such an occurrence includes the entry from the main dictionary that is to be added to a document vector.
| Field Summary | |
|---|---|
protected Entry |
e
The dictionary entry for the term that is occurring. |
protected int[] |
fields
The ids of the field in which the occurrence was found. |
| Fields inherited from class com.sun.labs.minion.indexer.postings.OccurrenceImpl |
|---|
count, id |
| Constructor Summary | |
|---|---|
DocOccurrence()
|
|
| Method Summary | |
|---|---|
Entry |
getEntry()
|
int[] |
getFields()
|
void |
setEntry(Entry e)
Adds an entry to this occurrence, so that we can track the entries that make up a vector for faster dumping. |
void |
setFields(int[] fields)
|
| Methods inherited from class com.sun.labs.minion.indexer.postings.OccurrenceImpl |
|---|
getCount, getID, setCount, setID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Entry e
protected int[] fields
| Constructor Detail |
|---|
public DocOccurrence()
| Method Detail |
|---|
public void setEntry(Entry e)
public Entry getEntry()
public int[] getFields()
public void setFields(int[] fields)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||