public class HiLiner
extends java.lang.Object
implements edu.asu.jmars.layer.obs.mro.MroCustomData
Modifier and Type | Class and Description |
---|---|
static class |
HiLiner.CrosshairsColor |
static class |
HiLiner.CrosshairsStyle |
static class |
HiLiner.Footprint
A HiRISE CCD footprint.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CROSSHAIRS_COLOR |
static java.lang.String |
CROSSHAIRS_STYLE |
static HiLiner.CrosshairsColor |
DEFAULT_CROSSHAIRS_COLOR |
static HiLiner.CrosshairsStyle |
DEFAULT_CROSSHAIRS_STYLE |
static java.lang.String |
ID
Class identification name with source code version and date.
|
Constructor and Description |
---|
HiLiner(Observation_Record_Broker broker)
Creates a HiLiner from a specified observation record broker.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties(java.lang.String ptfRecordText)
Retrieves custom properties for the requested PTF observation.
|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getProperties(java.lang.String[] ptfRecordTextArray)
Retrieves custom properties for each requested PTF observation.
|
protected void |
updateCache(Observation_Record observation) |
public static final java.lang.String ID
public static final java.lang.String CROSSHAIRS_STYLE
public static final HiLiner.CrosshairsStyle DEFAULT_CROSSHAIRS_STYLE
public static final java.lang.String CROSSHAIRS_COLOR
public static final HiLiner.CrosshairsColor DEFAULT_CROSSHAIRS_COLOR
public HiLiner(Observation_Record_Broker broker)
broker
- the broker responsible for retrieving observation records
from HiCat.public java.util.Map<java.lang.String,java.lang.Object> getProperties(java.lang.String ptfRecordText) throws edu.asu.jmars.layer.obs.mro.RestartableException
If the HiLiner's database connection is not open, it will be opened for the retrieval of data for the requested observation. If opened by this method, it will be closed by this method.
getProperties
in interface edu.asu.jmars.layer.obs.mro.MroCustomData
ptfRecordText
- an entire PTF record in text format; the team ID
is the usual primary key, but the entire PTF record is passed to
maximize query context.edu.asu.jmars.layer.obs.mro.RestartableException
- if a problem occurs that does not preclude
additional attempts to retrieve the data.public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getProperties(java.lang.String[] ptfRecordTextArray) throws edu.asu.jmars.layer.obs.mro.RestartableException
If the HiLiner's database connection is not open, it will be opened and held open for the bulk retrieval of data for each requested observation. If opened by this method, it will be closed by this method.
getProperties
in interface edu.asu.jmars.layer.obs.mro.MroCustomData
ptfRecordTextArray
- an array of PTF records in text format; the
team ID is the usual primary key, but the entire PTF record in the array
to maximize query context.edu.asu.jmars.layer.obs.mro.RestartableException
- if a problem occurs that does not preclude
additional attempts to retrieve the data.protected void updateCache(Observation_Record observation)
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona