<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.5">
  <compounddef id="group__query" kind="group">
    <compoundname>query</compoundname>
    <title>Query related functions</title>
    <innerclass refid="structqdb__point__result__t" prot="public">qdb_point_result_t</innerclass>
    <innerclass refid="structqdb__query__result__t" prot="public">qdb_query_result_t</innerclass>
    <innerclass refid="structqdb__query__experimental__column__t" prot="public">qdb_query_experimental_column_t</innerclass>
    <innerclass refid="structqdb__query__experimental__result__t" prot="public">qdb_query_experimental_result_t</innerclass>
    <innerclass refid="structqdb__query__arrow__result__t" prot="public">qdb_query_arrow_result_t</innerclass>
      <sectiondef kind="enum">
      <memberdef kind="enum" id="group__query_1ga2ef4241947f78e97d66b0fb6b14ae034" prot="public" static="no">
        <name>qdb_query_result_value_type_t</name>
        <enumvalue id="group__query_1gga2ef4241947f78e97d66b0fb6b14ae034a5a095d703d617b342ed6bae826185971" prot="public">
          <name>qdb_query_result_none</name>
          <initializer>= -1</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="group__query_1gga2ef4241947f78e97d66b0fb6b14ae034ac276d95f314e82253d32fba8afcb027d" prot="public">
          <name>qdb_query_result_double</name>
          <initializer>= 0</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="group__query_1gga2ef4241947f78e97d66b0fb6b14ae034a34e2890fe13f492871b6f521e2580a8f" prot="public">
          <name>qdb_query_result_blob</name>
          <initializer>= 1</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="group__query_1gga2ef4241947f78e97d66b0fb6b14ae034a3bd410eb0ff41cf4be21767651e6d883" prot="public">
          <name>qdb_query_result_int64</name>
          <initializer>= 2</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="group__query_1gga2ef4241947f78e97d66b0fb6b14ae034ae0b5e9abbeffe9f7d0cff68b785568a8" prot="public">
          <name>qdb_query_result_timestamp</name>
          <initializer>= 3</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="group__query_1gga2ef4241947f78e97d66b0fb6b14ae034a7ad0dd7daf63e6567a00448fc20c79dc" prot="public">
          <name>qdb_query_result_count</name>
          <initializer>= 4</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="group__query_1gga2ef4241947f78e97d66b0fb6b14ae034a6bdcf531b3d945c22845514d76f183b9" prot="public">
          <name>qdb_query_result_string</name>
          <initializer>= 5</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="group__query_1gga2ef4241947f78e97d66b0fb6b14ae034a164ac9cb644fa6847c38f7b1b8950b83" prot="public">
          <name>qdb_query_result_array_double</name>
          <initializer>= 6</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="group__query_1gga2ef4241947f78e97d66b0fb6b14ae034a23b465042c4ce2a5af0bf8df508f3941" prot="public">
          <name>qdb_query_result_array_int64</name>
          <initializer>= 7</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="group__query_1gga2ef4241947f78e97d66b0fb6b14ae034a43f65487bb22fee68d0d8a5ec6e87e20" prot="public">
          <name>qdb_query_result_array_blob</name>
          <initializer>= 8</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="group__query_1gga2ef4241947f78e97d66b0fb6b14ae034a93ff16e2593b62ec34a9bca37251fd9d" prot="public">
          <name>qdb_query_result_array_timestamp</name>
          <initializer>= 9</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="group__query_1gga2ef4241947f78e97d66b0fb6b14ae034a34649be5bb187a7eee053dcabc7bc64d" prot="public">
          <name>qdb_query_result_array_string</name>
          <initializer>= 10</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <briefdescription>
<para>The type of a result. </para>        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" line="77" column="1" bodyfile="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" bodystart="76" bodyend="91"/>
      </memberdef>
      <memberdef kind="enum" id="group__query_1ga561309e1b170cb3d0713eb45a3f3b4d2" prot="public" static="no">
        <name>qdb_query_continuous_mode_type_t</name>
        <enumvalue id="group__query_1gga561309e1b170cb3d0713eb45a3f3b4d2a3062b579c420ede5d35aa17b055a1b06" prot="public">
          <name>qdb_query_continuous_full</name>
          <initializer>= 0</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="group__query_1gga561309e1b170cb3d0713eb45a3f3b4d2ac4bd5f36f68aaa573175b7bb6baff7f7" prot="public">
          <name>qdb_query_continuous_new_values_only</name>
          <initializer>= 1</initializer>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <briefdescription>
<para>The continuous query mode. </para>        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" line="460" column="1" bodyfile="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" bodystart="459" bodyend="463"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="typedef">
      <memberdef kind="typedef" id="group__query_1gaad8e81a52946e144259ad6a182abd2a7" prot="public" static="no">
        <type>enum <ref refid="group__query_1ga2ef4241947f78e97d66b0fb6b14ae034" kindref="member">qdb_query_result_value_type_t</ref></type>
        <definition>typedef enum qdb_query_result_value_type_t  qdb_query_result_value_type_t</definition>
        <argsstring></argsstring>
        <name>qdb_query_result_value_type_t</name>
        <briefdescription>
<para>The type of a result. </para>        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" line="91" column="1"/>
      </memberdef>
      <memberdef kind="typedef" id="group__query_1ga625a5395113ca24c20c5dd206265a889" prot="public" static="no">
        <type>enum <ref refid="group__query_1ga561309e1b170cb3d0713eb45a3f3b4d2" kindref="member">qdb_query_continuous_mode_type_t</ref></type>
        <definition>typedef enum qdb_query_continuous_mode_type_t  qdb_query_continuous_mode_type_t</definition>
        <argsstring></argsstring>
        <name>qdb_query_continuous_mode_type_t</name>
        <briefdescription>
<para>The continuous query mode. </para>        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" line="463" column="1"/>
      </memberdef>
      <memberdef kind="typedef" id="group__query_1ga758705a2f29360e1083cbf51a3f64b87" prot="public" static="no">
        <type>struct qdb_dedup_handle_internal *</type>
        <definition>qdb_dedup_handle_t</definition>
        <argsstring></argsstring>
        <name>qdb_dedup_handle_t</name>
        <briefdescription>
<para>An opaque handle to internal API-allocated structures needed for deduplicating query results. </para>        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" line="377" column="1" bodyfile="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" bodystart="376" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="group__query_1ga156a90a6d84f2999ec364608b8aacd48" prot="public" static="no">
        <type>struct qdb_query_cont_internal *</type>
        <definition>qdb_query_cont_handle_t</definition>
        <argsstring></argsstring>
        <name>qdb_query_cont_handle_t</name>
        <briefdescription>
<para>An opaque handle to internal API-allocated structures needed for managing a continuous query. </para>        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" line="443" column="1" bodyfile="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" bodystart="442" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="group__query_1ga9b90f1a1e865de27c37a913fcb834cd3" prot="public" static="no">
        <type>int</type>
        <definition>qdb_query_cont_callback_t</definition>
        <argsstring>(void *, qdb_error_t, const qdb_query_result_t *)</argsstring>
        <name>qdb_query_cont_callback_t</name>
        <briefdescription>
<para>A callback used by qdb_query_continuous. The first parameter of the callback will receive the context given when calling qdb_query_continuous The second parameter is the error result of the operation The third parameter are the new results for the query since the callback has been last called. </para>        </briefdescription>
        <detaileddescription>
<para><simplesect kind="see"><para><ref refid="group__query_1ga5ce855ef89e5928e46feefc7680db03d" kindref="member">qdb_query_continuous</ref> </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" line="454" column="1" bodyfile="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" bodystart="455" bodyend="-1"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="func">
      <memberdef kind="function" id="group__query_1gaa66b306cf5e4958bc8ee88c4c47fe773" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__attr_1ga008cbf050a89152ec67d33e534cd3012" kindref="member">QDB_API_LINKAGE</ref> <ref refid="group__error_1ga365e768c3ca0f6387d8798eb98c40443" kindref="member">qdb_error_t</ref></type>
        <definition>QDB_API_LINKAGE qdb_error_t qdb_query_find</definition>
        <argsstring>(qdb_handle_t handle, const char *query, const char ***aliases, size_t *alias_count)</argsstring>
        <name>qdb_query_find</name>
        <param>
          <type><ref refid="group__client_1ga720fb72da4197685cc354214e96796c1" kindref="member">qdb_handle_t</ref></type>
          <declname>handle</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>query</declname>
        </param>
        <param>
          <type>const char ***</type>
          <declname>aliases</declname>
        </param>
        <param>
          <type>size_t *</type>
          <declname>alias_count</declname>
        </param>
        <briefdescription>
<para>Retrieves all entries&apos; aliases that match the specified find query. </para>        </briefdescription>
        <detaileddescription>
<para>For the complete grammar, please refer to the documentation.</para><para>Queries are transactional.</para><para>The complexity of this function is dependent on the complexity of the query.</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>handle</parametername>
</parameternamelist>
<parameterdescription>
<para>A valid handle previously initialized by <ref refid="group__client_1gaa86900c81459a8d60b9b7b042371fa1e" kindref="member">qdb_open</ref> or <ref refid="group__client_1gab7a783a4a0cc73211ad96b9685f2c67e" kindref="member">qdb_open_tcp</ref>.</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>query</parametername>
</parameternamelist>
<parameterdescription>
<para>A pointer to a null-terminated UTF-8 string representing the query to perform.</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="out">aliases</parametername>
</parameternamelist>
<parameterdescription>
<para>A pointer to an array of null-terminated UTF-8 string that will list the aliases of the entries matching the query.</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="out">alias_count</parametername>
</parameternamelist>
<parameterdescription>
<para>A pointer to an integer that will receive the number of returned aliases.</para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>A <ref refid="group__error_1gab1b09622035af18ab20ed4fd3b61dd46" kindref="member">qdb_error_t</ref> code indicating success or failure.</para></simplesect>
<simplesect kind="see"><para><ref refid="group__client_1ga31b15fb83e60b9cb16504618616f29f3" kindref="member">qdb_release</ref> </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" line="69" column="1"/>
      </memberdef>
      <memberdef kind="function" id="group__query_1gabea1cc60780c4ff27ef8acef98dc3dbc" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__attr_1ga008cbf050a89152ec67d33e534cd3012" kindref="member">QDB_API_LINKAGE</ref> <ref refid="group__error_1ga365e768c3ca0f6387d8798eb98c40443" kindref="member">qdb_error_t</ref></type>
        <definition>QDB_API_LINKAGE qdb_error_t qdb_query</definition>
        <argsstring>(qdb_handle_t handle, const char *query, qdb_query_result_t **result)</argsstring>
        <name>qdb_query</name>
        <param>
          <type><ref refid="group__client_1ga720fb72da4197685cc354214e96796c1" kindref="member">qdb_handle_t</ref></type>
          <declname>handle</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>query</declname>
        </param>
        <param>
          <type><ref refid="structqdb__query__result__t" kindref="compound">qdb_query_result_t</ref> **</type>
          <declname>result</declname>
        </param>
        <briefdescription>
<para>Run the provided query and creates a table directory with the results. </para>        </briefdescription>
        <detaileddescription>
<para>For the complete grammar, please refer to the documentation.</para><para>Queries are transactional.</para><para>The complexity of this function is dependent on the complexity of the query.</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>handle</parametername>
</parameternamelist>
<parameterdescription>
<para>A valid handle previously initialized by <ref refid="group__client_1gaa86900c81459a8d60b9b7b042371fa1e" kindref="member">qdb_open</ref> or <ref refid="group__client_1gab7a783a4a0cc73211ad96b9685f2c67e" kindref="member">qdb_open_tcp</ref>.</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>query</parametername>
</parameternamelist>
<parameterdescription>
<para>A pointer to a null-terminated UTF-8 string representing the query to perform.</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="out">result</parametername>
</parameternamelist>
<parameterdescription>
<para>A pointer to a pointer of <ref refid="structqdb__query__result__t" kindref="compound">qdb_query_result_t</ref> that will receive the results. It must be released later with qdb_release.</para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>A <ref refid="group__error_1gab1b09622035af18ab20ed4fd3b61dd46" kindref="member">qdb_error_t</ref> code indicating success or failure.</para></simplesect>
<simplesect kind="see"><para><ref refid="group__client_1ga31b15fb83e60b9cb16504618616f29f3" kindref="member">qdb_release</ref>, <ref refid="group__option_1ga6daaa12132903b4b84fc6625ff56c469" kindref="member">qdb_option_set_client_max_parallelism</ref> </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" line="220" column="1"/>
      </memberdef>
      <memberdef kind="function" id="group__query_1gabe8d7bb10c5e84b64aa7f78517f29ad0" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__attr_1ga008cbf050a89152ec67d33e534cd3012" kindref="member">QDB_API_LINKAGE</ref> <ref refid="group__error_1ga365e768c3ca0f6387d8798eb98c40443" kindref="member">qdb_error_t</ref></type>
        <definition>QDB_API_LINKAGE qdb_error_t qdb_query_experimental</definition>
        <argsstring>(qdb_handle_t handle, const char *query, qdb_query_experimental_result_t **result)</argsstring>
        <name>qdb_query_experimental</name>
        <param>
          <type><ref refid="group__client_1ga720fb72da4197685cc354214e96796c1" kindref="member">qdb_handle_t</ref></type>
          <declname>handle</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>query</declname>
        </param>
        <param>
          <type><ref refid="structqdb__query__experimental__result__t" kindref="compound">qdb_query_experimental_result_t</ref> **</type>
          <declname>result</declname>
        </param>
        <briefdescription>
<para>Run the provided query to return a table. </para>        </briefdescription>
        <detaileddescription>
<para>Currently only supports querying some columns of a timeseries.</para><para>Queries are transactional.</para><para>The complexity of this function is dependent on the complexity of the query.</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>handle</parametername>
</parameternamelist>
<parameterdescription>
<para>A valid handle previously initialized by <ref refid="group__client_1gaa86900c81459a8d60b9b7b042371fa1e" kindref="member">qdb_open</ref> or <ref refid="group__client_1gab7a783a4a0cc73211ad96b9685f2c67e" kindref="member">qdb_open_tcp</ref>.</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>query</parametername>
</parameternamelist>
<parameterdescription>
<para>A pointer to a null-terminated UTF-8 string representing the query to perform.</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="out">result</parametername>
</parameternamelist>
<parameterdescription>
<para>A pointer to a pointer of <ref refid="structqdb__query__result__t" kindref="compound">qdb_query_result_t</ref> that will receive the results. It must be released later with qdb_release.</para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>A <ref refid="group__error_1gab1b09622035af18ab20ed4fd3b61dd46" kindref="member">qdb_error_t</ref> code indicating success or failure.</para></simplesect>
<simplesect kind="see"><para><ref refid="group__client_1ga31b15fb83e60b9cb16504618616f29f3" kindref="member">qdb_release</ref></para></simplesect>
<simplesect kind="warning"><para>This function is still under development. Performance and compatibility are not guaranteed. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" line="312" column="1"/>
      </memberdef>
      <memberdef kind="function" id="group__query_1ga132bd88fcd2dc2ef3d2934545bc72786" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__attr_1ga008cbf050a89152ec67d33e534cd3012" kindref="member">QDB_API_LINKAGE</ref> <ref refid="group__error_1ga365e768c3ca0f6387d8798eb98c40443" kindref="member">qdb_error_t</ref></type>
        <definition>QDB_API_LINKAGE qdb_error_t qdb_query_to_arrow</definition>
        <argsstring>(qdb_handle_t handle, const qdb_query_result_t *result, qdb_query_arrow_result_t **result_copy)</argsstring>
        <name>qdb_query_to_arrow</name>
        <param>
          <type><ref refid="group__client_1ga720fb72da4197685cc354214e96796c1" kindref="member">qdb_handle_t</ref></type>
          <declname>handle</declname>
        </param>
        <param>
          <type>const <ref refid="structqdb__query__result__t" kindref="compound">qdb_query_result_t</ref> *</type>
          <declname>result</declname>
        </param>
        <param>
          <type><ref refid="structqdb__query__arrow__result__t" kindref="compound">qdb_query_arrow_result_t</ref> **</type>
          <declname>result_copy</declname>
        </param>
        <briefdescription>
<para>Copies a query result to the Arrow format. </para>        </briefdescription>
        <detaileddescription>
<para>The allocated results have to be released later with <ref refid="group__client_1ga31b15fb83e60b9cb16504618616f29f3" kindref="member">qdb_release</ref>.</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>handle</parametername>
</parameternamelist>
<parameterdescription>
<para>A valid handle previously initialized by <ref refid="group__client_1gaa86900c81459a8d60b9b7b042371fa1e" kindref="member">qdb_open</ref> or <ref refid="group__client_1gab7a783a4a0cc73211ad96b9685f2c67e" kindref="member">qdb_open_tcp</ref>.</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>result</parametername>
</parameternamelist>
<parameterdescription>
<para>A pointer to a query result to clone</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="out">result_copy</parametername>
</parameternamelist>
<parameterdescription>
<para>A pointer to a a pointer that will receive API-allocated results whose content will be a copy of the source results</para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>A <ref refid="group__error_1gab1b09622035af18ab20ed4fd3b61dd46" kindref="member">qdb_error_t</ref> code indicating success or failure.</para></simplesect>
<simplesect kind="see"><para><ref refid="group__client_1ga31b15fb83e60b9cb16504618616f29f3" kindref="member">qdb_release</ref> </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" line="347" column="1"/>
      </memberdef>
      <memberdef kind="function" id="group__query_1gaab169ee70058bdb064fd6b3aa2970fb1" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__attr_1ga008cbf050a89152ec67d33e534cd3012" kindref="member">QDB_API_LINKAGE</ref> <ref refid="group__error_1ga365e768c3ca0f6387d8798eb98c40443" kindref="member">qdb_error_t</ref></type>
        <definition>QDB_API_LINKAGE qdb_error_t qdb_query_experimental_to_arrow</definition>
        <argsstring>(qdb_handle_t handle, const qdb_query_experimental_result_t *result, qdb_query_arrow_result_t **result_copy)</argsstring>
        <name>qdb_query_experimental_to_arrow</name>
        <param>
          <type><ref refid="group__client_1ga720fb72da4197685cc354214e96796c1" kindref="member">qdb_handle_t</ref></type>
          <declname>handle</declname>
        </param>
        <param>
          <type>const <ref refid="structqdb__query__experimental__result__t" kindref="compound">qdb_query_experimental_result_t</ref> *</type>
          <declname>result</declname>
        </param>
        <param>
          <type><ref refid="structqdb__query__arrow__result__t" kindref="compound">qdb_query_arrow_result_t</ref> **</type>
          <declname>result_copy</declname>
        </param>
        <briefdescription>
<para>Copies a query result to the Arrow format. </para>        </briefdescription>
        <detaileddescription>
<para>The allocated results have to be released later with <ref refid="group__client_1ga31b15fb83e60b9cb16504618616f29f3" kindref="member">qdb_release</ref>.</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>handle</parametername>
</parameternamelist>
<parameterdescription>
<para>A valid handle previously initialized by <ref refid="group__client_1gaa86900c81459a8d60b9b7b042371fa1e" kindref="member">qdb_open</ref> or <ref refid="group__client_1gab7a783a4a0cc73211ad96b9685f2c67e" kindref="member">qdb_open_tcp</ref>.</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>result</parametername>
</parameternamelist>
<parameterdescription>
<para>A pointer to a query result to clone</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="out">result_copy</parametername>
</parameternamelist>
<parameterdescription>
<para>A pointer to a a pointer that will receive API-allocated results whose content will be a copy of the source results</para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>A <ref refid="group__error_1gab1b09622035af18ab20ed4fd3b61dd46" kindref="member">qdb_error_t</ref> code indicating success or failure.</para></simplesect>
<simplesect kind="see"><para><ref refid="group__client_1ga31b15fb83e60b9cb16504618616f29f3" kindref="member">qdb_release</ref> </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" line="367" column="1"/>
      </memberdef>
      <memberdef kind="function" id="group__query_1gad920a0f9236f7e04e46b0277c9116106" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__attr_1ga008cbf050a89152ec67d33e534cd3012" kindref="member">QDB_API_LINKAGE</ref> <ref refid="group__error_1ga365e768c3ca0f6387d8798eb98c40443" kindref="member">qdb_error_t</ref></type>
        <definition>QDB_API_LINKAGE qdb_error_t qdb_init_query_dedup</definition>
        <argsstring>(qdb_handle_t handle, qdb_dedup_handle_t *dedup_handle)</argsstring>
        <name>qdb_init_query_dedup</name>
        <param>
          <type><ref refid="group__client_1ga720fb72da4197685cc354214e96796c1" kindref="member">qdb_handle_t</ref></type>
          <declname>handle</declname>
        </param>
        <param>
          <type><ref refid="group__query_1ga758705a2f29360e1083cbf51a3f64b87" kindref="member">qdb_dedup_handle_t</ref> *</type>
          <declname>dedup_handle</declname>
        </param>
        <briefdescription>
<para>Creates a <ref refid="group__query_1ga758705a2f29360e1083cbf51a3f64b87" kindref="member">qdb_dedup_handle_t</ref>. </para>        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>handle</parametername>
</parameternamelist>
<parameterdescription>
<para>A valid handle previously initialized by <ref refid="group__client_1gaa86900c81459a8d60b9b7b042371fa1e" kindref="member">qdb_open</ref> or <ref refid="group__client_1gab7a783a4a0cc73211ad96b9685f2c67e" kindref="member">qdb_open_tcp</ref>.</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="out">dedup_handle</parametername>
</parameternamelist>
<parameterdescription>
<para>A pointer to a <ref refid="group__query_1ga758705a2f29360e1083cbf51a3f64b87" kindref="member">qdb_dedup_handle_t</ref> that will be ready for deduplicating query results. It must be released later with qdb_release.</para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>A <ref refid="group__error_1gab1b09622035af18ab20ed4fd3b61dd46" kindref="member">qdb_error_t</ref> code indicating success or failure.</para></simplesect>
<simplesect kind="see"><para><ref refid="group__client_1ga31b15fb83e60b9cb16504618616f29f3" kindref="member">qdb_release</ref> </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" line="393" column="1"/>
      </memberdef>
      <memberdef kind="function" id="group__query_1ga5419fac30ee52ea43f248c90139b9d98" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__attr_1ga008cbf050a89152ec67d33e534cd3012" kindref="member">QDB_API_LINKAGE</ref> <ref refid="group__error_1ga365e768c3ca0f6387d8798eb98c40443" kindref="member">qdb_error_t</ref></type>
        <definition>QDB_API_LINKAGE qdb_error_t qdb_query_dedup</definition>
        <argsstring>(qdb_dedup_handle_t dedup_handle, const qdb_query_result_t *result, qdb_query_result_t **dedup_result)</argsstring>
        <name>qdb_query_dedup</name>
        <param>
          <type><ref refid="group__query_1ga758705a2f29360e1083cbf51a3f64b87" kindref="member">qdb_dedup_handle_t</ref></type>
          <declname>dedup_handle</declname>
        </param>
        <param>
          <type>const <ref refid="structqdb__query__result__t" kindref="compound">qdb_query_result_t</ref> *</type>
          <declname>result</declname>
        </param>
        <param>
          <type><ref refid="structqdb__query__result__t" kindref="compound">qdb_query_result_t</ref> **</type>
          <declname>dedup_result</declname>
        </param>
        <briefdescription>
<para>Deduplicates query results. </para>        </briefdescription>
        <detaileddescription>
<para>Rows already seen by previous calls to qdb_query_dedup for the given deduplication handler will not be included in the deduplicated results.</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>dedup_handle</parametername>
</parameternamelist>
<parameterdescription>
<para>A valid deduplication handle previously initialized by <ref refid="group__query_1gad920a0f9236f7e04e46b0277c9116106" kindref="member">qdb_init_query_dedup</ref>.</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>result</parametername>
</parameternamelist>
<parameterdescription>
<para>A pointer to a <ref refid="structqdb__query__result__t" kindref="compound">qdb_query_result_t</ref> that holds the results from a previous call to <ref refid="group__query_1gabea1cc60780c4ff27ef8acef98dc3dbc" kindref="member">qdb_query</ref>. Results given to a deduplication filter must all come from the same query, but different ranges or where clauses are allowed.</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="out">dedup_result</parametername>
</parameternamelist>
<parameterdescription>
<para>A pointer to a pointer of <ref refid="structqdb__query__result__t" kindref="compound">qdb_query_result_t</ref> that will receive the deduplicated results. It must be released later with qdb_release.</para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>A <ref refid="group__error_1gab1b09622035af18ab20ed4fd3b61dd46" kindref="member">qdb_error_t</ref> code indicating success or failure.</para></simplesect>
<simplesect kind="see"><para><ref refid="group__client_1ga31b15fb83e60b9cb16504618616f29f3" kindref="member">qdb_release</ref> </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" line="418" column="1"/>
      </memberdef>
      <memberdef kind="function" id="group__query_1gae92fb031cb56500163c2441b363bf071" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__attr_1ga008cbf050a89152ec67d33e534cd3012" kindref="member">QDB_API_LINKAGE</ref> <ref refid="group__error_1ga365e768c3ca0f6387d8798eb98c40443" kindref="member">qdb_error_t</ref></type>
        <definition>QDB_API_LINKAGE qdb_error_t qdb_query_dedup_prune</definition>
        <argsstring>(qdb_dedup_handle_t dedup_handle, const qdb_ts_range_t *range)</argsstring>
        <name>qdb_query_dedup_prune</name>
        <param>
          <type><ref refid="group__query_1ga758705a2f29360e1083cbf51a3f64b87" kindref="member">qdb_dedup_handle_t</ref></type>
          <declname>dedup_handle</declname>
        </param>
        <param>
          <type>const <ref refid="structqdb__ts__range__t" kindref="compound">qdb_ts_range_t</ref> *</type>
          <declname>range</declname>
        </param>
        <briefdescription>
<para>Removes previously seen rows from the given deduplication handler. </para>        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>dedup_handle</parametername>
</parameternamelist>
<parameterdescription>
<para>A valid deduplication handle previously initialized by <ref refid="group__query_1gad920a0f9236f7e04e46b0277c9116106" kindref="member">qdb_init_query_dedup</ref>. If the $timestamp special column hasn&apos;t been selected all rows are removed.</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>range</parametername>
</parameternamelist>
<parameterdescription>
<para>A pointer to a <ref refid="structqdb__ts__range__t" kindref="compound">qdb_ts_range_t</ref> (interval) for which rows should be removed.</para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>A <ref refid="group__error_1gab1b09622035af18ab20ed4fd3b61dd46" kindref="member">qdb_error_t</ref> code indicating success or failure. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" line="435" column="1"/>
      </memberdef>
      <memberdef kind="function" id="group__query_1ga5ce855ef89e5928e46feefc7680db03d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__attr_1ga008cbf050a89152ec67d33e534cd3012" kindref="member">QDB_API_LINKAGE</ref> <ref refid="group__error_1ga365e768c3ca0f6387d8798eb98c40443" kindref="member">qdb_error_t</ref></type>
        <definition>QDB_API_LINKAGE qdb_error_t qdb_query_continuous</definition>
        <argsstring>(qdb_handle_t handle, const char *query, qdb_query_continuous_mode_type_t mode, qdb_query_cont_callback_t cb, void *cb_context, qdb_query_cont_handle_t *cont_handle)</argsstring>
        <name>qdb_query_continuous</name>
        <param>
          <type><ref refid="group__client_1ga720fb72da4197685cc354214e96796c1" kindref="member">qdb_handle_t</ref></type>
          <declname>handle</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>query</declname>
        </param>
        <param>
          <type><ref refid="group__query_1ga561309e1b170cb3d0713eb45a3f3b4d2" kindref="member">qdb_query_continuous_mode_type_t</ref></type>
          <declname>mode</declname>
        </param>
        <param>
          <type><ref refid="group__query_1ga9b90f1a1e865de27c37a913fcb834cd3" kindref="member">qdb_query_cont_callback_t</ref></type>
          <declname>cb</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>cb_context</declname>
        </param>
        <param>
          <type><ref refid="group__query_1ga156a90a6d84f2999ec364608b8aacd48" kindref="member">qdb_query_cont_handle_t</ref> *</type>
          <declname>cont_handle</declname>
        </param>
        <briefdescription>
<para>Continuously and efficiently query the server with the given query. </para>        </briefdescription>
        <detaileddescription>
<para>A continuous query receives results in a callback asynchronously as they are available on the server. This API uses push notifications from the server to minimize data exchange and resource usage.</para><para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>handle</parametername>
</parameternamelist>
<parameterdescription>
<para>A valid handle previously initialized by <ref refid="group__client_1gaa86900c81459a8d60b9b7b042371fa1e" kindref="member">qdb_open</ref> or <ref refid="group__client_1gab7a783a4a0cc73211ad96b9685f2c67e" kindref="member">qdb_open_tcp</ref>.</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>query</parametername>
</parameternamelist>
<parameterdescription>
<para>A pointer to a null-terminated UTF-8 string representing the query to perform. Any valid QuasarDB query is supported.</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>mode</parametername>
</parameternamelist>
<parameterdescription>
<para>The mode of the query. Full will return all values at every call whereas new values will only deliver updates values.</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cb</parametername>
</parameternamelist>
<parameterdescription>
<para>A pointer to a function that will be called when new data is available</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>cb_context</parametername>
</parameternamelist>
<parameterdescription>
<para>An opaque pointer to any client managed structure to pass to the callback. May be null if no context is needed.</para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="out">cont_handle</parametername>
</parameternamelist>
<parameterdescription>
<para>A handle to the continuous query handle. Updates to the query will be received until qdb_release is called on this handle.</para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>A <ref refid="group__error_1gab1b09622035af18ab20ed4fd3b61dd46" kindref="member">qdb_error_t</ref> code indicating success or failure. </para></simplesect>
<simplesect kind="see"><para><ref refid="group__client_1ga31b15fb83e60b9cb16504618616f29f3" kindref="member">qdb_release</ref> </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/mnt/resource/TeamCity/work/3d07d6036e644765/api/include/qdb/query.h" line="495" column="1"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
  </compounddef>
</doxygen>
