| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| <meta name="generator" content="Doxygen 1.8.17"/> |
| <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| <title> Apache Ignite C++: ignite::cache::query::SqlQuery Class Reference</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="jquery.js"></script> |
| <script type="text/javascript" src="dynsections.js"></script> |
| <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="search/searchdata.js"></script> |
| <script type="text/javascript" src="search/search.js"></script> |
| <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| </head> |
| <body> |
| <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| <div id="titlearea"> |
| <table cellspacing="0" cellpadding="0"> |
| <tbody> |
| <tr style="height: 56px;"> |
| <td id="projectlogo"><img alt="Logo" src="ignite_logo.png"/></td> |
| <td id="projectalign" style="padding-left: 0.5em;"> |
| <div id="projectname"> Apache Ignite C++ |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.17 --> |
| <script type="text/javascript"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| /* @license-end */ |
| </script> |
| <script type="text/javascript" src="menudata.js"></script> |
| <script type="text/javascript" src="menu.js"></script> |
| <script type="text/javascript"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| $(function() { |
| initMenu('',true,false,'search.php','Search'); |
| $(document).ready(function() { init_search(); }); |
| }); |
| /* @license-end */</script> |
| <div id="main-nav"></div> |
| <!-- window showing the filter options --> |
| <div id="MSearchSelectWindow" |
| onmouseover="return searchBox.OnSearchSelectShow()" |
| onmouseout="return searchBox.OnSearchSelectHide()" |
| onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| </div> |
| |
| <!-- iframe showing the search results (closed by default) --> |
| <div id="MSearchResultsWindow"> |
| <iframe src="javascript:void(0)" frameborder="0" |
| name="MSearchResults" id="MSearchResults"> |
| </iframe> |
| </div> |
| |
| <div id="nav-path" class="navpath"> |
| <ul> |
| <li class="navelem"><a class="el" href="namespaceignite.html">ignite</a></li><li class="navelem"><a class="el" href="namespaceignite_1_1cache.html">cache</a></li><li class="navelem"><a class="el" href="namespaceignite_1_1cache_1_1query.html">query</a></li><li class="navelem"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html">SqlQuery</a></li> </ul> |
| </div> |
| </div><!-- top --> |
| <div class="header"> |
| <div class="summary"> |
| <a href="#pub-methods">Public Member Functions</a> | |
| <a href="classignite_1_1cache_1_1query_1_1SqlQuery-members.html">List of all members</a> </div> |
| <div class="headertitle"> |
| <div class="title">ignite::cache::query::SqlQuery Class Reference</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| |
| <p>Sql query. |
| <a href="classignite_1_1cache_1_1query_1_1SqlQuery.html#details">More...</a></p> |
| |
| <p><code>#include <<a class="el" href="query__sql_8h_source.html">query_sql.h</a>></code></p> |
| <table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| Public Member Functions</h2></td></tr> |
| <tr class="memitem:aaa012e38597bf19751ebfb44642d1eec"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html#aaa012e38597bf19751ebfb44642d1eec">SqlQuery</a> (const std::string &type, const std::string &sql)</td></tr> |
| <tr class="memdesc:aaa012e38597bf19751ebfb44642d1eec"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="classignite_1_1cache_1_1query_1_1SqlQuery.html#aaa012e38597bf19751ebfb44642d1eec">More...</a><br /></td></tr> |
| <tr class="separator:aaa012e38597bf19751ebfb44642d1eec"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:afd18d1a83311dc68fe37629846849bc1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html#afd18d1a83311dc68fe37629846849bc1">SqlQuery</a> (const <a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html">SqlQuery</a> &other)</td></tr> |
| <tr class="memdesc:afd18d1a83311dc68fe37629846849bc1"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="classignite_1_1cache_1_1query_1_1SqlQuery.html#afd18d1a83311dc68fe37629846849bc1">More...</a><br /></td></tr> |
| <tr class="separator:afd18d1a83311dc68fe37629846849bc1"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ac31b6077c52d6875b0b5ebd8634b37e5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html">SqlQuery</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html#ac31b6077c52d6875b0b5ebd8634b37e5">operator=</a> (const <a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html">SqlQuery</a> &other)</td></tr> |
| <tr class="memdesc:ac31b6077c52d6875b0b5ebd8634b37e5"><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <a href="classignite_1_1cache_1_1query_1_1SqlQuery.html#ac31b6077c52d6875b0b5ebd8634b37e5">More...</a><br /></td></tr> |
| <tr class="separator:ac31b6077c52d6875b0b5ebd8634b37e5"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:af486d65c8b0004ec7fb1633b1400c986"><td class="memItemLeft" align="right" valign="top"><a id="af486d65c8b0004ec7fb1633b1400c986"></a> |
|  </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html#af486d65c8b0004ec7fb1633b1400c986">~SqlQuery</a> ()</td></tr> |
| <tr class="memdesc:af486d65c8b0004ec7fb1633b1400c986"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br /></td></tr> |
| <tr class="separator:af486d65c8b0004ec7fb1633b1400c986"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a5591e0ffb6e596985bc9fc575d838c89"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html#a5591e0ffb6e596985bc9fc575d838c89">Swap</a> (<a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html">SqlQuery</a> &other)</td></tr> |
| <tr class="memdesc:a5591e0ffb6e596985bc9fc575d838c89"><td class="mdescLeft"> </td><td class="mdescRight">Efficiently swaps contents with another <a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html" title="Sql query.">SqlQuery</a> instance. <a href="classignite_1_1cache_1_1query_1_1SqlQuery.html#a5591e0ffb6e596985bc9fc575d838c89">More...</a><br /></td></tr> |
| <tr class="separator:a5591e0ffb6e596985bc9fc575d838c89"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a387e39f4999587a8a28841c0646a9572"><td class="memItemLeft" align="right" valign="top">const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html#a387e39f4999587a8a28841c0646a9572">GetType</a> () const</td></tr> |
| <tr class="memdesc:a387e39f4999587a8a28841c0646a9572"><td class="mdescLeft"> </td><td class="mdescRight">Get type name. <a href="classignite_1_1cache_1_1query_1_1SqlQuery.html#a387e39f4999587a8a28841c0646a9572">More...</a><br /></td></tr> |
| <tr class="separator:a387e39f4999587a8a28841c0646a9572"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a5609ce4f4005383181bf24c0768a7846"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html#a5609ce4f4005383181bf24c0768a7846">SetType</a> (const std::string &type)</td></tr> |
| <tr class="memdesc:a5609ce4f4005383181bf24c0768a7846"><td class="mdescLeft"> </td><td class="mdescRight">Set type name. <a href="classignite_1_1cache_1_1query_1_1SqlQuery.html#a5609ce4f4005383181bf24c0768a7846">More...</a><br /></td></tr> |
| <tr class="separator:a5609ce4f4005383181bf24c0768a7846"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a55915234f00d90623bc1d972954dd377"><td class="memItemLeft" align="right" valign="top">const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html#a55915234f00d90623bc1d972954dd377">GetSql</a> () const</td></tr> |
| <tr class="memdesc:a55915234f00d90623bc1d972954dd377"><td class="mdescLeft"> </td><td class="mdescRight">Get SQL string. <a href="classignite_1_1cache_1_1query_1_1SqlQuery.html#a55915234f00d90623bc1d972954dd377">More...</a><br /></td></tr> |
| <tr class="separator:a55915234f00d90623bc1d972954dd377"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aa4e9e9a79ea5ddbf8c8c0aada68f3b6d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html#aa4e9e9a79ea5ddbf8c8c0aada68f3b6d">SetSql</a> (const std::string &sql)</td></tr> |
| <tr class="memdesc:aa4e9e9a79ea5ddbf8c8c0aada68f3b6d"><td class="mdescLeft"> </td><td class="mdescRight">Set SQL string. <a href="classignite_1_1cache_1_1query_1_1SqlQuery.html#aa4e9e9a79ea5ddbf8c8c0aada68f3b6d">More...</a><br /></td></tr> |
| <tr class="separator:aa4e9e9a79ea5ddbf8c8c0aada68f3b6d"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a291f621c4efd4f7de894230718e5098a"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html#a291f621c4efd4f7de894230718e5098a">GetPageSize</a> () const</td></tr> |
| <tr class="memdesc:a291f621c4efd4f7de894230718e5098a"><td class="mdescLeft"> </td><td class="mdescRight">Get page size. <a href="classignite_1_1cache_1_1query_1_1SqlQuery.html#a291f621c4efd4f7de894230718e5098a">More...</a><br /></td></tr> |
| <tr class="separator:a291f621c4efd4f7de894230718e5098a"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aadf500528211e00a43cf7b87c0d0051f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html#aadf500528211e00a43cf7b87c0d0051f">SetPageSize</a> (int32_t pageSize)</td></tr> |
| <tr class="memdesc:aadf500528211e00a43cf7b87c0d0051f"><td class="mdescLeft"> </td><td class="mdescRight">Set page size. <a href="classignite_1_1cache_1_1query_1_1SqlQuery.html#aadf500528211e00a43cf7b87c0d0051f">More...</a><br /></td></tr> |
| <tr class="separator:aadf500528211e00a43cf7b87c0d0051f"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ad0e00541ef3e200bbde603079cf29d8d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html#ad0e00541ef3e200bbde603079cf29d8d">IsLocal</a> () const</td></tr> |
| <tr class="memdesc:ad0e00541ef3e200bbde603079cf29d8d"><td class="mdescLeft"> </td><td class="mdescRight">Get local flag. <a href="classignite_1_1cache_1_1query_1_1SqlQuery.html#ad0e00541ef3e200bbde603079cf29d8d">More...</a><br /></td></tr> |
| <tr class="separator:ad0e00541ef3e200bbde603079cf29d8d"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a907b6e4a5c4ea7ca6f80a3b687091f22"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html#a907b6e4a5c4ea7ca6f80a3b687091f22">SetLocal</a> (bool loc)</td></tr> |
| <tr class="memdesc:a907b6e4a5c4ea7ca6f80a3b687091f22"><td class="mdescLeft"> </td><td class="mdescRight">Set local flag. <a href="classignite_1_1cache_1_1query_1_1SqlQuery.html#a907b6e4a5c4ea7ca6f80a3b687091f22">More...</a><br /></td></tr> |
| <tr class="separator:a907b6e4a5c4ea7ca6f80a3b687091f22"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a87ce4576992dad0a4e15e2a48d51e881"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html#a87ce4576992dad0a4e15e2a48d51e881">IsDistributedJoins</a> () const</td></tr> |
| <tr class="memdesc:a87ce4576992dad0a4e15e2a48d51e881"><td class="mdescLeft"> </td><td class="mdescRight">Check if distributed joins are enabled for this query. <a href="classignite_1_1cache_1_1query_1_1SqlQuery.html#a87ce4576992dad0a4e15e2a48d51e881">More...</a><br /></td></tr> |
| <tr class="separator:a87ce4576992dad0a4e15e2a48d51e881"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aeb4896f55a3231852a8840eab1758f3c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html#aeb4896f55a3231852a8840eab1758f3c">SetDistributedJoins</a> (bool enabled)</td></tr> |
| <tr class="memdesc:aeb4896f55a3231852a8840eab1758f3c"><td class="mdescLeft"> </td><td class="mdescRight">Specify if distributed joins are enabled for this query. <a href="classignite_1_1cache_1_1query_1_1SqlQuery.html#aeb4896f55a3231852a8840eab1758f3c">More...</a><br /></td></tr> |
| <tr class="separator:aeb4896f55a3231852a8840eab1758f3c"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ac12b5dbd6439fe7f50d6eb86c06a06ea"><td class="memTemplParams" colspan="2">template<typename T > </td></tr> |
| <tr class="memitem:ac12b5dbd6439fe7f50d6eb86c06a06ea"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html#ac12b5dbd6439fe7f50d6eb86c06a06ea">AddArgument</a> (const T &arg)</td></tr> |
| <tr class="memdesc:ac12b5dbd6439fe7f50d6eb86c06a06ea"><td class="mdescLeft"> </td><td class="mdescRight">Add argument. <a href="classignite_1_1cache_1_1query_1_1SqlQuery.html#ac12b5dbd6439fe7f50d6eb86c06a06ea">More...</a><br /></td></tr> |
| <tr class="separator:ac12b5dbd6439fe7f50d6eb86c06a06ea"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a8cd0867cc21f034ce965bdafa21412e6"><td class="memItemLeft" align="right" valign="top"><a id="a8cd0867cc21f034ce965bdafa21412e6"></a> |
| void </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html#a8cd0867cc21f034ce965bdafa21412e6">ClearArguments</a> ()</td></tr> |
| <tr class="memdesc:a8cd0867cc21f034ce965bdafa21412e6"><td class="mdescLeft"> </td><td class="mdescRight">Remove all added arguments. <br /></td></tr> |
| <tr class="separator:a8cd0867cc21f034ce965bdafa21412e6"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a0bcba60e838f99e71066f69a930f61da"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html#a0bcba60e838f99e71066f69a930f61da">Write</a> (<a class="el" href="classignite_1_1binary_1_1BinaryRawWriter.html">binary::BinaryRawWriter</a> &writer) const</td></tr> |
| <tr class="memdesc:a0bcba60e838f99e71066f69a930f61da"><td class="mdescLeft"> </td><td class="mdescRight">Write query info to the stream. <a href="classignite_1_1cache_1_1query_1_1SqlQuery.html#a0bcba60e838f99e71066f69a930f61da">More...</a><br /></td></tr> |
| <tr class="separator:a0bcba60e838f99e71066f69a930f61da"><td class="memSeparator" colspan="2"> </td></tr> |
| </table> |
| <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| <div class="textblock"><p>Sql query. </p> |
| <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000002">Deprecated:</a></b></dt><dd>Will be removed in future releases. Use <a class="el" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html" title="Sql fields query.">SqlFieldsQuery</a> instead. </dd></dl> |
| </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| <a id="aaa012e38597bf19751ebfb44642d1eec"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#aaa012e38597bf19751ebfb44642d1eec">◆ </a></span>SqlQuery() <span class="overload">[1/2]</span></h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">ignite::cache::query::SqlQuery::SqlQuery </td> |
| <td>(</td> |
| <td class="paramtype">const std::string & </td> |
| <td class="paramname"><em>type</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">const std::string & </td> |
| <td class="paramname"><em>sql</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Constructor. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">type</td><td>Type name. </td></tr> |
| <tr><td class="paramname">sql</td><td>SQL string. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a id="afd18d1a83311dc68fe37629846849bc1"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#afd18d1a83311dc68fe37629846849bc1">◆ </a></span>SqlQuery() <span class="overload">[2/2]</span></h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">ignite::cache::query::SqlQuery::SqlQuery </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html">SqlQuery</a> & </td> |
| <td class="paramname"><em>other</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Copy constructor. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">other</td><td>Other instance. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <h2 class="groupheader">Member Function Documentation</h2> |
| <a id="ac12b5dbd6439fe7f50d6eb86c06a06ea"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#ac12b5dbd6439fe7f50d6eb86c06a06ea">◆ </a></span>AddArgument()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<typename T > </div> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void ignite::cache::query::SqlQuery::AddArgument </td> |
| <td>(</td> |
| <td class="paramtype">const T & </td> |
| <td class="paramname"><em>arg</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Add argument. </p> |
| <p>Template argument type should be copy-constructable and assignable. Also BinaryType class template should be specialized for this type.</p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">arg</td><td>Argument. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a id="a291f621c4efd4f7de894230718e5098a"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a291f621c4efd4f7de894230718e5098a">◆ </a></span>GetPageSize()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">int32_t ignite::cache::query::SqlQuery::GetPageSize </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Get page size. </p> |
| <dl class="section return"><dt>Returns</dt><dd>Page size. </dd></dl> |
| |
| </div> |
| </div> |
| <a id="a55915234f00d90623bc1d972954dd377"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a55915234f00d90623bc1d972954dd377">◆ </a></span>GetSql()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">const std::string& ignite::cache::query::SqlQuery::GetSql </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Get SQL string. </p> |
| <dl class="section return"><dt>Returns</dt><dd>SQL string. </dd></dl> |
| |
| </div> |
| </div> |
| <a id="a387e39f4999587a8a28841c0646a9572"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a387e39f4999587a8a28841c0646a9572">◆ </a></span>GetType()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">const std::string& ignite::cache::query::SqlQuery::GetType </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Get type name. </p> |
| <dl class="section return"><dt>Returns</dt><dd>Type name. </dd></dl> |
| |
| </div> |
| </div> |
| <a id="a87ce4576992dad0a4e15e2a48d51e881"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a87ce4576992dad0a4e15e2a48d51e881">◆ </a></span>IsDistributedJoins()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">bool ignite::cache::query::SqlQuery::IsDistributedJoins </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Check if distributed joins are enabled for this query. </p> |
| <dl class="section return"><dt>Returns</dt><dd>True If distributed joind enabled. </dd></dl> |
| |
| </div> |
| </div> |
| <a id="ad0e00541ef3e200bbde603079cf29d8d"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#ad0e00541ef3e200bbde603079cf29d8d">◆ </a></span>IsLocal()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">bool ignite::cache::query::SqlQuery::IsLocal </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Get local flag. </p> |
| <dl class="section return"><dt>Returns</dt><dd>Local flag. </dd></dl> |
| |
| </div> |
| </div> |
| <a id="ac31b6077c52d6875b0b5ebd8634b37e5"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#ac31b6077c52d6875b0b5ebd8634b37e5">◆ </a></span>operator=()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html">SqlQuery</a>& ignite::cache::query::SqlQuery::operator= </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html">SqlQuery</a> & </td> |
| <td class="paramname"><em>other</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Assignment operator. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">other</td><td>Other instance. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a id="aeb4896f55a3231852a8840eab1758f3c"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#aeb4896f55a3231852a8840eab1758f3c">◆ </a></span>SetDistributedJoins()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void ignite::cache::query::SqlQuery::SetDistributedJoins </td> |
| <td>(</td> |
| <td class="paramtype">bool </td> |
| <td class="paramname"><em>enabled</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Specify if distributed joins are enabled for this query. </p> |
| <p>When disabled, join results will only contain colocated data (joins work locally). When enabled, joins work as expected, no matter how the data is distributed.</p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">enabled</td><td>Distributed joins enabled. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a id="a907b6e4a5c4ea7ca6f80a3b687091f22"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a907b6e4a5c4ea7ca6f80a3b687091f22">◆ </a></span>SetLocal()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void ignite::cache::query::SqlQuery::SetLocal </td> |
| <td>(</td> |
| <td class="paramtype">bool </td> |
| <td class="paramname"><em>loc</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Set local flag. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">loc</td><td>Local flag. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a id="aadf500528211e00a43cf7b87c0d0051f"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#aadf500528211e00a43cf7b87c0d0051f">◆ </a></span>SetPageSize()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void ignite::cache::query::SqlQuery::SetPageSize </td> |
| <td>(</td> |
| <td class="paramtype">int32_t </td> |
| <td class="paramname"><em>pageSize</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Set page size. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">pageSize</td><td>Page size. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a id="aa4e9e9a79ea5ddbf8c8c0aada68f3b6d"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#aa4e9e9a79ea5ddbf8c8c0aada68f3b6d">◆ </a></span>SetSql()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void ignite::cache::query::SqlQuery::SetSql </td> |
| <td>(</td> |
| <td class="paramtype">const std::string & </td> |
| <td class="paramname"><em>sql</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Set SQL string. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">sql</td><td>SQL string. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a id="a5609ce4f4005383181bf24c0768a7846"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a5609ce4f4005383181bf24c0768a7846">◆ </a></span>SetType()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void ignite::cache::query::SqlQuery::SetType </td> |
| <td>(</td> |
| <td class="paramtype">const std::string & </td> |
| <td class="paramname"><em>type</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Set type name. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">sql</td><td>Type name. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a id="a5591e0ffb6e596985bc9fc575d838c89"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a5591e0ffb6e596985bc9fc575d838c89">◆ </a></span>Swap()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void ignite::cache::query::SqlQuery::Swap </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html">SqlQuery</a> & </td> |
| <td class="paramname"><em>other</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Efficiently swaps contents with another <a class="el" href="classignite_1_1cache_1_1query_1_1SqlQuery.html" title="Sql query.">SqlQuery</a> instance. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">other</td><td>Other instance. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <a id="a0bcba60e838f99e71066f69a930f61da"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a0bcba60e838f99e71066f69a930f61da">◆ </a></span>Write()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void ignite::cache::query::SqlQuery::Write </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classignite_1_1binary_1_1BinaryRawWriter.html">binary::BinaryRawWriter</a> & </td> |
| <td class="paramname"><em>writer</em></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Write query info to the stream. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">writer</td><td>Writer. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following file:<ul> |
| <li><a class="el" href="query__sql_8h_source.html">query_sql.h</a></li> |
| </ul> |
| </div><!-- contents --> |
| <!-- start footer part --> |
| <hr class="footer"/><address class="footer"><small> |
| Generated on Mon Jan 10 2022 11:02:04 for Apache Ignite C++ by  <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/> |
| </a> 1.8.17 |
| </small></address> |
| </body> |
| </html> |