edu.ucsb.nceas.metacat
Class QueryResultTableBuilder
java.lang.Object
java.util.TimerTask
edu.ucsb.nceas.metacat.QueryResultTableBuilder
- All Implemented Interfaces:
- java.lang.Runnable
public class QueryResultTableBuilder
- extends java.util.TimerTask
QueryResutlTableBuilder is class to build xml_queryresult table during metacat initialization.
xml_querytable is a db table to store query returnfiled value. It is a cache of resultset and
peformance optimization approach to replace xml_index and xml_node tables. In metacat 1.8.0,
xml_queryresult table is built during the first time of query hitting metacat. So first time search
will take longer time since this search involves xml_index and xml_node tables. In order to
decrease the first query search time, this class will build the xml_querytable during the metacat
intialization base on some metacat common clients' query , e.g. kepler, morpho, esa, knb, nceas,
sanparks' regestiry.
|
Method Summary |
void |
run()
Builds the result table base on the given docid list and returnfields |
| Methods inherited from class java.util.TimerTask |
cancel, scheduledExecutionTime |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
run
public void run()
- Builds the result table base on the given docid list and returnfields
- Specified by:
run in interface java.lang.Runnable- Specified by:
run in class java.util.TimerTask
Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.