|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.internal.core.index.IndexerOutput
public class IndexerOutput
An indexerOutput is used by an indexer to add documents and word references to an inMemoryIndex. It keeps track of the document being indexed and add the word references to this document (so you do not need to precise the document each time you add a word).
| Field Summary | |
|---|---|
protected IDocument |
document
|
protected InMemoryIndex |
index
|
protected IndexedFile |
indexedFile
|
| Constructor Summary | |
|---|---|
IndexerOutput(InMemoryIndex index)
IndexerOutput constructor comment. |
|
| Method Summary | |
|---|---|
void |
addDocument(IDocument document)
Adds the given document to the inMemoryIndex. |
void |
addRef(char[] word)
Adds a reference to the given word to the inMemoryIndex. |
void |
addRef(java.lang.String word)
Adds a reference to the given word to the inMemoryIndex. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected InMemoryIndex index
protected IndexedFile indexedFile
protected IDocument document
| Constructor Detail |
|---|
public IndexerOutput(InMemoryIndex index)
| Method Detail |
|---|
public void addDocument(IDocument document)
addDocument in interface IIndexerOutputpublic void addRef(char[] word)
addRef in interface IIndexerOutputpublic void addRef(java.lang.String word)
addRef in interface IIndexerOutput
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||