grs.pds
Class GammaBinned

java.lang.Object
  |
  +--grs.pds.TimeQuery
        |
        +--grs.pds.GammaBinned

public class GammaBinned
extends TimeQuery

Author:
guym

Field Summary
static int SPECTRUM_SIZE
          Number of bytes in the calibrated spectrum
 
Fields inherited from class grs.pds.TimeQuery
TIME_OF_LCH, TIME_OF_MAP, TIME_OF_MOI
 
Constructor Summary
GammaBinned(Connection conn, DataOutputStream out)
          Constructor for GammaBinned.
GammaBinned(Connection conn, String type)
          Constructor for GammaBinned.
 
Method Summary
 int getChannelBins()
           
 int getTimeBins()
           
static void main(String[] args)
           
 int query(long start, long stop)
          Subclasses will provide this method implementation.
 void setChannelBins(int channelBins)
           
 void setTimeBins(int timeBins)
           
 
Methods inherited from class grs.pds.TimeQuery
getSchema, query
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SPECTRUM_SIZE

public static final int SPECTRUM_SIZE
Number of bytes in the calibrated spectrum

See Also:
Constant Field Values
Constructor Detail

GammaBinned

public GammaBinned(Connection conn,
                   DataOutputStream out)
Constructor for GammaBinned.

Parameters:
conn - Database Connecction

GammaBinned

public GammaBinned(Connection conn,
                   String type)
Constructor for GammaBinned.

Parameters:
conn -
type -
Method Detail

setTimeBins

public void setTimeBins(int timeBins)

setChannelBins

public void setChannelBins(int channelBins)

getChannelBins

public int getChannelBins()

getTimeBins

public int getTimeBins()

query

public int query(long start,
                 long stop)
          throws IOException,
                 SQLException
Description copied from class: TimeQuery
Subclasses will provide this method implementation. Should return the number of rows selected.

Specified by:
query in class TimeQuery
IOException
SQLException
See Also:
TimeQuery.query(long, long)

main

public static void main(String[] args)


2001 Mars Odyssey Gamma Ray Spectrometer Team