grs.pds.dhd
Class HendDerivedRecord
java.lang.Object
|
+--grs.pds.BasePdsRecord
|
+--grs.pds.TimeSeriesRecord
|
+--grs.pds.dhd.HendDerivedRecord
- All Implemented Interfaces:
- PdsRecord
- public class HendDerivedRecord
- extends TimeSeriesRecord
TODO add main method
- Author:
- guym
| 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 |
sc_recv_time
public long sc_recv_time
utc
public Date utc
latitude
public float latitude
longitude
public float longitude
mars_sol
public float mars_sol
pixel_duration
public short pixel_duration
sd_bgrd_rate
public float sd_bgrd_rate
sd_counts
public long sd_counts
md_bgrd_rate
public float md_bgrd_rate
md_counts
public long md_counts
ld_bgrd_rate
public float ld_bgrd_rate
ld_counts
public long ld_counts
sc_low_bgrd_rate
public float sc_low_bgrd_rate
sc_low_counts
public long sc_low_counts
sc_high_bgrd_rate
public float sc_high_bgrd_rate
sc_high_counts
public long sc_high_counts
sun_activity
public byte sun_activity
HendDerivedRecord
public HendDerivedRecord(ResultSet rs)
throws SQLException
HendDerivedRecord
public HendDerivedRecord(DataInputStream in)
throws ParseException,
IOException
createSelectString
public static String[] createSelectString(String schema)
createInsertString
public static String[] createInsertString(String schema)
getUTC
public Date getUTC()
- Specified by:
getUTC in class TimeSeriesRecord
writeTo
public void writeTo(DataOutputStream out)
throws IOException
- Description copied from class:
BasePdsRecord
- Subclasses will override this method to write data to a binary or text
stream.
- Specified by:
writeTo in class BasePdsRecord
- Parameters:
out - OutputStream to write data to.
- Throws:
IOException - Error writing to stream.
prepareInsert
public int prepareInsert(PreparedStatement pstmt)
throws SQLException
- Description copied from class:
BasePdsRecord
- Bind the values to a prepared statement, for inserting into schema.
Should return the number of values bound.
- Specified by:
prepareInsert in class BasePdsRecord
SQLException
getSCLK
public long getSCLK()
- Description copied from class:
TimeSeriesRecord
- Get the spacecraft time that this record was observed on.
- Specified by:
getSCLK in class TimeSeriesRecord
- Returns:
- time in ticks.
toStringArray
public String[] toStringArray()
- Description copied from class:
BasePdsRecord
- Subclasses will override this to display records as text, suitable
for display.
- Specified by:
toStringArray in class BasePdsRecord
- Returns:
- Array of column values.
2001 Mars Odyssey Gamma Ray Spectrometer Team