|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--index.Query
Basic class for queries
| Field Summary | |
static int |
ALLLAYERS
all layers. |
static int |
ALLSCALES
all scales. |
static int |
QUERY
normal query. |
protected int |
queryNum
number of queries. |
static int |
REMOVEALL
remove all. |
static int |
REMOVEEXACT
remove exact. |
protected int |
resultNum
number of results. |
protected CPUTimer |
timer
query time. |
static int |
UPDATEALL
update all. |
static int |
UPDATEEXACT
update exact. |
| Constructor Summary | |
Query()
|
|
| Method Summary | |
int |
getQueryNum()
Returns the number of queries. |
long |
getQueryTime()
Returns the query time. |
int |
getResultNum()
Returns the number of results. |
void |
resetCounters()
Resets the counters and timers. |
void |
setCounters(int queryNum,
int resultNum,
long time)
Sets the counters and timers. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int ALLLAYERS
public static final int ALLSCALES
public static final int QUERY
public static final int REMOVEEXACT
public static final int REMOVEALL
public static final int UPDATEEXACT
public static final int UPDATEALL
protected int queryNum
protected int resultNum
protected CPUTimer timer
| Constructor Detail |
public Query()
| Method Detail |
public int getQueryNum()
public long getQueryTime()
public int getResultNum()
public void resetCounters()
public void setCounters(int queryNum,
int resultNum,
long time)
queryNum - number of queriesresultNum - numer of resultstime - query time in msec
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||