|
||||||||||
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 String |
path
|
Constructor Summary | |
---|---|
IndexedFile(IDocument document,
int fileNum)
|
|
IndexedFile(String path,
int fileNum)
|
Method Summary | |
---|---|
int |
compareTo(IndexedFile other)
|
int |
footprint()
Returns the size of the indexedFile. |
int |
getFileNumber()
Returns the file number. |
String |
getPath()
Returns the path. |
void |
setFileNumber(int fileNumber)
Sets the file number. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String path
protected int fileNumber
Constructor Detail |
---|
public IndexedFile(String path, int fileNum)
public IndexedFile(IDocument document, int fileNum)
Method Detail |
---|
public int footprint()
public int getFileNumber()
public String getPath()
getPath
in interface IQueryResult
public void setFileNumber(int fileNumber)
public String toString()
toString
in class Object
public int compareTo(IndexedFile other)
compareTo
in interface Comparable<IndexedFile>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |