grs.pds.edr
Class PositionedEdrTestRecord

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--grs.pds.PdsTestRecord
                    |
                    +--grs.pds.edr.PositionedEdrTestRecord
All Implemented Interfaces:
Cloneable, Map, PdsRecord, Serializable
Direct Known Subclasses:
GammaEdrTestRecord, HendEdrTestRecord, NsEdrTestRecord

public abstract class PositionedEdrTestRecord
extends PdsTestRecord

Contains hashtable mapping keys, which are column names common to all PositionedEdrRecords, to their values.

Version:
$Revision: 1.2 $
Author:
$Author: guym $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class grs.pds.PdsTestRecord
PdsTimeFormat, UNAVAILABLE_STRING
 
Fields inherited from interface grs.pds.PdsRecord
GAMMA_CHANNELS, int10, int12, int2, int3, logger, MESSAGE_LENGTH, NS_MAX_EVENTS, PEF_COMMANDS, prec10, prec12, prec13, prec14, prec15, prec16, prec17, prec5, prec6, prec7, PROFILE_LENGTH, PROFILE_SIZE, PULSER_CHANNELS, QUERY_DATE_FMT, SC_ID
 
Constructor Summary
PositionedEdrTestRecord()
          Create a new positioned test record.
PositionedEdrTestRecord(PositionedEdrRecord rec)
          Create a test record from a Positioned record.
PositionedEdrTestRecord(ResultSet rs, boolean pds)
          Create a test record from a result set.
 
Method Summary
 void readSpatialHeader(DataInputStream in)
          Parse spatial data from the query tool's spatial types.
 
Methods inherited from class grs.pds.PdsTestRecord
equals, md5sum, readCommonHeader
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PositionedEdrTestRecord

public PositionedEdrTestRecord()
Create a new positioned test record.


PositionedEdrTestRecord

public PositionedEdrTestRecord(PositionedEdrRecord rec)
Create a test record from a Positioned record.

Parameters:
rec - gamma, hend or ns record.

PositionedEdrTestRecord

public PositionedEdrTestRecord(ResultSet rs,
                               boolean pds)
                        throws SQLException
Create a test record from a result set.

Parameters:
rs - JDBC ResultSet
Throws:
SQLException - Error reading from result set.
Method Detail

readSpatialHeader

public void readSpatialHeader(DataInputStream in)
                       throws IOException
Parse spatial data from the query tool's spatial types.

Parameters:
in - Stream from query tool binary output (big-endian)
Throws:
IOException - Error reading from stream.
SpiceException - Error from SPICE


2001 Mars Odyssey Gamma Ray Spectrometer Team