public class FtsQueryBuilder
extends android.database.sqlite.SQLiteQueryBuilder
| Constructor and Description |
|---|
FtsQueryBuilder(int queryType,
android.net.Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
Create an FtsQueryBuilder object
|
| Modifier and Type | Method and Description |
|---|---|
android.os.CancellationSignal |
getCancellationSignal()
Returns cancellation signal
|
int |
getLimit()
Returns limit
|
String[] |
getProjection()
Returns A list of which columns to return
|
int |
getQueryType()
Returns UriMatcher type
|
String |
getSearchTerm()
Returns What to search for
|
String |
getSelection()
Returns A filter declaring which rows to return
|
String[] |
getSelectionArgs()
Returns Selection arguments for "?" components in the selection
|
String |
getSortOrder()
Returns How to order the rows
|
android.net.Uri |
getUri()
Returns Query URI received by Content Resolver
|
void |
setCancellationSignal(android.os.CancellationSignal cancellationSignal)
Set cancelationSignal
|
void |
setSortOrder(String sortOrder)
Set How to order the rows
|
void |
throwIfCanceled()
Throw exception if cancellation notification receieved
|
appendColumns, appendWhere, appendWhereEscapeString, buildQuery, buildQuery, buildQueryString, buildUnionQuery, buildUnionSubQuery, buildUnionSubQuery, getTables, query, query, query, setCursorFactory, setDistinct, setProjectionMap, setStrict, setTablespublic FtsQueryBuilder(int queryType,
android.net.Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
queryType - UriMatcher typeuri - Query URI received by Content Resolverprojection - A list of which columns to returnselection - A filter declaring which rows to returnselectionArgs - Selection arguments for "?" components in the selectionsortOrder - How to order the rowspublic int getQueryType()
public android.net.Uri getUri()
public String[] getProjection()
public String getSelection()
public String[] getSelectionArgs()
public String getSortOrder()
public void setSortOrder(String sortOrder)
sortOrder - String formatted as an SQL
ORDER BY clause (excluding the ORDER BY itself).
The default is to use the default sort order, which may be unordered.public String getSearchTerm()
public int getLimit()
public void setCancellationSignal(android.os.CancellationSignal cancellationSignal)
cancellationSignal - public android.os.CancellationSignal getCancellationSignal()
public void throwIfCanceled()
This documentation is licensed by Andrew Bowley under the GPLv3 License.