public class

RecordQuery

extends Query
java.lang.Object
   ↳ com.google.gdata.client.Query
     ↳ com.google.gdata.client.spreadsheet.RecordQuery

Class Overview

Describes a query for the feed of a table's records.

Summary

[Expand]
Inherited Constants
From class com.google.gdata.client.Query
Fields
private String orderBy What column to use in ordering the entries in the feed.
private Boolean reverse Whether to sort in descending or ascending order.
private String spreadsheetQuery Structured query on the full text in the worksheet.
[Expand]
Inherited Fields
From class com.google.gdata.client.Query
Public Constructors
RecordQuery(URL feedUrl)
Constructs a new query object that targets a feed.
Public Methods
String getOrderBy()
Returns the what column to use in ordering the entries in the feed.
Boolean getReverse()
Returns the whether to sort in descending or ascending order.
String getSpreadsheetQuery()
Returns the structured query on the full text in the worksheet.
void setOrderBy(String orderBy)
Sets the what column to use in ordering the entries in the feed.
void setReverse(Boolean reverse)
Sets the whether to sort in descending or ascending order.
void setSpreadsheetQuery(String spreadsheetQuery)
Sets the structured query on the full text in the worksheet.
[Expand]
Inherited Methods
From class com.google.gdata.client.Query
From class java.lang.Object

Fields

private String orderBy

What column to use in ordering the entries in the feed.

private Boolean reverse

Whether to sort in descending or ascending order.

private String spreadsheetQuery

Structured query on the full text in the worksheet.

Public Constructors

public RecordQuery (URL feedUrl)

Constructs a new query object that targets a feed. The initial state of the query contains no parameters, meaning all entries in the feed would be returned if the query was executed immediately after construction.

Parameters
feedUrl The URL of the feed against which queries will be executed.

Public Methods

public String getOrderBy ()

Returns the what column to use in ordering the entries in the feed.

Returns
  • what column to use in ordering the entries in the feed or null to indicate that the parameter is not set.

public Boolean getReverse ()

Returns the whether to sort in descending or ascending order.

Returns
  • whether to sort in descending or ascending order.

public String getSpreadsheetQuery ()

Returns the structured query on the full text in the worksheet.

Returns
  • structured query on the full text in the worksheet or null to indicate that the parameter is not set.

public void setOrderBy (String orderBy)

Sets the what column to use in ordering the entries in the feed.

Parameters
orderBy What column to use in ordering the entries in the feed or null to remove this parameter if set.

public void setReverse (Boolean reverse)

Sets the whether to sort in descending or ascending order.

Parameters
reverse Whether to sort in descending or ascending order or null to reset this parameter to default value false.

public void setSpreadsheetQuery (String spreadsheetQuery)

Sets the structured query on the full text in the worksheet.

Parameters
spreadsheetQuery Structured query on the full text in the worksheet or null to remove this parameter if set.