blob: 72113ea0e2ee514522436d0963124cafdafcafb5 [file] [log] [blame]
<!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>&nbsp; Apache Ignite C++: query_sql_fields.h Source File</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">&nbsp; 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&amp;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&amp;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="dir_6917c354dff0dc051d18bd3bcc3faea1.html">include</a></li><li class="navelem"><a class="el" href="dir_3785354546cb37560a212b468c73f89f.html">ignite</a></li><li class="navelem"><a class="el" href="dir_097f68cb7241bfc683e7bdc6c58a7783.html">thin</a></li><li class="navelem"><a class="el" href="dir_4c59fe678b7d839a2941d6346d743aa7.html">cache</a></li><li class="navelem"><a class="el" href="dir_e48c209b806e663ca8eb34a9d68efb16.html">query</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">thin-client/include/ignite/thin/cache/query/query_sql_fields.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="thin-client_2include_2ignite_2thin_2cache_2query_2query__sql__fields_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * this work for additional information regarding copyright ownership.</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * (the &quot;License&quot;); you may not use this file except in compliance with</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * the License. You may obtain a copy of the License at</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * See the License for the specific language governing permissions and</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * limitations under the License.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#ifndef _IGNITE_THIN_CACHE_QUERY_QUERY_SQL_FIELDS</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#define _IGNITE_THIN_CACHE_QUERY_QUERY_SQL_FIELDS</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#include &lt;ignite/impl/thin/copyable_writable.h&gt;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceignite.html">ignite</a></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;{</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="keyword">namespace </span>impl</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; {</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">namespace </span>thin</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; {</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="comment">// Forward declaration</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keyword">class </span>SqlFieldsQueryRequest;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; }</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; }</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keyword">namespace </span>thin</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; {</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keyword">namespace </span>cache</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; {</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keyword">namespace </span>query</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; {</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html"> 52</a></span>&#160; <span class="keyword">class </span><a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html">SqlFieldsQuery</a></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; {</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keyword">friend</span> <span class="keyword">class </span>ignite::impl::thin::SqlFieldsQueryRequest;</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a0f42e8fe22206d67da956f41f387b54c"> 62</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a0f42e8fe22206d67da956f41f387b54c">SqlFieldsQuery</a>(<span class="keyword">const</span> std::string&amp; sql) :</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; sql(sql),</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; schema(),</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; pageSize(1024),</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; maxRows(0),</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; timeout(0),</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; loc(false),</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; distributedJoins(false),</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; enforceJoinOrder(false),</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; lazy(false),</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; collocated(false),</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; args()</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; {</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="comment">// No-op.</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; }</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; </div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a7519e4165967f79173dba48987ad7596"> 83</a></span>&#160; <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a7519e4165967f79173dba48987ad7596">SqlFieldsQuery</a>(<span class="keyword">const</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html">SqlFieldsQuery</a>&amp; other) :</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; sql(other.sql),</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; schema(other.schema),</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; pageSize(other.pageSize),</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; maxRows(other.maxRows),</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; timeout(other.timeout),</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; loc(other.loc),</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; distributedJoins(other.distributedJoins),</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; enforceJoinOrder(other.enforceJoinOrder),</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; lazy(other.lazy),</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; collocated(other.collocated),</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; args()</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; {</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; args.reserve(other.args.size());</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; </div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="keyword">typedef</span> std::vector&lt;impl::thin::CopyableWritable*&gt;::const_iterator Iter;</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keywordflow">for</span> (Iter i = other.args.begin(); i != other.args.end(); ++i)</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; args.push_back((*i)-&gt;Copy());</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; }</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; </div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a674276c6180ead32fefc128adf69dd51"> 109</a></span>&#160; <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html">SqlFieldsQuery</a>&amp; <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a674276c6180ead32fefc128adf69dd51">operator=</a>(<span class="keyword">const</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html">SqlFieldsQuery</a>&amp; other)</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; {</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keywordflow">if</span> (<span class="keyword">this</span> != &amp;other)</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; {</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html">SqlFieldsQuery</a> tmp(other);</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#aea724d84e0167032b5e7cd26f635f421">Swap</a>(tmp);</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; }</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; </div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; }</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; </div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a8afcec8e4123a49b346779aba4a20f4a"> 124</a></span>&#160; <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a8afcec8e4123a49b346779aba4a20f4a">~SqlFieldsQuery</a>()</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; {</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#aace79d8c5b195af163dbd04d65a5232e">ClearArguments</a>();</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; }</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; </div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#aea724d84e0167032b5e7cd26f635f421"> 134</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#aea724d84e0167032b5e7cd26f635f421">Swap</a>(<a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html">SqlFieldsQuery</a>&amp; other)</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; {</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <span class="keywordflow">if</span> (<span class="keyword">this</span> != &amp;other)</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; {</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <span class="keyword">using</span> std::swap;</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; </div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; swap(sql, other.sql);</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; swap(schema, other.schema);</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; swap(pageSize, other.pageSize);</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; swap(maxRows, other.maxRows);</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; swap(timeout, other.timeout);</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; swap(loc, other.loc);</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; swap(distributedJoins, other.distributedJoins);</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; swap(enforceJoinOrder, other.enforceJoinOrder);</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; swap(lazy, other.lazy);</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; swap(collocated, other.collocated);</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; swap(args, other.args);</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; }</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; }</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; </div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a56ba3b006de77b09b412c6894c87737b"> 159</a></span>&#160; <span class="keyword">const</span> std::string&amp; <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a56ba3b006de77b09b412c6894c87737b">GetSql</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="keywordflow">return</span> sql;</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; }</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#af4da7dc1afdb15f402b2547fdb65ca65"> 169</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#af4da7dc1afdb15f402b2547fdb65ca65">SetSql</a>(<span class="keyword">const</span> std::string&amp; sql)</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; {</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; this-&gt;sql = sql;</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; }</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; </div>
<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#ab901b3fd03c8c5a49326db1c47c73538"> 181</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#ab901b3fd03c8c5a49326db1c47c73538">SetSchema</a>(<span class="keyword">const</span> std::string&amp; schema)</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; {</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; this-&gt;schema = schema;</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; }</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; </div>
<div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a01c4d5169d7cbafccb7e0a9f45562df5"> 194</a></span>&#160; <span class="keyword">const</span> std::string&amp; <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a01c4d5169d7cbafccb7e0a9f45562df5">GetSchema</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; <span class="keywordflow">return</span> schema;</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; }</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; </div>
<div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a8a8d58fb45dbe2f8004b57088d832044"> 204</a></span>&#160; int32_t <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a8a8d58fb45dbe2f8004b57088d832044">GetPageSize</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keywordflow">return</span> pageSize;</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; }</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; </div>
<div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a19ffc88e314d6935766649f338cd6f34"> 214</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a19ffc88e314d6935766649f338cd6f34">SetPageSize</a>(int32_t pageSize)</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; {</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; this-&gt;pageSize = pageSize;</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; }</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; </div>
<div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a7c01e7005bea8e0f2a33de44eedee22f"> 224</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a7c01e7005bea8e0f2a33de44eedee22f">SetMaxRows</a>(int32_t maxRows)</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; {</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; this-&gt;maxRows = maxRows;</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; }</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; </div>
<div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a3c15e3c407af0e5914c4ee4601aeed7e"> 234</a></span>&#160; int32_t <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a3c15e3c407af0e5914c4ee4601aeed7e">GetMaxRows</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; <span class="keywordflow">return</span> maxRows;</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; }</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; </div>
<div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#ac092c2f33ba4db92caf7a86533dd22a3"> 244</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#ac092c2f33ba4db92caf7a86533dd22a3">SetTimeout</a>(int64_t timeout)</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; {</div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; this-&gt;timeout = timeout;</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; }</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; </div>
<div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#acc143574a4b34e453103ec1ed608b068"> 254</a></span>&#160; int64_t <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#acc143574a4b34e453103ec1ed608b068">GetTimeout</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; <span class="keywordflow">return</span> timeout;</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; }</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; </div>
<div class="line"><a name="l00264"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#abc075acb4dcbda9f183383d0d5bf6bc9"> 264</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#abc075acb4dcbda9f183383d0d5bf6bc9">IsLocal</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; <span class="keywordflow">return</span> loc;</div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; }</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; </div>
<div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a893be044ceb7446422fa3fa07cb510f5"> 274</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a893be044ceb7446422fa3fa07cb510f5">SetLocal</a>(<span class="keywordtype">bool</span> loc)</div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; {</div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; this-&gt;loc = loc;</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; }</div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; </div>
<div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a674b3dfb45ffb63e51c9e0d7d7b9389f"> 284</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a674b3dfb45ffb63e51c9e0d7d7b9389f">IsDistributedJoins</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; <span class="keywordflow">return</span> distributedJoins;</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; }</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; </div>
<div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a2fa4502eac2365adc44b1f6805e796d5"> 297</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a2fa4502eac2365adc44b1f6805e796d5">SetDistributedJoins</a>(<span class="keywordtype">bool</span> enabled)</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; {</div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; distributedJoins = enabled;</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; }</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; </div>
<div class="line"><a name="l00307"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a8864ff091e16f2a5bdd029fc193ba319"> 307</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a8864ff091e16f2a5bdd029fc193ba319">IsEnforceJoinOrder</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; <span class="keywordflow">return</span> enforceJoinOrder;</div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; }</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; </div>
<div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#ad8cc2c1f27f97f47b6324952b2a38829"> 323</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#ad8cc2c1f27f97f47b6324952b2a38829">SetEnforceJoinOrder</a>(<span class="keywordtype">bool</span> enforce)</div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160; {</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160; enforceJoinOrder = enforce;</div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160; }</div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160; </div>
<div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a9e69f3d25f2c14eae7a14b7506fb2c48"> 335</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a9e69f3d25f2c14eae7a14b7506fb2c48">IsLazy</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; <span class="keywordflow">return</span> lazy;</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; }</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; </div>
<div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#af9dbca1ae3f00409bbcb1dec1de7362d"> 355</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#af9dbca1ae3f00409bbcb1dec1de7362d">SetLazy</a>(<span class="keywordtype">bool</span> lazy)</div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160; {</div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160; this-&gt;lazy = lazy;</div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160; }</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; </div>
<div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a2889d78707c3575429fa13e636cd0544"> 365</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a2889d78707c3575429fa13e636cd0544">IsCollocated</a>()</div>
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160; {</div>
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160; <span class="keywordflow">return</span> collocated;</div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160; }</div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; </div>
<div class="line"><a name="l00381"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#ab8c90114c909ac06b7724cc03359dde1"> 381</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#ab8c90114c909ac06b7724cc03359dde1">SetCollocated</a>(<span class="keywordtype">bool</span> collocated)</div>
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>&#160; {</div>
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160; this-&gt;collocated = collocated;</div>
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160; }</div>
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160; </div>
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div>
<div class="line"><a name="l00395"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#ae7c1df1fb01b6b91515ca6ba95c8c66b"> 395</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#ae7c1df1fb01b6b91515ca6ba95c8c66b">AddArgument</a>(<span class="keyword">const</span> T&amp; arg)</div>
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160; {</div>
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160; args.push_back(<span class="keyword">new</span> impl::thin::CopyableWritableImpl&lt;T&gt;(arg));</div>
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>&#160; }</div>
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160; </div>
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Iter&gt;</div>
<div class="line"><a name="l00409"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a93fef79a0487c3a6b434e419612e29a8"> 409</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a93fef79a0487c3a6b434e419612e29a8">AddInt8ArrayArgument</a>(Iter begin, Iter end)</div>
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160; {</div>
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>&#160; args.push_back(<span class="keyword">new</span> impl::thin::CopyableWritableInt8ArrayImpl&lt;Iter&gt;(begin, end));</div>
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span>&#160; }</div>
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>&#160; </div>
<div class="line"><a name="l00417"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#aace79d8c5b195af163dbd04d65a5232e"> 417</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#aace79d8c5b195af163dbd04d65a5232e">ClearArguments</a>()</div>
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>&#160; {</div>
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>&#160; std::vector&lt;impl::thin::CopyableWritable*&gt;::iterator iter;</div>
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span>&#160; <span class="keywordflow">for</span> (iter = args.begin(); iter != args.end(); ++iter)</div>
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>&#160; <span class="keyword">delete</span> *iter;</div>
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>&#160; </div>
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>&#160; args.clear();</div>
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>&#160; }</div>
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>&#160; </div>
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>&#160; std::string sql;</div>
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span>&#160; </div>
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>&#160; std::string schema;</div>
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>&#160; </div>
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>&#160; int32_t pageSize;</div>
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>&#160; </div>
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>&#160; int32_t maxRows;</div>
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span>&#160; </div>
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>&#160; int64_t timeout;</div>
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>&#160; </div>
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span>&#160; <span class="keywordtype">bool</span> loc;</div>
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span>&#160; </div>
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span>&#160; <span class="keywordtype">bool</span> distributedJoins;</div>
<div class="line"><a name="l00447"></a><span class="lineno"> 447</span>&#160; </div>
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span>&#160; <span class="keywordtype">bool</span> enforceJoinOrder;</div>
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span>&#160; </div>
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160; <span class="keywordtype">bool</span> lazy;</div>
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>&#160; </div>
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span>&#160; <span class="keywordtype">bool</span> collocated;</div>
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span>&#160; </div>
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span>&#160; std::vector&lt;impl::thin::CopyableWritable*&gt; args;</div>
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>&#160; };</div>
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span>&#160; }</div>
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>&#160; }</div>
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span>&#160; }</div>
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>&#160;}</div>
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>&#160; </div>
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>&#160;<span class="preprocessor">#endif //_IGNITE_THIN_CACHE_QUERY_QUERY_SQL_FIELDS</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_aea724d84e0167032b5e7cd26f635f421"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#aea724d84e0167032b5e7cd26f635f421">ignite::thin::cache::query::SqlFieldsQuery::Swap</a></div><div class="ttdeci">void Swap(SqlFieldsQuery &amp;other)</div><div class="ttdoc">Efficiently swaps contents with another SqlQuery instance.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:134</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_a7519e4165967f79173dba48987ad7596"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a7519e4165967f79173dba48987ad7596">ignite::thin::cache::query::SqlFieldsQuery::SqlFieldsQuery</a></div><div class="ttdeci">SqlFieldsQuery(const SqlFieldsQuery &amp;other)</div><div class="ttdoc">Copy constructor.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:83</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_a2889d78707c3575429fa13e636cd0544"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a2889d78707c3575429fa13e636cd0544">ignite::thin::cache::query::SqlFieldsQuery::IsCollocated</a></div><div class="ttdeci">bool IsCollocated()</div><div class="ttdoc">Checks if this query is collocated.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:365</div></div>
<div class="ttc" id="anamespaceignite_html"><div class="ttname"><a href="namespaceignite.html">ignite</a></div><div class="ttdoc">Apache Ignite API.</div><div class="ttdef"><b>Definition:</b> cache.h:48</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_a7c01e7005bea8e0f2a33de44eedee22f"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a7c01e7005bea8e0f2a33de44eedee22f">ignite::thin::cache::query::SqlFieldsQuery::SetMaxRows</a></div><div class="ttdeci">void SetMaxRows(int32_t maxRows)</div><div class="ttdoc">Set maximum number of rows.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:224</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_acc143574a4b34e453103ec1ed608b068"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#acc143574a4b34e453103ec1ed608b068">ignite::thin::cache::query::SqlFieldsQuery::GetTimeout</a></div><div class="ttdeci">int64_t GetTimeout() const</div><div class="ttdoc">Get query execution timeout in milliseconds.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:254</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_a9e69f3d25f2c14eae7a14b7506fb2c48"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a9e69f3d25f2c14eae7a14b7506fb2c48">ignite::thin::cache::query::SqlFieldsQuery::IsLazy</a></div><div class="ttdeci">bool IsLazy() const</div><div class="ttdoc">Gets lazy query execution flag.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:335</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_a0f42e8fe22206d67da956f41f387b54c"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a0f42e8fe22206d67da956f41f387b54c">ignite::thin::cache::query::SqlFieldsQuery::SqlFieldsQuery</a></div><div class="ttdeci">SqlFieldsQuery(const std::string &amp;sql)</div><div class="ttdoc">Constructor.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:62</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_af4da7dc1afdb15f402b2547fdb65ca65"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#af4da7dc1afdb15f402b2547fdb65ca65">ignite::thin::cache::query::SqlFieldsQuery::SetSql</a></div><div class="ttdeci">void SetSql(const std::string &amp;sql)</div><div class="ttdoc">Set SQL string.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:169</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_a8afcec8e4123a49b346779aba4a20f4a"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a8afcec8e4123a49b346779aba4a20f4a">ignite::thin::cache::query::SqlFieldsQuery::~SqlFieldsQuery</a></div><div class="ttdeci">~SqlFieldsQuery()</div><div class="ttdoc">Destructor.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:124</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_ab8c90114c909ac06b7724cc03359dde1"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#ab8c90114c909ac06b7724cc03359dde1">ignite::thin::cache::query::SqlFieldsQuery::SetCollocated</a></div><div class="ttdeci">void SetCollocated(bool collocated)</div><div class="ttdoc">Sets flag defining if this query is collocated.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:381</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html">ignite::thin::cache::query::SqlFieldsQuery</a></div><div class="ttdoc">SQL fields query for thin client.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:52</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_a893be044ceb7446422fa3fa07cb510f5"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a893be044ceb7446422fa3fa07cb510f5">ignite::thin::cache::query::SqlFieldsQuery::SetLocal</a></div><div class="ttdeci">void SetLocal(bool loc)</div><div class="ttdoc">Set local flag.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:274</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_a56ba3b006de77b09b412c6894c87737b"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a56ba3b006de77b09b412c6894c87737b">ignite::thin::cache::query::SqlFieldsQuery::GetSql</a></div><div class="ttdeci">const std::string &amp; GetSql() const</div><div class="ttdoc">Get SQL string.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:159</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_a674276c6180ead32fefc128adf69dd51"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a674276c6180ead32fefc128adf69dd51">ignite::thin::cache::query::SqlFieldsQuery::operator=</a></div><div class="ttdeci">SqlFieldsQuery &amp; operator=(const SqlFieldsQuery &amp;other)</div><div class="ttdoc">Assignment operator.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:109</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_a93fef79a0487c3a6b434e419612e29a8"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a93fef79a0487c3a6b434e419612e29a8">ignite::thin::cache::query::SqlFieldsQuery::AddInt8ArrayArgument</a></div><div class="ttdeci">void AddInt8ArrayArgument(Iter begin, Iter end)</div><div class="ttdoc">Add int8_t array as an argument.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:409</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_aace79d8c5b195af163dbd04d65a5232e"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#aace79d8c5b195af163dbd04d65a5232e">ignite::thin::cache::query::SqlFieldsQuery::ClearArguments</a></div><div class="ttdeci">void ClearArguments()</div><div class="ttdoc">Remove all added arguments.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:417</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_a8864ff091e16f2a5bdd029fc193ba319"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a8864ff091e16f2a5bdd029fc193ba319">ignite::thin::cache::query::SqlFieldsQuery::IsEnforceJoinOrder</a></div><div class="ttdeci">bool IsEnforceJoinOrder() const</div><div class="ttdoc">Checks if join order of tables if enforced.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:307</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_abc075acb4dcbda9f183383d0d5bf6bc9"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#abc075acb4dcbda9f183383d0d5bf6bc9">ignite::thin::cache::query::SqlFieldsQuery::IsLocal</a></div><div class="ttdeci">bool IsLocal() const</div><div class="ttdoc">Get local flag.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:264</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_ad8cc2c1f27f97f47b6324952b2a38829"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#ad8cc2c1f27f97f47b6324952b2a38829">ignite::thin::cache::query::SqlFieldsQuery::SetEnforceJoinOrder</a></div><div class="ttdeci">void SetEnforceJoinOrder(bool enforce)</div><div class="ttdoc">Sets flag to enforce join order of tables in the query.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:323</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_a2fa4502eac2365adc44b1f6805e796d5"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a2fa4502eac2365adc44b1f6805e796d5">ignite::thin::cache::query::SqlFieldsQuery::SetDistributedJoins</a></div><div class="ttdeci">void SetDistributedJoins(bool enabled)</div><div class="ttdoc">Specify if distributed joins are enabled for this query.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:297</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_ab901b3fd03c8c5a49326db1c47c73538"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#ab901b3fd03c8c5a49326db1c47c73538">ignite::thin::cache::query::SqlFieldsQuery::SetSchema</a></div><div class="ttdeci">void SetSchema(const std::string &amp;schema)</div><div class="ttdoc">Set schema name for the query.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:181</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_ae7c1df1fb01b6b91515ca6ba95c8c66b"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#ae7c1df1fb01b6b91515ca6ba95c8c66b">ignite::thin::cache::query::SqlFieldsQuery::AddArgument</a></div><div class="ttdeci">void AddArgument(const T &amp;arg)</div><div class="ttdoc">Add argument for the query.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:395</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_a19ffc88e314d6935766649f338cd6f34"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a19ffc88e314d6935766649f338cd6f34">ignite::thin::cache::query::SqlFieldsQuery::SetPageSize</a></div><div class="ttdeci">void SetPageSize(int32_t pageSize)</div><div class="ttdoc">Set page size.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:214</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_a3c15e3c407af0e5914c4ee4601aeed7e"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a3c15e3c407af0e5914c4ee4601aeed7e">ignite::thin::cache::query::SqlFieldsQuery::GetMaxRows</a></div><div class="ttdeci">int32_t GetMaxRows() const</div><div class="ttdoc">Get maximum number of rows.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:234</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_a8a8d58fb45dbe2f8004b57088d832044"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a8a8d58fb45dbe2f8004b57088d832044">ignite::thin::cache::query::SqlFieldsQuery::GetPageSize</a></div><div class="ttdeci">int32_t GetPageSize() const</div><div class="ttdoc">Get page size.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:204</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_af9dbca1ae3f00409bbcb1dec1de7362d"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#af9dbca1ae3f00409bbcb1dec1de7362d">ignite::thin::cache::query::SqlFieldsQuery::SetLazy</a></div><div class="ttdeci">void SetLazy(bool lazy)</div><div class="ttdoc">Sets lazy query execution flag.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:355</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_ac092c2f33ba4db92caf7a86533dd22a3"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#ac092c2f33ba4db92caf7a86533dd22a3">ignite::thin::cache::query::SqlFieldsQuery::SetTimeout</a></div><div class="ttdeci">void SetTimeout(int64_t timeout)</div><div class="ttdoc">Set query execution timeout in milliseconds.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:244</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_a01c4d5169d7cbafccb7e0a9f45562df5"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a01c4d5169d7cbafccb7e0a9f45562df5">ignite::thin::cache::query::SqlFieldsQuery::GetSchema</a></div><div class="ttdeci">const std::string &amp; GetSchema() const</div><div class="ttdoc">Get schema name for the query.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:194</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery_html_a674b3dfb45ffb63e51c9e0d7d7b9389f"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1query_1_1SqlFieldsQuery.html#a674b3dfb45ffb63e51c9e0d7d7b9389f">ignite::thin::cache::query::SqlFieldsQuery::IsDistributedJoins</a></div><div class="ttdeci">bool IsDistributedJoins() const</div><div class="ttdoc">Check if distributed joins are enabled for this query.</div><div class="ttdef"><b>Definition:</b> thin-client/include/ignite/thin/cache/query/query_sql_fields.h:284</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jan 10 2022 11:02:04 for &nbsp; Apache Ignite C++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>