|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.internal.core.index.IndexedFile
public class IndexedFile
An indexedFile associates a number to a document path, and document properties. It is what we add into an index, and the result of a query.
| Field Summary | |
|---|---|
protected int |
fileNumber
|
protected java.lang.String |
path
|
| Constructor Summary | |
|---|---|
IndexedFile(IDocument document,
int fileNum)
|
|
IndexedFile(java.lang.String path,
int fileNum)
|
|
| Method Summary | |
|---|---|
int |
compareTo(IndexedFile other)
|
int |
footprint()
Returns the size of the indexedFile. |
int |
getFileNumber()
Returns the file number. |
java.lang.String |
getPath()
Returns the path. |
void |
setFileNumber(int fileNumber)
Sets the file number. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String path
protected int fileNumber
| Constructor Detail |
|---|
public IndexedFile(java.lang.String path,
int fileNum)
public IndexedFile(IDocument document,
int fileNum)
| Method Detail |
|---|
public int footprint()
public int getFileNumber()
public java.lang.String getPath()
getPath in interface IQueryResultpublic void setFileNumber(int fileNumber)
public java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(IndexedFile other)
compareTo in interface java.lang.Comparable<IndexedFile>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||