HiRISE

HiRISE.HiReport.main
Class CtxSearch

java.lang.Object
  extended by HiRISE.HiReport.DataProvider
      extended by HiRISE.HiReport.main.AdvancedSearch<CtxSearchForm>
          extended by HiRISE.HiReport.main.CtxSearch

public class CtxSearch
extends AdvancedSearch<CtxSearchForm>

Performs a search for CTX observations based on input


Field Summary
protected static Column[] CTX_COLS
          Columns to select
static String ID
          CVS ID
 
Fields inherited from class HiRISE.HiReport.main.AdvancedSearch
doy, logger, MARS_RADIUS_KM, plot, privileged, showUnproferred, xydataset
 
Fields inherited from class HiRISE.HiReport.DataProvider
Anaglyph, CCD, Cycles, DTM, EDR, FS, Geo, HiP, HiRISE_ROOT, Jit, Mars_Years, Obs, Orbits, PAP, PDTM, PEDR, PHiP, PPL, PPL_map, PRDR, PS, PXP, RDR, RS1, RS2, SO, SOP, SOPO, SOPO_map, SOST, SOST_map, SR, ST, Tags, Web, XP
 
Constructor Summary
CtxSearch()
           
 
Method Summary
 PagedList getProducts()
          Get the collected meta-info
 String getSQL()
          Get the query string
 ResultList search(CtxSearchForm form)
          Perform the query and return the result list.
 
Methods inherited from class HiRISE.HiReport.main.AdvancedSearch
getXYDataset, setOrbitsFromCycles, setPlot, setPrivileged, setShowUnproferred, setTimeRangeFromMarsYears, setTimeRangeFromOrbits, willShowUnproferred
 
Methods inherited from class HiRISE.HiReport.DataProvider
getConnection, setConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
CVS ID

See Also:
Constant Field Values

CTX_COLS

protected static Column[] CTX_COLS
Columns to select

Constructor Detail

CtxSearch

public CtxSearch()
Method Detail

search

public ResultList search(CtxSearchForm form)
                  throws SQLException,
                         ParseException
Perform the query and return the result list.

Specified by:
search in class AdvancedSearch<CtxSearchForm>
Parameters:
form - Constraints
Returns:
observations The observations
Throws:
SQLException - Query failed
ParseException - Invalid input encountered

getSQL

public String getSQL()
Get the query string

Overrides:
getSQL in class AdvancedSearch<CtxSearchForm>
Returns:
SQL

getProducts

public PagedList getProducts()
Get the collected meta-info

Returns:
CTX product info

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona