- 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.