Query
Object Hierarchy:
Description:
All the fields in the Query structure are private and should never be accessed directly.
All known sub-classes:
Namespace: GData
Package: libgdata
Content:
Properties:
- public string author { get; set; }
An entry author.
- public string categories { get; set; }
- public string etag { get; set; }
The ETag against which to check for updates.
- public bool is_strict { get; set; }
Strict query parameter checking.
- public uint max_results { get; set; }
Maximum number of results to be retrieved.
- public int64 published_max { get; set; }
Upper bound on the entry publish date, exclusive.
- public int64 published_min { get; set; }
Lower bound on the entry publish date, inclusive.
- public string q { get; set; }
- public uint start_index { get; set; }
The one-based index of the first result to be retrieved.
- public int64 updated_max { get; set; }
Upper bound on the entry update date, exclusive.
- public int64 updated_min { get; set; }
Lower bound on the entry update date, inclusive.
Creation methods:
- public Query (string? q)
Creates a new Query with its q property set to
q
. - public Query.with_limits (string? q, uint start_index, uint max_results)
Creates a new Query with its q property set to
q
, and the limitsstart_index
andmax_results
applied.
Methods:
- public unowned string get_author ()
Gets the author property.
- public unowned string get_categories ()
Gets the categories property.
- public unowned string get_etag ()
Gets the etag property.
- public uint get_max_results ()
Gets the max_results property.
- public int64 get_published_max ()
Gets the published_max property.
- public int64 get_published_min ()
Gets the published_min property.
- public unowned string get_q ()
Gets the q property.
- public virtual void get_query_uri (string feed_uri, StringBuilder query_uri, bool params_started)
Builds a query URI from the given base feed URI, using the properties of the Query.
- public uint get_start_index ()
Gets the start_index property.
- public int64 get_updated_max ()
Gets the updated_max property.
- public int64 get_updated_min ()
Gets the updated_min property.
- public void next_page ()
Changes the state of the Query such that when get_query_uri is next called, it will build the query URI for the next page in the result set.
- public bool previous_page ()
Changes the state of the Query such that when get_query_uri is next called, it will build the query URI for the previous page in the result set.
- public void set_author (string? author)
Sets the author property of the Query to the new author string,
author
. - public void set_categories (string? categories)
Sets the categories property of the Query to the new category string,
categories
. - public void set_etag (string? etag)
Sets the etag property of the Query to the new ETag,
etag
. - public void set_is_strict (bool is_strict)
Sets the is_strict property of the Query to the new strict value,
is_strict
. - public void set_max_results (uint max_results)
Sets the max_results property of the Query to the new maximum results value,
max_results
. - public void set_published_max (int64 published_max)
Sets the published_max property of the Query to the new maximum publish time,
published_max
. - public void set_published_min (int64 published_min)
Sets the published_min property of the Query to the new minimum publish time,
published_min
. - public void set_q (string? q)
Sets the q property of the Query to the new query string,
q
. - public void set_start_index (uint start_index)
Sets the start_index property of the Query to the new one-based start index,
start_index
. - public void set_updated_max (int64 updated_max)
Sets the updated_max property of the Query to the new maximum update time,
updated_max
. - public void set_updated_min (int64 updated_min)
Sets the updated_min property of the Query to the new minimum update time,
updated_min
.
Inherited Members:
All known members inherited from class GLib.Object