public class DocumentQuery extends Query
Query.CategoryFilter, Query.CustomParameter, Query.ResultFormat
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_SORT_MODE |
static java.lang.String |
LAST_MODIFIED_SORT |
static java.lang.String |
LAST_VIEWED_SORT |
static java.lang.String |
ORDERBY
The URI parameter for how the query should be sorted, can sort by
last-modified, last-accessed, title and starred; will default to
last-modified.
|
static java.lang.String |
STARRED_SORT |
static java.lang.String |
TITLE
The URI parameter for querying the title or name of a document.
|
static java.lang.String |
TITLE_EXACT
The URI parameter for a boolean flag for whether the title should be
matched exactly (case-insensitive or sensitive depending on service).
|
static java.lang.String |
TITLE_SORT |
Constructor and Description |
---|
DocumentQuery(java.net.URL feedUrl)
Constructs a query for querying spreadsheets that you have access to.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSortMode()
Gets the sort mode
|
java.lang.String |
getTitleQuery()
Gets full-text title query.
|
boolean |
isTitleExact()
Gets whether the query should be exact (rather than keyword-based).
|
void |
setSortMode(java.lang.String orderby)
Sets the sort mode of the query.
|
void |
setTitleExact(boolean exact)
Sets whether the title match should be exact (instead of keyword-based).
|
void |
setTitleQuery(java.lang.String titleQuery)
Sets the full-text title search.
|
addCategoryFilter, addCustomParameter, appendQueryParameter, getAuthor, getCategoryFilters, getCustomParameters, getCustomParameters, getFeedUrl, getFields, getFullTextQuery, getIntegerCustomParameter, getMaxResults, getPublishedMax, getPublishedMin, getQueryUri, getResultFormat, getStartIndex, getStringCustomParameter, getUpdatedMax, getUpdatedMin, getUrl, isStrict, isValidState, setAuthor, setFields, setFullTextQuery, setIntegerCustomParameter, setMaxResults, setPublishedMax, setPublishedMin, setResultFormat, setStartIndex, setStrict, setStringCustomParameter, setUpdatedMax, setUpdatedMin
public static final java.lang.String TITLE
public static final java.lang.String TITLE_EXACT
public static final java.lang.String ORDERBY
public static final java.lang.String LAST_MODIFIED_SORT
public static final java.lang.String LAST_VIEWED_SORT
public static final java.lang.String TITLE_SORT
public static final java.lang.String STARRED_SORT
public static final java.lang.String DEFAULT_SORT_MODE
public DocumentQuery(java.net.URL feedUrl)
feedUrl
- the feed's URIpublic void setTitleQuery(java.lang.String titleQuery)
titleQuery
- the title querypublic java.lang.String getTitleQuery()
public void setTitleExact(boolean exact)
exact
- whether the results should be exactpublic boolean isTitleExact()
public void setSortMode(java.lang.String orderby)
orderby
- the sort modepublic java.lang.String getSortMode()