QueryProcessor.Utils
Class WindsurfSortedAccessResult

java.lang.Object
  extended by QueryProcessor.Utils.SortedAccessResult
      extended by QueryProcessor.Utils.WindsurfSortedAccessResult

public class WindsurfSortedAccessResult
extends SortedAccessResult

Class representing the result of a sorted access to the region index for Windsurf.


Field Summary
 
Fields inherited from class QueryProcessor.Utils.SortedAccessResult
distance, id, index
 
Constructor Summary
WindsurfSortedAccessResult(ScoredResultImage image, int index)
          Basic constructor.
 
Method Summary
 ImageID getImageID()
          Returns the ID of the image containing the result region.
 
Methods inherited from class QueryProcessor.Utils.SortedAccessResult
getDistance, getIndex, getRegionID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindsurfSortedAccessResult

public WindsurfSortedAccessResult(ScoredResultImage image,
                                  int index)
Basic constructor.

Parameters:
image - The region obtained through sorted access.
index - Index of the requested sorted access (query region).
Method Detail

getImageID

public ImageID getImageID()
Returns the ID of the image containing the result region.

Specified by:
getImageID in class SortedAccessResult
Returns:
ID of the image containing the result region.