|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object QueryProcessor.Utils.RegIdx.WindsurfRegIndexMtreeCursors
public class WindsurfRegIndexMtreeCursors
Class performing region index scans for Windsurf using M-tree.
Constructor Summary | |
---|---|
WindsurfRegIndexMtreeCursors(java.lang.String filename)
Basic constructor. |
Method Summary | |
---|---|
boolean |
closeCursors()
Deletes the previously created region cursors for sorted access. |
boolean |
createCursors(WindsurfImage query)
Creates cursors for performing sorted access on the index using all the regions of a given image. |
int |
getDistances()
Returns the number of distance computations performed by the region index. |
ScoredResultImage |
getNextResult(int index)
Performs a sorted access on one of the existing region cursors. |
boolean |
resetDistances()
Resets the number of distance computations performed by the region index. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WindsurfRegIndexMtreeCursors(java.lang.String filename)
filename
- The absolute path of the file containing the M-tree index.Method Detail |
---|
public boolean createCursors(WindsurfImage query)
query
- The query image.
true
if the cursors were successfully created, false
otherwise.public boolean closeCursors()
true
if the cursors were successfully deleted, false
otherwise.public ScoredResultImage getNextResult(int index)
index
- The cursor that should perform the sorted access.
public boolean resetDistances()
true
if the count was successfully reset, false
otherwise.public int getDistances()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |