public class OffNadirIOList extends TargetList implements SearchInterface
SearchInterface
for the "Off Nadir IO" target list.
Suggestions that appear in this list are suggestions that have not been
deleted (TARGET_NAME = NONE) or retired (DATE_SUCCESS = NULL), and must not
have been planned. Stereo targets are restricted from this list, but no
other restrictions are applied.TargetList
TargetList.ColumnComparatorSettings, TargetList.ConfigurationParameter, TargetList.ListTypes, TargetList.OrderingFields, TargetList.TableAliases
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
Class identifier
|
DEBUG_EVENTS_PROPERTY, DEBUG_INIT_PROPERTY, DEBUG_LSUBS_FILTER_PROPERTY, DEBUG_NEARBY_LIST_PROPERTY, DEBUG_PRIORITIES_PROPERT, DEBUG_QUERY_PROPERTY, DEBUG_RED9_SHIFTS_PROPERTY, DEBUG_SEASONAL_PROPERTY, DEFAULT_CONFIGURATION_FILE, DEFAULT_MAXIMUM_LATITUDE, DEFAULT_MAXIMUM_LONGITUDE, DEFAULT_MAXIMUM_LSUBS, DEFAULT_MINIMUM_LATITUDE, DEFAULT_MINIMUM_LONGITUDE, DEFAULT_MINIMUM_LSUBS, DEFAULT_ROW_LIMIT
IGNORE_FILTER_UPDATES_NAME, MAX_LATITUDE_FIELDNAME, MAX_LONG_FIELDNAME, MAX_LSUBS_FIELDNAME, MIN_LATITUDE_FIELDNAME, MIN_LONG_FIELDNAME, MIN_LSUBS_FIELDNAME, PRIORITY_LISTNAME, ROW_LIMIT_ENABLENAME, ROW_LIMIT_FIELDNAME, SCIENCE_THEME_LISTNAME, SPECIAL_TARGETS_ADDED_PROPERTY, SPECIAL_TARGETS_REMOVED_PROPERTY, THEME_COUNT_FIELDNAME
Constructor and Description |
---|
OffNadirIOList()
Construct the target list using the default configuration file defined
in the TargetList class.
|
OffNadirIOList(PIRL.Configuration.Configuration configuration)
Construct a new target list from a Configuration.
|
OffNadirIOList(java.lang.String config_file)
Construct the target list from a configuration file.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector<java.lang.Integer> |
addedSuggestionsNotFound()
If any of the suggestions ID's found in the list passed to the
SearchInterface.addSuggestions(Vector) were not found, they will be in the Vector
of Integers returned by this method. |
java.lang.String |
constructSearchQuery()
Constructs the base search query specific to the list being generated.
|
java.lang.String |
constructSecondaryQuery()
Constructs the secondary query that will query for special target
requests to add to the search list.
|
java.util.Vector<java.util.Vector<java.lang.String>> |
executeAddedSuggestionsSearch(java.util.Vector<java.util.Vector<java.lang.String>> dataTable)
This method executes a secondary database search for special targets.
|
java.util.Vector<java.util.Vector<java.lang.String>> |
executeSearch()
A method executing a database search for suggested targets, and will
usually execure the query returned by the
SearchInterface.constructSearchQuery()
method. |
static void |
main(java.lang.String[] args)
The main method is used entirely for debugging purposes at this time, this
is not currently a usable means for extracting target list information.
|
TargetList.ListTypes |
precedence()
The precedence value for the list.
|
java.util.Vector<java.util.Vector<java.lang.String>> |
updateAddedSuggestions(java.util.Vector<java.util.Vector<java.lang.String>> dataTable)
Update the input dataTable with additional targets.
|
addNearbyObservationsColumn, addSeasonalColumn, addSuggestions, applyScienceThemeCountRestrictions, enableRowLimits, exportSelectedPriorites, findMissingSuggestions, getAddedSuggestions, getAddedSuggestionsSQL, getColumnNames, getColumnOrderingSQL, getCoordinateRestrictionsSQL, getDatabase, getLsubSRestrictionsSQL, getMaximumLatitude, getMaximumLongitude, getMaximumLs, getMinimumLatitude, getMinimumLongitude, getMinimumLs, getMissingSuggestionWarnings, getPrioritySQL, getRetrieveNearestNeighborList, getRowLimit, getScienceThemesList, getScienceThemesRestricionsSQL, getSeasonalData, getSelectedPriorities, getSelectedScienceThemes, getSuggestionData, getSuggestionsPerThemeLimit, hasRowLimitsEnabled, initializeScienceThemesList, initOrderingSettings, initPriorities, isInList, itemStateChanged, prepareDbQueries, propertyChange, setColumnNames, setConfiguration, setListType, setMaximumLatitude, setMaximumLongitude, setMaximumLs, setMinimumLatitude, setMinimumLongitude, setMinimumLs, setPriorities, setRetrieveNearestNeighborList, setRowLimit, setScienceThemes, setSuggestionsPerThemeLimit, setTabConfig, stateChanged, valueChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addSuggestions, enableRowLimits, getAddedSuggestions, getMaximumLatitude, getMaximumLongitude, getMaximumLs, getMinimumLatitude, getMinimumLongitude, getMinimumLs, getRetrieveNearestNeighborList, getRowLimit, getSelectedPriorities, getSelectedScienceThemes, getSuggestionsPerThemeLimit, hasRowLimitsEnabled, initOrderingSettings, setMaximumLatitude, setMaximumLongitude, setMaximumLs, setMinimumLatitude, setMinimumLongitude, setMinimumLs, setPriorities, setRetrieveNearestNeighborList, setRowLimit, setScienceThemes, setSuggestionsPerThemeLimit
public static final java.lang.String ID
public OffNadirIOList() throws PIRL.Configuration.Configuration_Exception, PIRL.Database.Database_Exception
PIRL.Configuration.Configuration_Exception
- if an error occurs while loading the default
configuration filePIRL.Database.Database_Exception
- if a database connection cannot be establishedTargetList
public OffNadirIOList(java.lang.String config_file) throws PIRL.Configuration.Configuration_Exception, PIRL.Database.Database_Exception
config_file
- - A string containing the path to a suitable configuration
filePIRL.Configuration.Configuration_Exception
- if an error occurs while loading the default
configuration filePIRL.Database.Database_Exception
- if a database connection cannot be establishedpublic OffNadirIOList(PIRL.Configuration.Configuration configuration) throws PIRL.Database.Database_Exception, PIRL.Configuration.Configuration_Exception
configuration
- - A Configuration containing database connection parametersPIRL.Database.Database_Exception
- if a database connection cannot be establishedPIRL.Configuration.Configuration_Exception
- if an error occurs while loading the default
configuration filepublic TargetList.ListTypes precedence()
TargetList
precedence
in class TargetList
TargetList.ListTypes
public java.lang.String constructSearchQuery()
SearchInterface
Note: Many of the setters defined in this search interface are search criteria that are used to construct this query.
constructSearchQuery
in interface SearchInterface
constructSearchQuery
in class TargetList
SearchInterface.setMinimumLongitude(double)
,
SearchInterface.setMaximumLongitude(double)
,
SearchInterface.setMinimumLatitude(double)
,
SearchInterface.setMaximumLatitude(double)
,
SearchInterface.setMinimumLs(double)
,
SearchInterface.setMaximumLs(double)
,
SearchInterface.setPriorities(Vector)
,
SearchInterface.setScienceThemes(Vector)
,
SearchInterface.setSuggestionsPerThemeLimit(int)
,
SearchInterface.enableRowLimits(boolean)
,
SearchInterface.setRowLimit(int)
,
SearchInterface.setRetrieveNearestNeighborList(boolean)
public java.lang.String constructSecondaryQuery()
SearchInterface
constructSecondaryQuery
in interface SearchInterface
constructSecondaryQuery
in class TargetList
public java.util.Vector<java.util.Vector<java.lang.String>> executeSearch() throws PIRL.Database.Database_Exception
SearchInterface
SearchInterface.constructSearchQuery()
method.
Note that many of the getter and setters defined as part of the search
interface are used as parameters to define the search criteriaexecuteSearch
in interface SearchInterface
executeSearch
in class TargetList
PIRL.Database.Database_Exception
- if an error occurs during query executionpublic java.util.Vector<java.util.Vector<java.lang.String>> executeAddedSuggestionsSearch(java.util.Vector<java.util.Vector<java.lang.String>> dataTable) throws PIRL.Database.Database_Exception
SearchInterface
executeAddedSuggestionsSearch
in interface SearchInterface
dataTable
- - the dataTable to add the suggestion records toPIRL.Database.Database_Exception
public java.util.Vector<java.util.Vector<java.lang.String>> updateAddedSuggestions(java.util.Vector<java.util.Vector<java.lang.String>> dataTable) throws PIRL.Database.Database_Exception
SearchInterface
updateAddedSuggestions
in interface SearchInterface
dataTable
- - the dataTable to updatePIRL.Database.Database_Exception
- if an error occurs during the database interactionpublic java.util.Vector<java.lang.Integer> addedSuggestionsNotFound()
SearchInterface
SearchInterface.addSuggestions(Vector)
were not found, they will be in the Vector
of Integers returned by this method.addedSuggestionsNotFound
in interface SearchInterface
addedSuggestionsNotFound
in class TargetList
SearchInterface.addSuggestions(Vector)
list
that weren't included in the final list.SearchInterface.addSuggestions(Vector)
public static void main(java.lang.String[] args)
args
- Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona