public class DatasetSearchRequest extends FacetedSearchRequest<DatasetSearchParameter>
FacetedSearchRequest.FacetParameters
SearchRequest.QueryField
Pageable.OffsetLimitParameters
Constructor and Description |
---|
DatasetSearchRequest() |
DatasetSearchRequest(long offset,
int limit) |
DatasetSearchRequest(Pageable page) |
Modifier and Type | Method and Description |
---|---|
void |
addContinentFilter(Continent continent)
Filters dataset by a continent of the geospatial coverage.
|
void |
addCountryFilter(Country country)
Filters dataset by a country of the geospatial coverage.
|
void |
addDecadeFilter(int decade)
Filters datasets by their temporal coverage broken down to decades.
|
void |
addHostingOrgFilter(UUID orgKey) |
void |
addKeywordFilter(String keyword)
Filters datasets by a keyword given in EML or as simple, public tags.
|
void |
addKeywordFilter(Tag keyword)
Filters dataset by a tag.
|
void |
addProjectIdentifier(String identifier) |
void |
addPublishingCountryFilter(Country country)
Filters dataset by the owning organizations country.
|
void |
addPublishingOrgFilter(UUID orgKey) |
void |
addSubTypeFilter(DatasetSubtype subtype) |
void |
addTaxonKey(int taxonKey) |
void |
addTypeFilter(DatasetType type) |
void |
addYear(int year) |
Integer |
getHighlightContext() |
void |
setHighlightContext(Integer highlightContext) |
addFacetPage, addFacets, getFacetLimit, getFacetMinCount, getFacetOffset, getFacetPage, getFacetPages, getFacets, isMultiSelectFacets, setFacetLimit, setFacetMinCount, setFacetOffset, setFacetPages, setFacets, setMultiSelectFacets
addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, addParameter, getHighlightFields, getParameters, getQ, getQFields, getSpellCheckCount, isHighlight, isSpellCheck, setHighlight, setHighlightFields, setParameters, setQ, setQFields, setSpellCheck, setSpellCheckCount, toString
addOffset, copyPagingValues, equals, getLimit, getOffset, hashCode, setLimit, setOffset
public DatasetSearchRequest()
public DatasetSearchRequest(Pageable page)
public DatasetSearchRequest(long offset, int limit)
public Integer getHighlightContext()
public void setHighlightContext(Integer highlightContext)
public void addPublishingCountryFilter(Country country)
public void addCountryFilter(Country country)
country
- appearing in geospatial coveragepublic void addContinentFilter(Continent continent)
continent
- appearing in geospatial coveragepublic void addDecadeFilter(int decade)
decade
- the decade given as a 4 digit integerpublic void addHostingOrgFilter(UUID orgKey)
public void addKeywordFilter(String keyword)
keyword
- a plain keyword e.g. created by Tag.toString()public void addKeywordFilter(Tag keyword)
keyword
- given as a tagpublic void addPublishingOrgFilter(UUID orgKey)
public void addSubTypeFilter(DatasetSubtype subtype)
public void addTypeFilter(DatasetType type)
public void addProjectIdentifier(String identifier)
public void addTaxonKey(int taxonKey)
public void addYear(int year)
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.