Package gov.usgs.earthquake.indexer
Class ProductsSummaryQuery
java.lang.Object
gov.usgs.earthquake.indexer.SearchQuery
gov.usgs.earthquake.indexer.ProductsSummaryQuery
- All Implemented Interfaces:
Comparable<SearchQuery>
Search for multiple products.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor makes a SearchQuery of type product summary -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(SearchQuery that) Get the result associated with a specific query type.void
setResult
(List<ProductSummary> products) Methods inherited from class gov.usgs.earthquake.indexer.SearchQuery
equals, getError, getProductIndexQuery, getSearchQuery, getType, setError
-
Constructor Details
-
ProductsSummaryQuery
Constructor makes a SearchQuery of type product summary- Parameters:
query
- 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:
products
- List of ProductSummaries
-
compareTo
- Specified by:
compareTo
in interfaceComparable<SearchQuery>
- Overrides:
compareTo
in classSearchQuery
-