grs.pds.edr
Class ChanEdrTestRecord
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--grs.pds.PdsTestRecord
|
+--grs.pds.edr.ChanEdrTestRecord
- All Implemented Interfaces:
- Cloneable, Map, PdsRecord, Serializable
- public class ChanEdrTestRecord
- extends PdsTestRecord
Unit test wrapper for the ChanEdrRecord class. Subclasses Hashtable (through
PdsTestRecord). Hash keys will be field (column) names. Two methods of
creating an instance are provided: from a ResultSet (the "real" instance),
and from a ChanEdrRecord (the "test" instance).
- See Also:
- Serialized Form
| 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 |
| 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 |
ChanEdrTestRecord
public ChanEdrTestRecord(ChanEdrRecord rec)
- Create a test record from a chan record.
- Parameters:
rec - channelized record
ChanEdrTestRecord
public ChanEdrTestRecord(ResultSet rs,
boolean pds)
throws SQLException
- Create a test record from a result set.
- Parameters:
rs - JDBC result setpds - true if from pds schema
- Throws:
SQLException - Error reading from result set.- See Also:
ChanEdrRecord.createSelectString(java.lang.String)
ChanEdrTestRecord
public ChanEdrTestRecord(DataInputStream in)
throws IOException,
SpiceException
- Create a test record from the Query Tool's engineering/channelized
output type.
- Parameters:
in - Stream from output file.
- Throws:
IOException - Error reading from stream.
SpiceException - Error in time conversion.
2001 Mars Odyssey Gamma Ray Spectrometer Team