blob: d003686c06478f66e0b3a6b31e450c540ae7d919 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="canonical" href="https://ignite.apache.org/releases/2.6.0/cppdoc/query__sql__fields_8h_source.html" />
<META NAME="ROBOTS" CONTENT="NOINDEX">
<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.11"/>
<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>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-61232409-1', 'auto');
ga('send', 'pageview');
</script></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.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</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_1d5505cee217f179c88903b7091c150e.html">cache</a></li><li class="navelem"><a class="el" href="dir_13c1d00a1be9b016a133dec12b890b36.html">query</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">query_sql_fields.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="query__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_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_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/cache/query/query_argument.h&gt;</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="binary__raw__writer_8h.html">ignite/binary/binary_raw_writer.h</a>&gt;</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceignite.html">ignite</a></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;{</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="keyword">namespace </span>cache</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; {</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keyword">namespace </span>query</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; {</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html"> 42</a></span>&#160; <span class="keyword">class </span><a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html">SqlFieldsQuery</a></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; {</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#aba1e988e00b3cacc3a0190f65801de24"> 50</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#aba1e988e00b3cacc3a0190f65801de24">SqlFieldsQuery</a>(<span class="keyword">const</span> std::string&amp; sql) :</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; sql(sql),</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; schema(),</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; pageSize(1024),</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; loc(false),</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; distributedJoins(false),</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; enforceJoinOrder(false),</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; lazy(false),</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; args()</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; {</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="comment">// No-op.</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; }</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#ae236e1b1b11d99715c43ed6fcd818b0f"> 69</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#ae236e1b1b11d99715c43ed6fcd818b0f">SqlFieldsQuery</a>(<span class="keyword">const</span> std::string&amp; sql, <span class="keywordtype">bool</span> loc) :</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; sql(sql),</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; schema(),</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; pageSize(1024),</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; loc(false),</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; distributedJoins(false),</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; enforceJoinOrder(false),</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; lazy(false),</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; args()</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; {</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="comment">// No-op.</span></div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; }</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#ab1bdc1571644602a8455350db23ef492"> 87</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#ab1bdc1571644602a8455350db23ef492">SqlFieldsQuery</a>(<span class="keyword">const</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html">SqlFieldsQuery</a>&amp; other) :</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; sql(other.sql),</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; schema(other.schema),</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; pageSize(other.pageSize),</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; loc(other.loc),</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; distributedJoins(other.distributedJoins),</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; enforceJoinOrder(other.enforceJoinOrder),</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; lazy(other.lazy),</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; args()</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; {</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; args.reserve(other.args.size());</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="keyword">typedef</span> std::vector&lt;impl::cache::query::QueryArgumentBase*&gt;::const_iterator Iter;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <span class="keywordflow">for</span> (Iter i = other.args.begin(); i != other.args.end(); ++i)</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; args.push_back((*i)-&gt;Copy());</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; }</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a618397f6c746f45482400a32d34ad68d"> 110</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html">SqlFieldsQuery</a>&amp; <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a618397f6c746f45482400a32d34ad68d">operator=</a>(<span class="keyword">const</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html">SqlFieldsQuery</a>&amp; other) </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; {</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keywordflow">if</span> (<span class="keyword">this</span> != &amp;other)</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; {</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html">SqlFieldsQuery</a> tmp(other);</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a856243c6eeba629483573fe983fcbc73">Swap</a>(tmp);</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;</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; }</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;</div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a05e69e39b64e29ca573289871ee07b59"> 125</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a05e69e39b64e29ca573289871ee07b59">~SqlFieldsQuery</a>()</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; {</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="keyword">typedef</span> std::vector&lt;impl::cache::query::QueryArgumentBase*&gt;::const_iterator Iter;</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keywordflow">for</span> (Iter it = args.begin(); it != args.end(); ++it)</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <span class="keyword">delete</span> *it;</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; }</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a856243c6eeba629483573fe983fcbc73"> 138</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a856243c6eeba629483573fe983fcbc73">Swap</a>(<a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html">SqlFieldsQuery</a>&amp; other)</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; <span class="keywordflow">if</span> (<span class="keyword">this</span> != &amp;other)</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; {</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <span class="keyword">using</span> std::swap;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; swap(sql, other.sql);</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; swap(schema, other.schema);</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; swap(pageSize, other.pageSize);</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; swap(loc, other.loc);</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; swap(distributedJoins, other.distributedJoins);</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; swap(enforceJoinOrder, other.enforceJoinOrder);</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; swap(lazy, other.lazy);</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; swap(args, other.args);</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="l00154"></a><span class="lineno"> 154</span>&#160;</div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#af60d3f27562361d776042bd5228e7b6f"> 160</a></span>&#160; <span class="keyword">const</span> std::string&amp; <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#af60d3f27562361d776042bd5228e7b6f">GetSql</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <span class="keywordflow">return</span> sql;</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; }</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;</div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a647110f3e40f812667f43db86d04dd81"> 170</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a647110f3e40f812667f43db86d04dd81">SetSql</a>(<span class="keyword">const</span> std::string&amp; sql)</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; {</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; this-&gt;sql = sql;</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; }</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160;</div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#adcb7ef62dde99cb6f91cb508adafba1d"> 180</a></span>&#160; int32_t <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#adcb7ef62dde99cb6f91cb508adafba1d">GetPageSize</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="keywordflow">return</span> pageSize;</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; }</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;</div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#acd61be0cefd04d766a4418686eb49f4a"> 190</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#acd61be0cefd04d766a4418686eb49f4a">SetPageSize</a>(int32_t pageSize)</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; {</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; this-&gt;pageSize = pageSize;</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; }</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;</div><div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a29031879dc9c0c8a4932f57a49da72ca"> 200</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a29031879dc9c0c8a4932f57a49da72ca">IsLocal</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <span class="keywordflow">return</span> loc;</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; }</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;</div><div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#ac20c97dfefd05e690242a918022a5bbf"> 210</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#ac20c97dfefd05e690242a918022a5bbf">SetLocal</a>(<span class="keywordtype">bool</span> loc)</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; {</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; this-&gt;loc = loc;</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; }</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;</div><div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a2417b3c04ffdf3372c87b3e186718936"> 222</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a2417b3c04ffdf3372c87b3e186718936">IsLazy</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <span class="keywordflow">return</span> lazy;</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;</div><div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a82f2a74cd3dc9c55c3ed3f4ec25c5a33"> 242</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a82f2a74cd3dc9c55c3ed3f4ec25c5a33">SetLazy</a>(<span class="keywordtype">bool</span> lazy)</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; {</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; this-&gt;lazy = lazy;</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;</div><div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a830f7f6185294c88e7b707807f64f5ed"> 252</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a830f7f6185294c88e7b707807f64f5ed">IsEnforceJoinOrder</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; <span class="keywordflow">return</span> enforceJoinOrder;</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; }</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160;</div><div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#ad489c8b5da47b8c6a0e8fd1dd758daa2"> 267</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#ad489c8b5da47b8c6a0e8fd1dd758daa2">SetEnforceJoinOrder</a>(<span class="keywordtype">bool</span> enforce)</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; {</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; enforceJoinOrder = enforce;</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; }</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160;</div><div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a8c074d38c2b0c943b9991e582899c495"> 277</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a8c074d38c2b0c943b9991e582899c495">IsDistributedJoins</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; <span class="keywordflow">return</span> distributedJoins;</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; }</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160;</div><div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a83bdd97f4a9f3f13f23103ad018b84de"> 290</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a83bdd97f4a9f3f13f23103ad018b84de">SetDistributedJoins</a>(<span class="keywordtype">bool</span> enabled)</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; {</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; distributedJoins = enabled;</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; }</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160;</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00304"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a65b0e8a6b2338db00571ba7d5b2bc798"> 304</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a65b0e8a6b2338db00571ba7d5b2bc798">AddArgument</a>(<span class="keyword">const</span> T&amp; arg)</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; {</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; args.push_back(<span class="keyword">new</span> impl::cache::query::QueryArgument&lt;T&gt;(arg));</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; }</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;</div><div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#ab0639495add2e0920b005bb7c7049b12"> 315</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#ab0639495add2e0920b005bb7c7049b12">AddInt8ArrayArgument</a>(<span class="keyword">const</span> int8_t* src, int32_t len)</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; {</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; args.push_back(<span class="keyword">new</span> impl::cache::query::QueryInt8ArrayArgument(src, len));</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160; }</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160;</div><div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#ad61cd53446e0e596bf4502ad0ed9217c"> 323</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#ad61cd53446e0e596bf4502ad0ed9217c">ClearArguments</a>()</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; std::vector&lt;impl::cache::query::QueryArgumentBase*&gt;::iterator iter;</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160; <span class="keywordflow">for</span> (iter = args.begin(); iter != args.end(); ++iter)</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160; <span class="keyword">delete</span> *iter;</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160;</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160; args.clear();</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; }</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160;</div><div class="line"><a name="l00339"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#af2bca796c1ed5fa8357c49946349687e"> 339</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#af2bca796c1ed5fa8357c49946349687e">SetSchema</a>(<span class="keyword">const</span> std::string&amp; schema)</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; {</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; this-&gt;schema = schema;</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; }</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160;</div><div class="line"><a name="l00352"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a1983c714f9c37f75771241acf5ee5d93"> 352</a></span>&#160; <span class="keyword">const</span> std::string&amp; <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a1983c714f9c37f75771241acf5ee5d93">GetSchema</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160; <span class="keywordflow">return</span> schema;</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160; }</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160;</div><div class="line"><a name="l00362"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a606c6c525a6541fbb6ce552d52b6498a"> 362</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a606c6c525a6541fbb6ce552d52b6498a">Write</a>(<a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html">binary::BinaryRawWriter</a>&amp; writer)<span class="keyword"> const</span></div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160; writer.<a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#a2d7c6d2302b55a1bc4e249d19a72ec1b">WriteBool</a>(loc);</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160; writer.<a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#a7b9237e03749f5e27d57d6a926ba49b2">WriteString</a>(sql);</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160; writer.<a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#a9aec134f65d3ef66601736de0a956382">WriteInt32</a>(pageSize);</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160;</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160; writer.<a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#a9aec134f65d3ef66601736de0a956382">WriteInt32</a>(static_cast&lt;int32_t&gt;(args.size()));</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160;</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160; std::vector&lt;impl::cache::query::QueryArgumentBase*&gt;::const_iterator it;</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160;</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160; <span class="keywordflow">for</span> (it = args.begin(); it != args.end(); ++it)</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160; (*it)-&gt;Write(writer);</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>&#160;</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160; writer.<a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#a2d7c6d2302b55a1bc4e249d19a72ec1b">WriteBool</a>(distributedJoins);</div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>&#160; writer.<a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#a2d7c6d2302b55a1bc4e249d19a72ec1b">WriteBool</a>(enforceJoinOrder);</div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160; writer.<a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#a2d7c6d2302b55a1bc4e249d19a72ec1b">WriteBool</a>(lazy);</div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160; writer.<a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#a9aec134f65d3ef66601736de0a956382">WriteInt32</a>(0); <span class="comment">// Timeout, ms</span></div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160; writer.<a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#a2d7c6d2302b55a1bc4e249d19a72ec1b">WriteBool</a>(<span class="keyword">false</span>); <span class="comment">// ReplicatedOnly</span></div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span>&#160; writer.<a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#a2d7c6d2302b55a1bc4e249d19a72ec1b">WriteBool</a>(<span class="keyword">false</span>); <span class="comment">// Colocated</span></div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>&#160;</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>&#160; <span class="keywordflow">if</span> (schema.empty())</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160; writer.<a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#ab9850ce07f544671853e55b41076b63b">WriteNull</a>();</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160; <span class="keywordflow">else</span></div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160; writer.<a class="code" href="classignite_1_1binary_1_1BinaryRawWriter.html#a7b9237e03749f5e27d57d6a926ba49b2">WriteString</a>(schema);</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160; }</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160;</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160; std::string sql;</div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>&#160;</div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span>&#160; std::string schema;</div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span>&#160;</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160; int32_t pageSize;</div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160;</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160; <span class="keywordtype">bool</span> loc;</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>&#160;</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>&#160; <span class="keywordtype">bool</span> distributedJoins;</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160;</div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>&#160; <span class="keywordtype">bool</span> enforceJoinOrder;</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span>&#160;</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160; <span class="keywordtype">bool</span> lazy;</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160;</div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span>&#160; std::vector&lt;impl::cache::query::QueryArgumentBase*&gt; args;</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="l00414"></a><span class="lineno"> 414</span>&#160; } </div><div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160;}</div><div class="line"><a name="l00416"></a><span class="lineno"> 416</span>&#160;</div><div class="line"><a name="l00417"></a><span class="lineno"> 417</span>&#160;<span class="preprocessor">#endif //_IGNITE_CACHE_QUERY_QUERY_SQL_FIELDS</span></div><div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_acd61be0cefd04d766a4418686eb49f4a"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#acd61be0cefd04d766a4418686eb49f4a">ignite::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> query_sql_fields.h:190</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_a82f2a74cd3dc9c55c3ed3f4ec25c5a33"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a82f2a74cd3dc9c55c3ed3f4ec25c5a33">ignite::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> query_sql_fields.h:242</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_a8c074d38c2b0c943b9991e582899c495"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a8c074d38c2b0c943b9991e582899c495">ignite::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> query_sql_fields.h:277</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryRawWriter_html_ab9850ce07f544671853e55b41076b63b"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryRawWriter.html#ab9850ce07f544671853e55b41076b63b">ignite::binary::BinaryRawWriter::WriteNull</a></div><div class="ttdeci">void WriteNull()</div><div class="ttdoc">Write NULL value. </div><div class="ttdef"><b>Definition:</b> binary_raw_writer.cpp:172</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_a856243c6eeba629483573fe983fcbc73"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a856243c6eeba629483573fe983fcbc73">ignite::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> query_sql_fields.h:138</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_a1983c714f9c37f75771241acf5ee5d93"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a1983c714f9c37f75771241acf5ee5d93">ignite::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> query_sql_fields.h:352</div></div>
<div class="ttc" id="binary__raw__writer_8h_html"><div class="ttname"><a href="binary__raw__writer_8h.html">binary_raw_writer.h</a></div><div class="ttdoc">Declares ignite::binary::BinaryRawWriter class. </div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryRawWriter_html_a9aec134f65d3ef66601736de0a956382"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryRawWriter.html#a9aec134f65d3ef66601736de0a956382">ignite::binary::BinaryRawWriter::WriteInt32</a></div><div class="ttdeci">void WriteInt32(int32_t val)</div><div class="ttdoc">Write 32-byte signed integer. </div><div class="ttdef"><b>Definition:</b> binary_raw_writer.cpp:72</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_a65b0e8a6b2338db00571ba7d5b2bc798"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a65b0e8a6b2338db00571ba7d5b2bc798">ignite::cache::query::SqlFieldsQuery::AddArgument</a></div><div class="ttdeci">void AddArgument(const T &amp;arg)</div><div class="ttdoc">Add argument. </div><div class="ttdef"><b>Definition:</b> query_sql_fields.h:304</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_adcb7ef62dde99cb6f91cb508adafba1d"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#adcb7ef62dde99cb6f91cb508adafba1d">ignite::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> query_sql_fields.h:180</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_ad489c8b5da47b8c6a0e8fd1dd758daa2"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#ad489c8b5da47b8c6a0e8fd1dd758daa2">ignite::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> query_sql_fields.h:267</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_a2417b3c04ffdf3372c87b3e186718936"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a2417b3c04ffdf3372c87b3e186718936">ignite::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> query_sql_fields.h:222</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_ae236e1b1b11d99715c43ed6fcd818b0f"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#ae236e1b1b11d99715c43ed6fcd818b0f">ignite::cache::query::SqlFieldsQuery::SqlFieldsQuery</a></div><div class="ttdeci">SqlFieldsQuery(const std::string &amp;sql, bool loc)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> query_sql_fields.h:69</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_a647110f3e40f812667f43db86d04dd81"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a647110f3e40f812667f43db86d04dd81">ignite::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> query_sql_fields.h:170</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_ab0639495add2e0920b005bb7c7049b12"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#ab0639495add2e0920b005bb7c7049b12">ignite::cache::query::SqlFieldsQuery::AddInt8ArrayArgument</a></div><div class="ttdeci">void AddInt8ArrayArgument(const int8_t *src, int32_t len)</div><div class="ttdoc">Add array of bytes as an argument. </div><div class="ttdef"><b>Definition:</b> query_sql_fields.h:315</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_ac20c97dfefd05e690242a918022a5bbf"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#ac20c97dfefd05e690242a918022a5bbf">ignite::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> query_sql_fields.h:210</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html">ignite::cache::query::SqlFieldsQuery</a></div><div class="ttdoc">Sql fields query. </div><div class="ttdef"><b>Definition:</b> query_sql_fields.h:42</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_a606c6c525a6541fbb6ce552d52b6498a"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a606c6c525a6541fbb6ce552d52b6498a">ignite::cache::query::SqlFieldsQuery::Write</a></div><div class="ttdeci">void Write(binary::BinaryRawWriter &amp;writer) const </div><div class="ttdoc">Write query info to the stream. </div><div class="ttdef"><b>Definition:</b> query_sql_fields.h:362</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryRawWriter_html_a7b9237e03749f5e27d57d6a926ba49b2"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryRawWriter.html#a7b9237e03749f5e27d57d6a926ba49b2">ignite::binary::BinaryRawWriter::WriteString</a></div><div class="ttdeci">void WriteString(const char *val)</div><div class="ttdoc">Write string. </div><div class="ttdef"><b>Definition:</b> binary_raw_writer.cpp:152</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_a830f7f6185294c88e7b707807f64f5ed"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a830f7f6185294c88e7b707807f64f5ed">ignite::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> query_sql_fields.h:252</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_ad61cd53446e0e596bf4502ad0ed9217c"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#ad61cd53446e0e596bf4502ad0ed9217c">ignite::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> query_sql_fields.h:323</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_a29031879dc9c0c8a4932f57a49da72ca"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a29031879dc9c0c8a4932f57a49da72ca">ignite::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> query_sql_fields.h:200</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryRawWriter_html"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryRawWriter.html">ignite::binary::BinaryRawWriter</a></div><div class="ttdoc">Binary raw writer. </div><div class="ttdef"><b>Definition:</b> binary_raw_writer.h:55</div></div>
<div class="ttc" id="classignite_1_1binary_1_1BinaryRawWriter_html_a2d7c6d2302b55a1bc4e249d19a72ec1b"><div class="ttname"><a href="classignite_1_1binary_1_1BinaryRawWriter.html#a2d7c6d2302b55a1bc4e249d19a72ec1b">ignite::binary::BinaryRawWriter::WriteBool</a></div><div class="ttdeci">void WriteBool(bool val)</div><div class="ttdoc">Write bool. </div><div class="ttdef"><b>Definition:</b> binary_raw_writer.cpp:42</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_aba1e988e00b3cacc3a0190f65801de24"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#aba1e988e00b3cacc3a0190f65801de24">ignite::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> query_sql_fields.h:50</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_af2bca796c1ed5fa8357c49946349687e"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#af2bca796c1ed5fa8357c49946349687e">ignite::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> query_sql_fields.h:339</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_a05e69e39b64e29ca573289871ee07b59"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a05e69e39b64e29ca573289871ee07b59">ignite::cache::query::SqlFieldsQuery::~SqlFieldsQuery</a></div><div class="ttdeci">~SqlFieldsQuery()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> query_sql_fields.h:125</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_af60d3f27562361d776042bd5228e7b6f"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#af60d3f27562361d776042bd5228e7b6f">ignite::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> query_sql_fields.h:160</div></div>
<div class="ttc" id="namespaceignite_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="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_ab1bdc1571644602a8455350db23ef492"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#ab1bdc1571644602a8455350db23ef492">ignite::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> query_sql_fields.h:87</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_a83bdd97f4a9f3f13f23103ad018b84de"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a83bdd97f4a9f3f13f23103ad018b84de">ignite::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> query_sql_fields.h:290</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1SqlFieldsQuery_html_a618397f6c746f45482400a32d34ad68d"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html#a618397f6c746f45482400a32d34ad68d">ignite::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> query_sql_fields.h:110</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Jul 10 2018 10:57:32 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.11
</small></address>
</body>
</html>