public class FtsSearch extends Object
| Constructor and Description |
|---|
FtsSearch(FtsQuery ftsQuery)
Construct an FtsSearch object
|
| Modifier and Type | Method and Description |
|---|---|
FtsQuery |
getFtsQuery()
Returns the fast text search query engine
|
android.database.Cursor |
getWord(String rowId,
String[] columns,
int limit)
Returns a Cursor positioned at the word specified by rowId
|
android.database.Cursor |
getWordMatches(String query,
String[] columns,
int limit)
Returns a Cursor over all words that match the given query
|
public FtsSearch(FtsQuery ftsQuery)
ftsQuery - The fast text search query enginepublic android.database.Cursor getWord(String rowId, String[] columns, int limit)
rowId - ID of word to retrievecolumns - The columns to include, if null then all are includedlimit - Maximum number of results to return, or zero if no limitpublic android.database.Cursor getWordMatches(String query, String[] columns, int limit)
query - The string to search forcolumns - The columns to include, if null then all are includedlimit - Maximum number of results to return, or zero if no limitpublic FtsQuery getFtsQuery()
This documentation is licensed by Andrew Bowley under the GPLv3 License.