HiRISE

HiRISE.HiReport.uplink
Class ScienceThemeSummary

java.lang.Object
  extended by HiRISE.HiReport.DataProvider
      extended by HiRISE.HiReport.uplink.ScienceThemeSummary

public class ScienceThemeSummary
extends DataProvider

Collects data from the Science Themes and Suggested Observations tables, via their bridge (many-to-many) table.


Field Summary
static String ID
          CVS ID
 
Fields inherited from class HiRISE.HiReport.DataProvider
Anaglyph, CCD, Cycles, DTM, EDR, FS, Geo, HiP, HiRISE_ROOT, Jit, logger, 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
ScienceThemeSummary()
           
 
Method Summary
 DefaultCategoryDataset getDataset()
          Get the dataset for charting
 String getSQL()
          Return the query string used to select candidates.
 List<Map<String,Integer>> getTotals()
          Return our data collection.
 void init()
          Collect theme data.
 
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
Constructor Detail

ScienceThemeSummary

public ScienceThemeSummary()
Method Detail

init

public void init()
          throws SQLException
Collect theme data.

Throws:
SQLException - Query could not be completed as dialed

getTotals

public List<Map<String,Integer>> getTotals()
Return our data collection.

Returns:
Summary data for Science Themes.

getSQL

public String getSQL()
Return the query string used to select candidates.

Returns:
SQL

getDataset

public DefaultCategoryDataset getDataset()
Get the dataset for charting

Returns:
chart data

HiRISE

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