Index

A C D E F G H I L M N O P R S T W 
All Classes and Interfaces|All Packages|Constant Field Values

A

addFilter(GLSearchFilter) - Method in class globus.glsearch.GLSearch
Adds filter to search.
ADDRESS - Static variable in annotation interface globus.glsearch.GLSearch.TagSetMask
Address tags
addTag(String) - Method in class globus.glsearch.GLSearchFilter
Adds tag to search filter
addTagHash(int) - Method in class globus.glsearch.GLSearchFilter
Adds a tag using its hash.
addTags(List<String>) - Method in class globus.glsearch.GLSearchFilter
Adds additional tags to search filter
ALL - Static variable in annotation interface globus.glsearch.GLSearch.AddressStyle
All address information
ALL - Static variable in annotation interface globus.glsearch.GLSearch.TagSetMask
All Tags
ALT_NAME - Static variable in annotation interface globus.glsearch.GLSearch.TagSetMask
Alt name tags
Autocomplete - Static variable in annotation interface globus.glsearch.GLSearchRequestType
Autocomplete suggestion request.

C

cancel() - Method in class globus.glsearch.GLSearch
Cancels asynchronous search operations started for this GLSearch instance.
cancel(long) - Static method in class globus.glsearch.GLSearchRequest
categories - Variable in class globus.glsearch.GLSearchRequest
Optional GLSearch category identifiers, for example "cafe" or "restaurant".
category - Variable in class globus.glsearch.GLSearchDisplayInfo
Category of the object.
center - Variable in class globus.glsearch.GLSearchRequest
Search center used for result ranking.
close() - Method in class globus.glsearch.GLSearchDisplayInfo
Closes the native title, secondary text, and category values owned by this display info.
Collate(long, String, String) - Static method in class globus.glsearch.GLSearch
Compare to string with collator
CreateCollator() - Static method in class globus.glsearch.GLSearch
Creates ICU collator with strength set to Primary.
CreateNumericCollator() - Static method in class globus.glsearch.GLSearch
Creates ICU collator with strength set to Primary and numeric collation is ON.
createWithCategory(GLSearchCategory) - Static method in class globus.glsearch.GLSearchFilter
Creates a filter that matches objects of a specific category.
createWithQuery(String) - Static method in class globus.glsearch.GLSearchFilter
Creates a filter that searches objects for the given query.
createWithQuery(String, int) - Static method in class globus.glsearch.GLSearchFilter
Creates a filter that searches for query inside predefined tag sets.
createWithQueryAndTag(String, String) - Static method in class globus.glsearch.GLSearchFilter
Creates a filter that searches for query inside a single tag.

D

DestroyCollator(long) - Static method in class globus.glsearch.GLSearch
Destroys a collator handle created by GLSearch.CreateCollator() or GLSearch.CreateNumericCollator().
DestroyWords(long) - Static method in class globus.glsearch.GLSearch
Destroy native object returned by GLSearch#PrepareWords(long, String[]).

E

EMPTY - Static variable in annotation interface globus.glsearch.GLSearch.TagSetMask
Empty
equals(Object) - Method in class globus.glsearch.GLSearchCategory
 
equals(Object) - Method in class globus.glsearch.GLSearchRequest
 
EXACT - Static variable in annotation interface globus.glsearch.GLSearch.MatchType
Whole phrase is equal to query

F

fillObjectCategory(GLMapVectorObject) - Method in class globus.glsearch.GLSearchCategory
Fills category information for a vector object using its tags.
FillSearchCategory(GLMapVectorObjectList) - Static method in class globus.glsearch.GLSearch
Detects categories for the provided vector objects (in-place).
findByIconName(String) - Method in class globus.glsearch.GLSearchCategories
Finds a category by its icon name.
findByIdentifier(String) - Method in class globus.glsearch.GLSearchCategories
Finds a category by its stable identifier.
findByName(String) - Method in class globus.glsearch.GLSearchCategories
Finds a category by its name.
FindWords(long, String, long) - Static method in class globus.glsearch.GLSearch
Split string into words.

G

GetAddress(GLMapVectorObject, int, GLMapLocaleSettings) - Static method in class globus.glsearch.GLSearch
Formats an address string for the given object.
getChilds() - Method in class globus.glsearch.GLSearchCategory
Retrieves the child categories of this category.
getCustomObjectCategory(Object) - Method in interface globus.glsearch.GLSearch.CustomObjectInfoCallback
Category of custom object
getCustomObjectLocation(Object) - Method in interface globus.glsearch.GLSearch.CustomObjectInfoCallback
Location of custom object
GetDisplayInfo(GLMapVectorObject, GLMapLocaleSettings) - Static method in class globus.glsearch.GLSearch
Builds display data (title, secondary line, types, category) for a search result row.
getIconName() - Method in class globus.glsearch.GLSearchCategory
Retrieves the icon name of the category.
getIdentifier() - Method in class globus.glsearch.GLSearchCategory
Retrieves the stable category identifier used by online search APIs.
getParent() - Method in class globus.glsearch.GLSearchCategory
Retrieves the parent category of this category.
getRefObject() - Method in class globus.glsearch.GLSearchCategory
Retrieves the reference object that matches this category.
GetSearchCategory(GLMapVectorObject) - Static method in class globus.glsearch.GLSearch
Detects category for a vector object.
getShared() - Static method in class globus.glsearch.GLSearchCategories
Shared categories.
getStartedWith(String[], GLMapLocaleSettings) - Method in class globus.glsearch.GLSearchCategories
Finds categories that start with the given words.
getTop() - Method in class globus.glsearch.GLSearchCategories
Retrieves the top-level categories.
globus.glsearch - package globus.glsearch
Offline search APIs for finding objects in downloaded maps and public v1 online search models.
GLSearch - Class in globus.glsearch
Offline search APIs for objects stored in downloaded maps.
GLSearch() - Constructor for class globus.glsearch.GLSearch
Default constructor
GLSearch.AddressStyle - Annotation Interface in globus.glsearch
Style of address
GLSearch.CustomObjectInfoCallback - Interface in globus.glsearch
Callbacks for custom objects
GLSearch.MatchType - Annotation Interface in globus.glsearch
Match type
GLSearch.ResultsCallback - Interface in globus.glsearch
Callback that provides information for custom objects for search.
GLSearch.TagSetMask - Annotation Interface in globus.glsearch
Predefined set of tags
GLSearchCategories - Class in globus.glsearch
Holds a set of GLSearchCategory instances used to rank search results by priority.
GLSearchCategory - Class in globus.glsearch
GLSearchCategory holds information about category that can be displayed to user.
GLSearchDisplayInfo - Class in globus.glsearch
Display data for a search result row.
GLSearchFilter - Class in globus.glsearch
A filter that narrows down results returned by GLSearch.
GLSearchRequest - Class in globus.glsearch
Request model for GLSearch.
GLSearchRequest(int, String) - Constructor for class globus.glsearch.GLSearchRequest
Creates a search request from a type and text; center, limit, locales, and categories keep their defaults (no ranking center — global — and no category filter).
GLSearchRequest(int, String, MapGeoPoint, int, String[], String[]) - Constructor for class globus.glsearch.GLSearchRequest
Creates a search request with a ranking center.
GLSearchRequest.ResultsCallback - Interface in globus.glsearch
Callback invoked when an online or offline request finishes.
GLSearchRequestType - Annotation Interface in globus.glsearch
Online GLSearch request endpoint.

H

hashCode() - Method in class globus.glsearch.GLSearchCategory
 
hashCode() - Method in class globus.glsearch.GLSearchRequest
 

I

Initialize(Context) - Static method in class globus.glsearch.GLSearch
Initializes search resources.

L

limit - Variable in class globus.glsearch.GLSearchRequest
Maximum number of results.
LoadMergedRelationLines(GLMapRelation, boolean, GLMapInfo) - Static method in class globus.glsearch.GLSearch
Loads all line members from a relation and merges them into a multiline object.
LOCAL - Static variable in annotation interface globus.glsearch.GLSearch.AddressStyle
[Street], [House number]
locales - Variable in class globus.glsearch.GLSearchRequest
Ordered locale codes, for example {"be", "ru", "en", "native"}.
LocalizedAddressNames(GLMapVectorObject, GLMapLocaleSettings) - Static method in class globus.glsearch.GLSearch
Returns all localized address names associated with the object.
localizedName(GLMapLocaleSettings) - Method in class globus.glsearch.GLSearchCategory
Returns name of the category according language priority settings.

M

MapObjectNearPoint(GLMapViewRenderer, float, float, double) - Static method in class globus.glsearch.GLSearch
Returns a map object near a screen point.
MatchedCategoryTags(GLMapVectorObject) - Static method in class globus.glsearch.GLSearch
Returns tags that define the object's matched category.
merge(MapPoint, GLMapVectorObjectList, List<Object>, GLSearch.CustomObjectInfoCallback) - Static method in class globus.glsearch.GLSearch
Merge search results with custom objects

N

NAME - Static variable in annotation interface globus.glsearch.GLSearch.TagSetMask
Name tags
Nearest(double, double, double, List<GLSearchFilter>) - Static method in class globus.glsearch.GLSearch
Finds the nearest object to the specified geographic location.

O

onError(GLMapError) - Method in interface globus.glsearch.GLSearchRequest.ResultsCallback
Called when the request or response parsing fails.
onResult(GLMapVectorObjectList) - Method in interface globus.glsearch.GLSearchRequest.ResultsCallback
Called when parsed vector objects are ready.
onResults(GLMapVectorObjectList) - Method in interface globus.glsearch.GLSearch.ResultsCallback
Called when the search is finished.

P

PrepareWords(long, String[]) - Static method in class globus.glsearch.GLSearch
Prepares words for collation.

R

REGION - Static variable in annotation interface globus.glsearch.GLSearch.AddressStyle
[City], [Country]
REGION - Static variable in annotation interface globus.glsearch.GLSearch.TagSetMask
Region tags
RelationsNearPoint(GLMapViewRenderer, MapPoint, double, GLSearchFilter[]) - Static method in class globus.glsearch.GLSearch
Searches for relations near a point on the map.

S

search() - Method in class globus.glsearch.GLSearch
Performs search synchronously
Search - Static variable in annotation interface globus.glsearch.GLSearchRequestType
Full place search request.
searchAsync(GLSearch.ResultsCallback) - Method in class globus.glsearch.GLSearch
Starts an asynchronous search.
secondaryText - Variable in class globus.glsearch.GLSearchDisplayInfo
Short address context displayed below the title.
setBBox(GLMapBBox) - Method in class globus.glsearch.GLSearch
Sets the bounding box where the search will be performed.
setCenter(MapPoint) - Method in class globus.glsearch.GLSearch
Sets center of search.
setLimit(int) - Method in class globus.glsearch.GLSearch
Sets maximum number of results to fetch from map
setLocaleSettings(GLMapLocaleSettings) - Method in class globus.glsearch.GLSearch
Sets locale settings that used to sort results by importance.
setMatchType(int) - Method in class globus.glsearch.GLSearchFilter
Sets how the query string should be matched against object values.
setNeedEnclosingAreas(boolean) - Method in class globus.glsearch.GLSearch
Enables loading enclosing areas that are required for address formatting.
setObjectTypes(int) - Method in class globus.glsearch.GLSearch
Set object types
setTiles(long[]) - Method in class globus.glsearch.GLSearch
Adds tile hashes to narrow the search area.
SplitByWords(String) - Static method in class globus.glsearch.GLSearch
Splits a string into words using ICU root rules.
startOffline(GLSearchRequest.ResultsCallback) - Method in class globus.glsearch.GLSearchRequest
Starts the same request against downloaded offline maps.
startOnline(GLSearchRequest.ResultsCallback) - Method in class globus.glsearch.GLSearchRequest
Starts the request against the online search service.
STREET_REGION - Static variable in annotation interface globus.glsearch.GLSearch.AddressStyle
Local + Region

T

text - Variable in class globus.glsearch.GLSearchRequest
User query text.
title - Variable in class globus.glsearch.GLSearchDisplayInfo
Primary row text.
type - Variable in class globus.glsearch.GLSearchRequest
Request type: search or autocomplete.
types - Variable in class globus.glsearch.GLSearchDisplayInfo
Result types, for example ["poi", "cafe"].

W

WORD - Static variable in annotation interface globus.glsearch.GLSearch.MatchType
Whole word is equal to query
WORD_START - Static variable in annotation interface globus.glsearch.GLSearch.MatchType
Start of the word is equal to query
A C D E F G H I L M N O P R S T W 
All Classes and Interfaces|All Packages|Constant Field Values