| java.lang.Object | ||
| ↳ | com.google.gdata.client.Query | |
| ↳ | com.google.api.gbase.client.GoogleBaseQuery | |
Adds support for the "bq" and "max-values" parameters to a gdata query.
Query.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | BQ_PARAMETER | ||||||||||
| String | CONTENT | ||||||||||
| String | CROWD_BY | ||||||||||
| String | MAX_VALUES_PARAMETER | ||||||||||
| String | ORDER_BY | ||||||||||
| String | REFINE | ||||||||||
| String | SORT_ORDER | ||||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.client.Query
| |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.client.Query
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a Google Base query.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets what will be returned, on the customer feed.
| |||||||||||
Gets the criteria that will be used to crowd the results.
| |||||||||||
Gets the Google Base query that will be executed.
| |||||||||||
Gets the current value for the
max-values parameter. | |||||||||||
Gets the criteria that will be used to sort the results.
| |||||||||||
Checks whether the query should be refined.
| |||||||||||
Checks whether the results will be returned in ascending
order.
| |||||||||||
Changes the order in which results are returned (ascending
or descending).
| |||||||||||
Selects what to return, on the customer feed.
| |||||||||||
Sets the criteria used for crowding the results in groups.
| |||||||||||
Sets the Google Base query to execute.
| |||||||||||
Sets the
max-values parameter used by histogram feeds
to limit the number of unique values to return for one attribute. | |||||||||||
Sets the criteria used to sort the results.
| |||||||||||
Enables query refinement.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.client.Query
| |||||||||||
From class
java.lang.Object
| |||||||||||
Creates a Google Base query.
| feedUrl | The URL to connect to |
|---|
Gets what will be returned, on the customer feed.
Gets the criteria that will be used to crowd the results.
Gets the Google Base query that will be executed.
Gets the current value for the max-values parameter.
Gets the criteria that will be used to sort the results.
Checks whether the query should be refined.
Checks whether the results will be returned in ascending order.
Changes the order in which results are returned (ascending or descending). Descending order (from the largest value to the smallest value) is the default.
| ascending | If true, return the result in ascending order |
|---|
Selects what to return, on the customer feed.
| content | What should be returned (see documentation) |
|---|
Sets the criteria used for crowding the results in groups.
| crowdBy | Crowding criteria (see documentation) |
|---|
Sets the Google Base query to execute.
When running queries on Google Base, you have a choice
between a Google Base query, which will be interpreted
and executed strictly following the Google Base query
language, and a Fulltext query (see setFullTextQuery(String))
which will be interpreted just like a query typed in the
search box on the Google Base website - including some
user-friendly preprocessing that might be useful or confusing
depending on what you're trying to do.
You cannot specify both a Google Base query and a Fulltext query.
| query | Google base query |
|---|
| IllegalStateException | if a fulltext query is already set. |
|---|
Sets the max-values parameter used by histogram feeds
to limit the number of unique values to return for one attribute.
| maxValues |
|---|
Sets the criteria used to sort the results. By default results are ordered by relevancy.
| orderBy | Sorting criteria (see documentation) |
|---|
Enables query refinement. By default results are not refined.
| refine | True to enable query refinment |
|---|