|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.client.Query
com.google.gdata.client.spreadsheet.ListQuery
public class ListQuery
Simple class for cells-feed-specific queries.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.client.Query |
---|
Query.CategoryFilter, Query.CustomParameter, Query.ResultFormat |
Field Summary | |
---|---|
static java.lang.String |
ORDERBY
The URI parameter for sorting options. |
static java.lang.String |
ORDERBY_COLUMN
The "orderby" string for sorting by a particular column. |
static java.lang.String |
ORDERBY_POSITION
The "orderby" string for sorting by position. |
static java.lang.String |
REVERSE
The URI parameter for reversing sorted results. |
static java.lang.String |
SPREADSHEET_QUERY
The URI parameter for structured spreadsheet queries. |
Fields inherited from class com.google.gdata.client.Query |
---|
UNDEFINED |
Constructor Summary | |
---|---|
ListQuery(java.net.URL feedUrl)
Constructs a non-restrictive row-based query, given the URI of a list feed for a particular worksheet. |
Method Summary | |
---|---|
java.lang.String |
getOrderBy()
Gets the sorting query parameter. |
java.lang.String |
getSpreadsheetQuery()
Gets the structured spreadsheet query string. |
boolean |
isReverse()
Gets whether the query should be reversed. |
void |
setFullTextQuery(java.lang.String query)
Sets the full-text query. |
void |
setOrderBy(java.lang.String orderby)
Sets the sorting parameter, which can be "position", or "column:(column name)". |
void |
setReverse(boolean reverse)
Sets whether the results should be reversed, i.e. |
void |
setSortColumn(java.lang.String column)
Sort by a specific column. |
void |
setSpreadsheetQuery(java.lang.String query)
Sets the structured spreadsheet query. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SPREADSHEET_QUERY
public static final java.lang.String ORDERBY
public static final java.lang.String ORDERBY_COLUMN
public static final java.lang.String ORDERBY_POSITION
public static final java.lang.String REVERSE
Constructor Detail |
---|
public ListQuery(java.net.URL feedUrl)
feedUrl
- the feed's URIMethod Detail |
---|
public void setSpreadsheetQuery(java.lang.String query)
query
- the query such as "name = 'Sonja' and state = 'Georgia'"public java.lang.String getSpreadsheetQuery()
public void setFullTextQuery(java.lang.String query)
setFullTextQuery
in class Query
query
- the full-text query string such as "Sonja Georgia"public void setSortColumn(java.lang.String column)
column
- public void setOrderBy(java.lang.String orderby)
orderby
- the order-by parameterpublic java.lang.String getOrderBy()
public void setReverse(boolean reverse)
reverse
- whether to reverse resultspublic boolean isReverse()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |