Package gov.usgs.earthquake.indexer
Class ProductDetailQuery
java.lang.Object
gov.usgs.earthquake.indexer.SearchQuery
gov.usgs.earthquake.indexer.ProductDetailQuery
- All Implemented Interfaces:
Comparable<SearchQuery>
Search for one product.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor making a SearchQuery object with PRODUCT_DETAIL as the method -
Method Summary
Methods inherited from class gov.usgs.earthquake.indexer.SearchQuery
equals, getError, getProductIndexQuery, getSearchQuery, getType, setError
-
Constructor Details
-
ProductDetailQuery
Constructor making a SearchQuery object with PRODUCT_DETAIL as the method- Parameters:
query
- a ProductIndexQuery
-
-
Method Details
-
getResult
Description copied from class:SearchQuery
Get the result associated with a specific query type.- Specified by:
getResult
in classSearchQuery
- Returns:
- the result, or null if the search has not yet executed.
-
setResult
- Parameters:
product
- list to set
-
compareTo
- Specified by:
compareTo
in interfaceComparable<SearchQuery>
- Overrides:
compareTo
in classSearchQuery
-