Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GDataQuery: GData Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GData Reference Manual">
<link rel="up" href="ch02.html" title="Core API">
<link rel="prev" href="GDataService.html" title="GDataService">
<link rel="next" href="GDataFeed.html" title="GDataFeed">
<meta name="generator" content="GTK-Doc V1.26.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GDataQuery.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GDataQuery.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#GDataQuery.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GDataService.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GDataFeed.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GDataQuery"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GDataQuery.top_of_page"></a>GDataQuery</span></h2>
<p>GDataQuery — GData query object</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GDataQuery.stability-level"></a><h2>Stability Level</h2>
<acronym title="The intention of a Stable interface is to enable arbitrary third parties to
develop applications to these interfaces, release them, and have confidence that
they will run on all minor releases of the product (after the one in which the
interface was introduced, and within the same major release). Even at a major
release, incompatible changes are expected to be rare, and to have strong
justifications.
"><span class="acronym">Stable</span></acronym>, unless otherwise indicated
</div>
<div class="refsect1">
<a name="GDataQuery.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GDataQuery.html" title="GDataQuery"><span class="returnvalue">GDataQuery</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-new" title="gdata_query_new ()">gdata_query_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GDataQuery.html" title="GDataQuery"><span class="returnvalue">GDataQuery</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-new-with-limits" title="gdata_query_new_with_limits ()">gdata_query_new_with_limits</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-get-query-uri" title="gdata_query_get_query_uri ()">gdata_query_get_query_uri</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-next-page" title="gdata_query_next_page ()">gdata_query_next_page</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-previous-page" title="gdata_query_previous_page ()">gdata_query_previous_page</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-get-q" title="gdata_query_get_q ()">gdata_query_get_q</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-set-q" title="gdata_query_set_q ()">gdata_query_set_q</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-get-etag" title="gdata_query_get_etag ()">gdata_query_get_etag</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-set-etag" title="gdata_query_set_etag ()">gdata_query_set_etag</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-get-author" title="gdata_query_get_author ()">gdata_query_get_author</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-set-author" title="gdata_query_set_author ()">gdata_query_set_author</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-get-categories" title="gdata_query_get_categories ()">gdata_query_get_categories</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-set-categories" title="gdata_query_set_categories ()">gdata_query_set_categories</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-get-published-min" title="gdata_query_get_published_min ()">gdata_query_get_published_min</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-set-published-min" title="gdata_query_set_published_min ()">gdata_query_set_published_min</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-get-published-max" title="gdata_query_get_published_max ()">gdata_query_get_published_max</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-set-published-max" title="gdata_query_set_published_max ()">gdata_query_set_published_max</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-get-updated-min" title="gdata_query_get_updated_min ()">gdata_query_get_updated_min</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-set-updated-min" title="gdata_query_set_updated_min ()">gdata_query_set_updated_min</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-get-updated-max" title="gdata_query_get_updated_max ()">gdata_query_get_updated_max</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-set-updated-max" title="gdata_query_set_updated_max ()">gdata_query_set_updated_max</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-get-start-index" title="gdata_query_get_start_index ()">gdata_query_get_start_index</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-set-start-index" title="gdata_query_set_start_index ()">gdata_query_set_start_index</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-get-max-results" title="gdata_query_get_max_results ()">gdata_query_get_max_results</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-set-max-results" title="gdata_query_set_max_results ()">gdata_query_set_max_results</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-is-strict" title="gdata_query_is_strict ()">gdata_query_is_strict</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataQuery.html#gdata-query-set-is-strict" title="gdata_query_set_is_strict ()">gdata_query_set_is_strict</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GDataQuery.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="GDataQuery.html#GDataQuery--author" title="The “author” property">author</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="GDataQuery.html#GDataQuery--categories" title="The “categories” property">categories</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="GDataQuery.html#GDataQuery--etag" title="The “etag” property">etag</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="GDataQuery.html#GDataQuery--is-strict" title="The “is-strict” property">is-strict</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GDataQuery.html#GDataQuery--max-results" title="The “max-results” property">max-results</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></td>
<td class="property_name"><a class="link" href="GDataQuery.html#GDataQuery--published-max" title="The “published-max” property">published-max</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></td>
<td class="property_name"><a class="link" href="GDataQuery.html#GDataQuery--published-min" title="The “published-min” property">published-min</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="GDataQuery.html#GDataQuery--q" title="The “q” property">q</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GDataQuery.html#GDataQuery--start-index" title="The “start-index” property">start-index</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></td>
<td class="property_name"><a class="link" href="GDataQuery.html#GDataQuery--updated-max" title="The “updated-max” property">updated-max</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></td>
<td class="property_name"><a class="link" href="GDataQuery.html#GDataQuery--updated-min" title="The “updated-min” property">updated-min</a></td>
<td class="property_flags">Read / Write</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GDataQuery.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GDataQuery.html#GDataQuery-struct" title="GDataQuery">GDataQuery</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GDataQuery.html#GDataQueryClass" title="GDataQueryClass">GDataQueryClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GDataQuery.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> GDataQuery
        <span class="lineart">├──</span> <a class="link" href="GDataCalendarQuery.html" title="GDataCalendarQuery">GDataCalendarQuery</a>
        <span class="lineart">├──</span> <a class="link" href="GDataContactsQuery.html" title="GDataContactsQuery">GDataContactsQuery</a>
        <span class="lineart">├──</span> <a class="link" href="GDataDocumentsQuery.html" title="GDataDocumentsQuery">GDataDocumentsQuery</a>
        <span class="lineart">├──</span> <a class="link" href="GDataFreebaseQuery.html" title="GDataFreebaseQuery">GDataFreebaseQuery</a>
        <span class="lineart">├──</span> <a class="link" href="GDataFreebaseSearchQuery.html" title="GDataFreebaseSearchQuery">GDataFreebaseSearchQuery</a>
        <span class="lineart">├──</span> <a class="link" href="GDataFreebaseTopicQuery.html" title="GDataFreebaseTopicQuery">GDataFreebaseTopicQuery</a>
        <span class="lineart">├──</span> <a class="link" href="GDataPicasaWebQuery.html" title="GDataPicasaWebQuery">GDataPicasaWebQuery</a>
        <span class="lineart">├──</span> <a class="link" href="GDataTasksQuery.html" title="GDataTasksQuery">GDataTasksQuery</a>
        <span class="lineart">╰──</span> <a class="link" href="GDataYouTubeQuery.html" title="GDataYouTubeQuery">GDataYouTubeQuery</a>
</pre>
</div>
<div class="refsect1">
<a name="GDataQuery.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;gdata/gdata-query.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="GDataQuery.description"></a><h2>Description</h2>
<p><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> represents a collection of query parameters used in a series of queries on a <a class="link" href="GDataService.html" title="GDataService"><span class="type">GDataService</span></a>. It allows the query parameters to be
set, with the aim of building a query URI using <a class="link" href="GDataQuery.html#gdata-query-get-query-uri" title="gdata_query_get_query_uri ()"><code class="function">gdata_query_get_query_uri()</code></a>. Pagination is supported using <a class="link" href="GDataQuery.html#gdata-query-next-page" title="gdata_query_next_page ()"><code class="function">gdata_query_next_page()</code></a> and
<a class="link" href="GDataQuery.html#gdata-query-previous-page" title="gdata_query_previous_page ()"><code class="function">gdata_query_previous_page()</code></a>.</p>
<p>Each query can have an ETag associated with it, which is a unique identifier for the set of query results produced by the query.
Each time a query is made, <a class="link" href="GDataService.html#gdata-service-query" title="gdata_service_query ()"><code class="function">gdata_service_query()</code></a> will set the <a class="link" href="GDataQuery.html#GDataQuery--etag" title="The “etag” property"><span class="type">“etag”</span></a> property of the accompanying query to a value returned by the
server. If the same query is made again (using the same <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> instance), the server can skip returning the resulting <a class="link" href="GDataFeed.html" title="GDataFeed"><span class="type">GDataFeed</span></a> if its
contents haven't changed (in this case, <a class="link" href="GDataService.html#gdata-service-query" title="gdata_service_query ()"><code class="function">gdata_service_query()</code></a> will return <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> with an empty error).</p>
<p>For this reason, code using <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> should be careful when reusing <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> instances: the code should either unset <a class="link" href="GDataQuery.html#GDataQuery--etag" title="The “etag” property"><span class="type">“etag”</span></a> after
every query or (preferably) gracefully handle the case where <a class="link" href="GDataService.html#gdata-service-query" title="gdata_service_query ()"><code class="function">gdata_service_query()</code></a> returns <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to signify unchanged results.</p>
<p>Every time a property of a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> instance is changed, the instance's ETag will be unset.</p>
<p>For more information on the standard GData query parameters supported by <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a>, see the <a class="ulink" href="http://code.google.com/apis/gdata/docs/2.0/reference.html#Queries" target="_top">online documentation</a>.</p>
</div>
<div class="refsect1">
<a name="GDataQuery.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gdata-query-new"></a><h3>gdata_query_new ()</h3>
<pre class="programlisting"><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="returnvalue">GDataQuery</span></a> *
gdata_query_new (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *q</code></em>);</pre>
<p>Creates a new <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> with its <a class="link" href="GDataQuery.html#GDataQuery--q" title="The “q” property"><span class="type">“q”</span></a> property set to <em class="parameter"><code>q</code></em>
.</p>
<div class="refsect3">
<a name="gdata-query-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>q</p></td>
<td class="parameter_description"><p>a query string, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-query-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-new-with-limits"></a><h3>gdata_query_new_with_limits ()</h3>
<pre class="programlisting"><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="returnvalue">GDataQuery</span></a> *
gdata_query_new_with_limits (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *q</code></em>,
                             <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> start_index</code></em>,
                             <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> max_results</code></em>);</pre>
<p>Creates a new <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> with its <a class="link" href="GDataQuery.html#GDataQuery--q" title="The “q” property"><span class="type">“q”</span></a> property set to <em class="parameter"><code>q</code></em>
, and the limits <em class="parameter"><code>start_index</code></em>
 and <em class="parameter"><code>max_results</code></em>

applied.</p>
<div class="refsect3">
<a name="gdata-query-new-with-limits.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>q</p></td>
<td class="parameter_description"><p>a query string, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>start_index</p></td>
<td class="parameter_description"><p>a one-based start index for the results, or <code class="code">0</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>max_results</p></td>
<td class="parameter_description"><p>the maximum number of results to return, or <code class="code">0</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-query-new-with-limits.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-get-query-uri"></a><h3>gdata_query_get_query_uri ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gdata_query_get_query_uri (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>,
                           <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *feed_uri</code></em>);</pre>
<p>Builds a query URI from the given base feed URI, using the properties of the <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a>. This function will take care
of all necessary URI escaping, so it should <span class="emphasis"><em>not</em></span> be done beforehand.</p>
<p>The query URI is what functions like <a class="link" href="GDataService.html#gdata-service-query" title="gdata_service_query ()"><code class="function">gdata_service_query()</code></a> use to query the online service.</p>
<div class="refsect3">
<a name="gdata-query-get-query-uri.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>feed_uri</p></td>
<td class="parameter_description"><p>the feed URI on which to build the query URI</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-query-get-query-uri.returns"></a><h4>Returns</h4>
<p> a query URI; free with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-next-page"></a><h3>gdata_query_next_page ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_query_next_page (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>);</pre>
<p>Changes the state of the <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> such that when <a class="link" href="GDataQuery.html#gdata-query-get-query-uri" title="gdata_query_get_query_uri ()"><code class="function">gdata_query_get_query_uri()</code></a> is next called, it will build the
query URI for the next page in the result set.</p>
<p>Ideally, the URI of the next page is retrieved from a feed automatically when <a class="link" href="GDataService.html#gdata-service-query" title="gdata_service_query ()"><code class="function">gdata_service_query()</code></a> is called, but
<a class="link" href="GDataQuery.html#gdata-query-next-page" title="gdata_query_next_page ()"><code class="function">gdata_query_next_page()</code></a> will fall back to using <a class="link" href="GDataQuery.html#GDataQuery--start-index" title="The “start-index” property"><span class="type">“start-index”</span></a> to emulate true pagination if this fails.</p>
<p>You <span class="emphasis"><em>should not</em></span> implement pagination manually using <a class="link" href="GDataQuery.html#GDataQuery--start-index" title="The “start-index” property"><span class="type">“start-index”</span></a>.</p>
<div class="refsect3">
<a name="gdata-query-next-page.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-previous-page"></a><h3>gdata_query_previous_page ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gdata_query_previous_page (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>);</pre>
<p>Changes the state of the <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> such that when <a class="link" href="GDataQuery.html#gdata-query-get-query-uri" title="gdata_query_get_query_uri ()"><code class="function">gdata_query_get_query_uri()</code></a> is next called, it will build the
query URI for the previous page in the result set.</p>
<p>See the documentation for <a class="link" href="GDataQuery.html#gdata-query-next-page" title="gdata_query_next_page ()"><code class="function">gdata_query_next_page()</code></a> for an explanation of how query URIs from the feeds are used to this end.</p>
<div class="refsect3">
<a name="gdata-query-previous-page.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-query-previous-page.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there is a previous page and it has been switched to, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-get-q"></a><h3>gdata_query_get_q ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gdata_query_get_q (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataQuery.html#GDataQuery--q" title="The “q” property"><span class="type">“q”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-query-get-q.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-query-get-q.returns"></a><h4>Returns</h4>
<p> the q property, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it is unset</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-set-q"></a><h3>gdata_query_set_q ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_query_set_q (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>,
                   <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *q</code></em>);</pre>
<p>Sets the <a class="link" href="GDataQuery.html#GDataQuery--q" title="The “q” property"><span class="type">“q”</span></a> property of the <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> to the new query string, <em class="parameter"><code>q</code></em>
.</p>
<p>Set <em class="parameter"><code>q</code></em>
 to <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the property in the query URI.</p>
<div class="refsect3">
<a name="gdata-query-set-q.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>q</p></td>
<td class="parameter_description"><p>a new query string, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-get-etag"></a><h3>gdata_query_get_etag ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gdata_query_get_etag (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataQuery.html#GDataQuery--etag" title="The “etag” property"><span class="type">“etag”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-query-get-etag.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-query-get-etag.returns"></a><h4>Returns</h4>
<p> the ETag property, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it is unset</p>
</div>
<p class="since">Since: <a class="link" href="ix04.html#api-index-0.2.0">0.2.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-set-etag"></a><h3>gdata_query_set_etag ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_query_set_etag (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>,
                      <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *etag</code></em>);</pre>
<p>Sets the <a class="link" href="GDataQuery.html#GDataQuery--etag" title="The “etag” property"><span class="type">“etag”</span></a> property of the <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> to the new ETag, <em class="parameter"><code>etag</code></em>
.</p>
<p>Set <em class="parameter"><code>etag</code></em>
 to <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to not check against the server-side ETag.</p>
<div class="refsect3">
<a name="gdata-query-set-etag.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>etag</p></td>
<td class="parameter_description"><p>the new ETag, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix04.html#api-index-0.2.0">0.2.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-get-author"></a><h3>gdata_query_get_author ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gdata_query_get_author (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataQuery.html#GDataQuery--author" title="The “author” property"><span class="type">“author”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-query-get-author.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-query-get-author.returns"></a><h4>Returns</h4>
<p> the author property, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it is unset</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-set-author"></a><h3>gdata_query_set_author ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_query_set_author (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>,
                        <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *author</code></em>);</pre>
<p>Sets the <a class="link" href="GDataQuery.html#GDataQuery--author" title="The “author” property"><span class="type">“author”</span></a> property of the <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> to the new author string, <em class="parameter"><code>author</code></em>
.</p>
<p>Set <em class="parameter"><code>author</code></em>
 to <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the property in the query URI.</p>
<div class="refsect3">
<a name="gdata-query-set-author.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>author</p></td>
<td class="parameter_description"><p>the new author string, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-get-categories"></a><h3>gdata_query_get_categories ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gdata_query_get_categories (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataQuery.html#GDataQuery--categories" title="The “categories” property"><span class="type">“categories”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-query-get-categories.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-query-get-categories.returns"></a><h4>Returns</h4>
<p> the categories property, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it is unset</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-set-categories"></a><h3>gdata_query_set_categories ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_query_set_categories (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>,
                            <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *categories</code></em>);</pre>
<p>Sets the <a class="link" href="GDataQuery.html#GDataQuery--categories" title="The “categories” property"><span class="type">“categories”</span></a> property of the <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> to the new category string, <em class="parameter"><code>categories</code></em>
.</p>
<p>Set <em class="parameter"><code>categories</code></em>
 to <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the property in the query URI.</p>
<div class="refsect3">
<a name="gdata-query-set-categories.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>categories</p></td>
<td class="parameter_description"><p>the new category string, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-get-published-min"></a><h3>gdata_query_get_published_min ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
gdata_query_get_published_min (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataQuery.html#GDataQuery--published-min" title="The “published-min” property"><span class="type">“published-min”</span></a> property. If the property is unset, <code class="code">-1</code> will be returned.</p>
<div class="refsect3">
<a name="gdata-query-get-published-min.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-query-get-published-min.returns"></a><h4>Returns</h4>
<p> the published-min property, or <code class="code">-1</code></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-set-published-min"></a><h3>gdata_query_set_published_min ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_query_set_published_min (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>,
                               <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> published_min</code></em>);</pre>
<p>Sets the <a class="link" href="GDataQuery.html#GDataQuery--published-min" title="The “published-min” property"><span class="type">“published-min”</span></a> property of the <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> to the new minimum publish time, <em class="parameter"><code>published_min</code></em>
.</p>
<p>Set <em class="parameter"><code>published_min</code></em>
 to <code class="code">-1</code> to unset the property in the query URI.</p>
<div class="refsect3">
<a name="gdata-query-set-published-min.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>published_min</p></td>
<td class="parameter_description"><p>the new minimum publish time, or <code class="code">-1</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-get-published-max"></a><h3>gdata_query_get_published_max ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
gdata_query_get_published_max (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataQuery.html#GDataQuery--published-max" title="The “published-max” property"><span class="type">“published-max”</span></a> property. If the property is unset, <code class="code">-1</code> will be returned.</p>
<div class="refsect3">
<a name="gdata-query-get-published-max.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-query-get-published-max.returns"></a><h4>Returns</h4>
<p> the published-max property, or <code class="code">-1</code></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-set-published-max"></a><h3>gdata_query_set_published_max ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_query_set_published_max (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>,
                               <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> published_max</code></em>);</pre>
<p>Sets the <a class="link" href="GDataQuery.html#GDataQuery--published-max" title="The “published-max” property"><span class="type">“published-max”</span></a> property of the <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> to the new maximum publish time, <em class="parameter"><code>published_max</code></em>
.</p>
<p>Set <em class="parameter"><code>published_max</code></em>
 to <code class="code">-1</code> to unset the property in the query URI.</p>
<div class="refsect3">
<a name="gdata-query-set-published-max.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>published_max</p></td>
<td class="parameter_description"><p>the new maximum publish time, or <code class="code">-1</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-get-updated-min"></a><h3>gdata_query_get_updated_min ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
gdata_query_get_updated_min (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataQuery.html#GDataQuery--updated-min" title="The “updated-min” property"><span class="type">“updated-min”</span></a> property. If the property is unset, <code class="code">-1</code> will be returned.</p>
<div class="refsect3">
<a name="gdata-query-get-updated-min.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-query-get-updated-min.returns"></a><h4>Returns</h4>
<p> the updated-min property, or <code class="code">-1</code></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-set-updated-min"></a><h3>gdata_query_set_updated_min ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_query_set_updated_min (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>,
                             <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> updated_min</code></em>);</pre>
<p>Sets the <a class="link" href="GDataQuery.html#GDataQuery--updated-min" title="The “updated-min” property"><span class="type">“updated-min”</span></a> property of the <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> to the new minimum update time, <em class="parameter"><code>updated_min</code></em>
.</p>
<p>Set <em class="parameter"><code>updated_min</code></em>
 to <code class="code">-1</code> to unset the property in the query URI.</p>
<div class="refsect3">
<a name="gdata-query-set-updated-min.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>updated_min</p></td>
<td class="parameter_description"><p>the new minimum update time, or <code class="code">-1</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-get-updated-max"></a><h3>gdata_query_get_updated_max ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
gdata_query_get_updated_max (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataQuery.html#GDataQuery--updated-max" title="The “updated-max” property"><span class="type">“updated-max”</span></a> property. If the property is unset, <code class="code">-1</code> will be returned.</p>
<div class="refsect3">
<a name="gdata-query-get-updated-max.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-query-get-updated-max.returns"></a><h4>Returns</h4>
<p> the updated-max property, or <code class="code">-1</code></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-set-updated-max"></a><h3>gdata_query_set_updated_max ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_query_set_updated_max (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>,
                             <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> updated_max</code></em>);</pre>
<p>Sets the <a class="link" href="GDataQuery.html#GDataQuery--updated-max" title="The “updated-max” property"><span class="type">“updated-max”</span></a> property of the <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> to the new maximum update time, <em class="parameter"><code>updated_max</code></em>
.</p>
<p>Set <em class="parameter"><code>updated_max</code></em>
 to <code class="code">-1</code> to unset the property in the query URI.</p>
<div class="refsect3">
<a name="gdata-query-set-updated-max.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>updated_max</p></td>
<td class="parameter_description"><p>the new maximum update time, or <code class="code">-1</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-get-start-index"></a><h3>gdata_query_get_start_index ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
gdata_query_get_start_index (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataQuery.html#GDataQuery--start-index" title="The “start-index” property"><span class="type">“start-index”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-query-get-start-index.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-query-get-start-index.returns"></a><h4>Returns</h4>
<p> the start index property, or <code class="code">0</code> if it is unset</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-set-start-index"></a><h3>gdata_query_set_start_index ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_query_set_start_index (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>,
                             <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> start_index</code></em>);</pre>
<p>Sets the <a class="link" href="GDataQuery.html#GDataQuery--start-index" title="The “start-index” property"><span class="type">“start-index”</span></a> property of the <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> to the new one-based start index, <em class="parameter"><code>start_index</code></em>
.</p>
<p>Set <em class="parameter"><code>start_index</code></em>
 to <code class="code">0</code> to unset the property in the query URI.</p>
<div class="refsect3">
<a name="gdata-query-set-start-index.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>start_index</p></td>
<td class="parameter_description"><p>the new start index, or <code class="code">0</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-get-max-results"></a><h3>gdata_query_get_max_results ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
gdata_query_get_max_results (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataQuery.html#GDataQuery--max-results" title="The “max-results” property"><span class="type">“max-results”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-query-get-max-results.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-query-get-max-results.returns"></a><h4>Returns</h4>
<p> the maximum results property, or <code class="code">0</code> if it is unset</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-set-max-results"></a><h3>gdata_query_set_max_results ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_query_set_max_results (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>,
                             <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> max_results</code></em>);</pre>
<p>Sets the <a class="link" href="GDataQuery.html#GDataQuery--max-results" title="The “max-results” property"><span class="type">“max-results”</span></a> property of the <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> to the new maximum results value, <em class="parameter"><code>max_results</code></em>
.</p>
<p>Set <em class="parameter"><code>max_results</code></em>
 to <code class="code">0</code> to unset the property in the query URI.</p>
<div class="refsect3">
<a name="gdata-query-set-max-results.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>max_results</p></td>
<td class="parameter_description"><p>the new maximum results value, or <code class="code">0</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-is-strict"></a><h3>gdata_query_is_strict ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gdata_query_is_strict (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataQuery.html#GDataQuery--is-strict" title="The “is-strict” property"><span class="type">“is-strict”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-query-is-strict.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-query-is-strict.returns"></a><h4>Returns</h4>
<p> the strict property</p>
</div>
<p class="since">Since: <a class="link" href="ix04.html#api-index-0.2.0">0.2.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-query-set-is-strict"></a><h3>gdata_query_set_is_strict ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_query_set_is_strict (<em class="parameter"><code><a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> *self</code></em>,
                           <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_strict</code></em>);</pre>
<p>Sets the <a class="link" href="GDataQuery.html#GDataQuery--is-strict" title="The “is-strict” property"><span class="type">“is-strict”</span></a> property of the <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> to the new strict value, <em class="parameter"><code>is_strict</code></em>
.</p>
<div class="refsect3">
<a name="gdata-query-set-is-strict.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>is_strict</p></td>
<td class="parameter_description"><p>the new strict value</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix04.html#api-index-0.2.0">0.2.0</a></p>
</div>
</div>
<div class="refsect1">
<a name="GDataQuery.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GDataQuery-struct"></a><h3>GDataQuery</h3>
<pre class="programlisting">typedef struct _GDataQuery GDataQuery;</pre>
<p>All the fields in the <a class="link" href="GDataQuery.html" title="GDataQuery"><span class="type">GDataQuery</span></a> structure are private and should never be accessed directly.</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataQueryClass"></a><h3>GDataQueryClass</h3>
<pre class="programlisting">typedef struct {
} GDataQueryClass;
</pre>
<p>All the fields in the <a class="link" href="GDataQuery.html#GDataQueryClass" title="GDataQueryClass"><span class="type">GDataQueryClass</span></a> structure are private and should never be accessed directly.</p>
</div>
</div>
<div class="refsect1">
<a name="GDataQuery.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GDataQuery--author"></a><h3>The <code class="literal">“author”</code> property</h3>
<pre class="programlisting">  “author”                   <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>An entry author. The service returns entries where the author name and/or e-mail address match your query string.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataQuery--categories"></a><h3>The <code class="literal">“categories”</code> property</h3>
<pre class="programlisting">  “categories”               <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>A category filter.</p>
<p>You can query on multiple categories by listing multiple categories separated by slashes. The service returns all entries that match all
of the categories (like using AND between terms). For example: <strong class="userinput"><code>Fritz/Laurie</code></strong> returns
entries that match both categories ("Fritz" and "Laurie").</p>
<p>To do an OR between terms, use a pipe character (<code class="literal">|</code>). For example: <strong class="userinput"><code>Fritz%7CLaurie</code></strong> returns
entries that match either category.</p>
<p>An entry matches a specified category if the entry is in a category that has a matching term or label, as defined in the Atom
specification. (Roughly, the "term" is the internal string used by the software to identify the category, while the "label" is the
human-readable string presented to a user in a user interface.)</p>
<p>To exclude entries that match a given category, use the form <strong class="userinput"><code>-categoryname</code></strong>.</p>
<p>To query for a category that has a scheme – such as <code class="literal">&lt;category scheme="urn:google.com" term="public"/&gt;</code> – you must
place the scheme in curly braces before the category name. For example: <strong class="userinput"><code>{urn:google.com}public</code></strong>. To match a category
that has no scheme, use an empty pair of curly braces. If you don't specify curly braces, then categories in any scheme will match.</p>
<p>The above features can be combined. For example: <strong class="userinput"><code>A|-{urn:google.com}B/-C</code></strong> means (A OR (NOT B)) AND (NOT C).</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataQuery--etag"></a><h3>The <code class="literal">“etag”</code> property</h3>
<pre class="programlisting">  “etag”                     <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The ETag against which to check for updates. If the server-side ETag matches this one, the requested feed hasn't changed, and is not
returned unnecessarily.</p>
<p>Setting any of the other query properties will unset the ETag, as ETags match against entire queries. If the ETag should be used in a
query, it must be set again using <a class="link" href="GDataQuery.html#gdata-query-set-etag" title="gdata_query_set_etag ()"><code class="function">gdata_query_set_etag()</code></a> after setting any other properties.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
<p class="since">Since: <a class="link" href="ix04.html#api-index-0.2.0">0.2.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDataQuery--is-strict"></a><h3>The <code class="literal">“is-strict”</code> property</h3>
<pre class="programlisting">  “is-strict”                <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Strict query parameter checking. If this is enabled, an error will be returned by the online service if a parameter is
not recognised.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
<p class="since">Since: <a class="link" href="ix04.html#api-index-0.2.0">0.2.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDataQuery--max-results"></a><h3>The <code class="literal">“max-results”</code> property</h3>
<pre class="programlisting">  “max-results”              <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>Maximum number of results to be retrieved. Most services have a default <a class="link" href="GDataQuery.html#GDataQuery--max-results" title="The “max-results” property"><span class="type">“max-results”</span></a> size imposed by the server; if you wish
to receive the entire feed, specify a large number such as <a href="../glib/glib-Basic-Types.html#G-MAXUINT:CAPS"><code class="literal">G_MAXUINT</code></a> for this property.</p>
<p>Use <code class="code">0</code> to not specify a maximum number of results.</p>
<p>Flags: Read / Write</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataQuery--published-max"></a><h3>The <code class="literal">“published-max”</code> property</h3>
<pre class="programlisting">  “published-max”            <a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></pre>
<p>Upper bound on the entry publish date, exclusive.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataQuery--published-min"></a><h3>The <code class="literal">“published-min”</code> property</h3>
<pre class="programlisting">  “published-min”            <a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></pre>
<p>Lower bound on the entry publish date, inclusive.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataQuery--q"></a><h3>The <code class="literal">“q”</code> property</h3>
<pre class="programlisting">  “q”                        <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>A full-text query string.</p>
<p>When creating a query, list search terms separated by spaces, in the form <strong class="userinput"><code>term1 term2 term3</code></strong>.
(As with all of the query parameter values, the spaces must be URL encoded.) The service returns all entries that match all of the
search terms (like using AND between terms). Like Google's web search, a service searches on complete words (and related words with
the same stem), not substrings.</p>
<p>To search for an exact phrase, enclose the phrase in quotation marks: <strong class="userinput"><code>"exact phrase"</code></strong>.</p>
<p>To exclude entries that match a given term, use the form <strong class="userinput"><code>-term</code></strong>.</p>
<p>The search is case-insensitive.</p>
<p>Example: to search for all entries that contain the exact phrase "Elizabeth Bennet" and the word "Darcy" but don't contain the
word "Austen", use the following query: <strong class="userinput"><code>"Elizabeth Bennet" Darcy -Austen</code></strong>.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataQuery--start-index"></a><h3>The <code class="literal">“start-index”</code> property</h3>
<pre class="programlisting">  “start-index”              <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>The one-based index of the first result to be retrieved. Use <a class="link" href="GDataQuery.html#gdata-query-next-page" title="gdata_query_next_page ()"><code class="function">gdata_query_next_page()</code></a> and <a class="link" href="GDataQuery.html#gdata-query-previous-page" title="gdata_query_previous_page ()"><code class="function">gdata_query_previous_page()</code></a> to
implement pagination, rather than manually changing <a class="link" href="GDataQuery.html#GDataQuery--start-index" title="The “start-index” property"><span class="type">“start-index”</span></a>.</p>
<p>Use <code class="code">0</code> to not specify a start index.</p>
<p>Flags: Read / Write</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataQuery--updated-max"></a><h3>The <code class="literal">“updated-max”</code> property</h3>
<pre class="programlisting">  “updated-max”              <a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></pre>
<p>Upper bound on the entry update date, exclusive.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataQuery--updated-min"></a><h3>The <code class="literal">“updated-min”</code> property</h3>
<pre class="programlisting">  “updated-min”              <a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></pre>
<p>Lower bound on the entry update date, inclusive.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.26.1</div>
</body>
</html>