| Package | Description |
|---|---|
| com.bericotech.clavin.gazetteer.query | |
| com.bericotech.clavin.resolver.multipart |
| Modifier and Type | Method and Description |
|---|---|
QueryBuilder |
QueryBuilder.addAdminCodes()
Convenience method to add the
FeatureCodes representing administrative
divisions to the restriction list. |
QueryBuilder |
QueryBuilder.addAncestryAdminCodes()
Convenience method to add the
FeatureCodes representing administrative
divisions that can be part of the ancestry tree to the restriction list. |
QueryBuilder |
QueryBuilder.addCityCodes()
Convenience method to add the
FeatureCodes representing cities and other
populated places to the restriction list. |
QueryBuilder |
QueryBuilder.addCountryCodes()
Convenience method to add the
FeatureCodes representing countries
and similar top-level political entities to the restriction list. |
QueryBuilder |
QueryBuilder.addFeatureCodes(Collection<FeatureCode> codes)
Add the provided
FeatureCodes to the set of query constraints. |
QueryBuilder |
QueryBuilder.addFeatureCodes(FeatureCode code)
Add the provided
FeatureCode to the set of query constraints. |
QueryBuilder |
QueryBuilder.addFeatureCodes(FeatureCode code1,
FeatureCode... codes)
Add the provided
FeatureCodes to the set of query constraints. |
QueryBuilder |
QueryBuilder.addParentIds(Collection<Integer> ids)
Add the provided parent IDs to the set of query constraints.
|
QueryBuilder |
QueryBuilder.addParentIds(Integer id)
Add the provided parent ID to the set of query constraints.
|
QueryBuilder |
QueryBuilder.addParentIds(Integer id1,
Integer... ids)
Add the provided parent IDs to the set of query constraints.
|
QueryBuilder |
QueryBuilder.clearFeatureCodes()
Convenience method to clear any existing
FeatureCode restrictions. |
QueryBuilder |
QueryBuilder.clearParentIds()
Convenience method to remove all current parent ID restrictions.
|
QueryBuilder |
QueryBuilder.featureCodes(Set<FeatureCode> codes)
Set the
FeatureCodes that will be used to constraint the query results; replacing any
previously configured IDs. |
QueryBuilder |
QueryBuilder.filterDupes(boolean filter)
Indicate whether or not this builder should filter duplicate results.
|
QueryBuilder |
QueryBuilder.fuzzyMode(FuzzyMode mode)
Configure the fuzzy matching mode.
|
QueryBuilder |
QueryBuilder.includeHistorical(boolean incHist)
Indicate whether or not this builder includes historical locations in the search results.
|
QueryBuilder |
QueryBuilder.location(LocationOccurrence loc)
Set the location to query for.
|
QueryBuilder |
QueryBuilder.location(String locName)
Convenience method to create a LocationOccurrence at position 0 for
the given location name.
|
QueryBuilder |
QueryBuilder.maxResults(int max)
Set the maximum number of search results.
|
QueryBuilder |
QueryBuilder.parentIds(Set<Integer> ids)
Set the parent IDs that will be used to constraint the query results; replacing any
previously configured IDs.
|
QueryBuilder |
QueryBuilder.removeAdminCodes()
Convenience method to remove the
FeatureCodes representing administrative
divisions from the restriction list. |
QueryBuilder |
QueryBuilder.removeAncestryAdminCodes()
Convenience method to remove the
FeatureCodes representing administrative
divisions that can be part of the ancestry tree from the restriction list. |
QueryBuilder |
QueryBuilder.removeCityCodes()
Convenience method to remove the
FeatureCodes representing cities and other
populated places from the restriction list. |
QueryBuilder |
QueryBuilder.removeCountryCodes()
Convenience method to remove the
FeatureCodes representing countries
and similar top-level political entities from the restriction list. |
QueryBuilder |
QueryBuilder.removeFeatureCodes(Collection<FeatureCode> codes)
Remove the provided
FeatureCodes from the set of query constraints. |
QueryBuilder |
QueryBuilder.removeFeatureCodes(FeatureCode code)
Remove the provided
FeatureCode from the set of query constraints. |
QueryBuilder |
QueryBuilder.removeFeatureCodes(FeatureCode code1,
FeatureCode... codes)
Remove the provided
FeatureCode from the set of query constraints. |
QueryBuilder |
QueryBuilder.removeParentIds(Collection<Integer> ids)
Remove the provided parent IDs from the set of query constraints.
|
QueryBuilder |
QueryBuilder.removeParentIds(Integer id)
Remove the provided parent ID from the set of query constraints.
|
QueryBuilder |
QueryBuilder.removeParentIds(Integer id1,
Integer... ids)
Remove the provided parent IDs from the set of query constraints.
|
| Modifier and Type | Method and Description |
|---|---|
QueryBuilder |
SearchLevel.apply(QueryBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
QueryBuilder |
SearchLevel.apply(QueryBuilder builder) |
Copyright © 2012–2014 Berico Technologies. All rights reserved.