|
Mobios v0.91 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mobios.index.RangeQuery
public class RangeQuery
A range query. Given (q,r), the results should be all database points x such that d(x,q) <= r
Constructor Summary | |
---|---|
RangeQuery(IndexObject center,
double radius)
Initializes the range query object |
|
RangeQuery(IndexObject center,
double radius,
int listSize)
|
Method Summary | |
---|---|
int |
getMaxDistanceListSize()
|
IndexObject |
getQueryObject()
Return a reference to the query object |
double |
getRadius()
Returns the search radius of the proximity query. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RangeQuery(IndexObject center, double radius)
center
- the Object
that serves as the query objectradius
- the search radius of the range query.public RangeQuery(IndexObject center, double radius, int listSize)
Method Detail |
---|
public IndexObject getQueryObject()
getQueryObject
in interface Query
public final double getRadius()
public int getMaxDistanceListSize()
|
Mobios v0.91 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |