blob: 96bec0c99e2cad92c2c56962372816ddb524fac9 [file]
<!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" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>iceberg-cpp: iceberg/expression/predicate.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 id="projectrow">
<td id="projectalign">
<div id="projectname">iceberg-cpp
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- 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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_51d145386ec5f52aa06ebf5e46944abc.html">iceberg</a></li><li class="navelem"><a class="el" href="dir_7ac1409b17bc67cf1cb6672572f7a9bb.html">expression</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">predicate.h</div></div>
</div><!--header-->
<div class="contents">
<a href="predicate_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/*</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> * or more contributor license agreements. See the NOTICE file</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> * distributed with this work for additional information</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> * regarding copyright ownership. The ASF licenses this file</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> * to you under the Apache License, Version 2.0 (the</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"> * &quot;License&quot;); you may not use this file except in compliance</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment"> * with the License. You may obtain a copy of the License at</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment"> *</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment"> *</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment"> * Unless required by applicable law or agreed to in writing,</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment"> * software distributed under the License is distributed on an</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment"> * &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment"> * KIND, either express or implied. See the License for the</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment"> * specific language governing permissions and limitations</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment"> * under the License.</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment"> */</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include &lt;unordered_set&gt;</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include &quot;<a class="code" href="expression_8h.html">iceberg/expression/expression.h</a>&quot;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include &quot;<a class="code" href="literal_8h.html">iceberg/expression/literal.h</a>&quot;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include &quot;<a class="code" href="term_8h.html">iceberg/expression/term.h</a>&quot;</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#include &quot;<a class="code" href="iceberg__export_8h.html">iceberg/iceberg_export.h</a>&quot;</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceiceberg.html">iceberg</a> {</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="keyword">template</span> &lt;TermType T&gt;</div>
<div class="foldopen" id="foldopen00038" data-start="{" data-end="};">
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="classiceberg_1_1Predicate.html"> 38</a></span><span class="keyword">class </span>ICEBERG_EXPORT <a class="code hl_class" href="classiceberg_1_1Predicate.html">Predicate</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code hl_class" href="classiceberg_1_1Expression.html">Expression</a> {</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> <a class="code hl_class" href="classiceberg_1_1Predicate.html">~Predicate</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="classiceberg_1_1Predicate.html#a149508fc8ddf4cd5d4da0ae9f4c1c80f"> 42</a></span> <a class="code hl_enumeration" href="classiceberg_1_1Expression.html#a433076bdc34ce0b6d359313c6c7b8a9c">Expression::Operation</a> <a class="code hl_function" href="classiceberg_1_1Predicate.html#a149508fc8ddf4cd5d4da0ae9f4c1c80f">op</a>()<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> operation_; }</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="classiceberg_1_1Predicate.html#acee9f864ef011a76e45d98f0d9bf42af"> 45</a></span> <span class="keyword">const</span> std::shared_ptr&lt;T&gt;&amp; <a class="code hl_function" href="classiceberg_1_1Predicate.html#acee9f864ef011a76e45d98f0d9bf42af">term</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> term_; }</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">protected</span>:</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="classiceberg_1_1Predicate.html#ae1f081b37983ae239d609238ed382f73"> 52</a></span> <a class="code hl_function" href="classiceberg_1_1Predicate.html#ae1f081b37983ae239d609238ed382f73">Predicate</a>(<a class="code hl_enumeration" href="classiceberg_1_1Expression.html#a433076bdc34ce0b6d359313c6c7b8a9c">Expression::Operation</a> op, std::shared_ptr&lt;T&gt; term);</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <a class="code hl_enumeration" href="classiceberg_1_1Expression.html#a433076bdc34ce0b6d359313c6c7b8a9c">Expression::Operation</a> operation_;</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> std::shared_ptr&lt;T&gt; term_;</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span>};</div>
</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
<div class="foldopen" id="foldopen00062" data-start="{" data-end="};">
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="classiceberg_1_1UnboundPredicate.html"> 62</a></span><span class="keyword">class </span>ICEBERG_EXPORT <a class="code hl_class" href="classiceberg_1_1UnboundPredicate.html">UnboundPredicate</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code hl_class" href="classiceberg_1_1Expression.html">Expression</a>,</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <span class="keyword">public</span> <a class="code hl_class" href="classiceberg_1_1Unbound.html">Unbound</a>&lt;Expression&gt; {</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> <a class="code hl_class" href="classiceberg_1_1UnboundPredicate.html">~UnboundPredicate</a>() <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="classiceberg_1_1UnboundPredicate.html#abf7cafd8f423720b48a3a0d052cb7877"> 68</a></span> std::shared_ptr&lt;const NamedReference&gt; <a class="code hl_function" href="classiceberg_1_1UnboundPredicate.html#abf7cafd8f423720b48a3a0d052cb7877">reference</a>() <span class="keyword">const override</span> = 0;</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"><a class="line" href="classiceberg_1_1UnboundPredicate.html#a59f8bba53fe0247d28327d23189f7dd1"> 71</a></span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;std::shared_ptr&lt;Expression&gt;</a>&gt; <a class="code hl_function" href="classiceberg_1_1UnboundPredicate.html#a59f8bba53fe0247d28327d23189f7dd1">Bind</a>(<span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1Schema.html">Schema</a>&amp; schema,</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <span class="keywordtype">bool</span> case_sensitive) <span class="keyword">const override</span> = 0;</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> </div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="classiceberg_1_1UnboundPredicate.html#a7c77c2d962a6965ca484a8b74cbf4b0d"> 75</a></span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;std::shared_ptr&lt;Expression&gt;</a>&gt; <a class="code hl_function" href="classiceberg_1_1UnboundPredicate.html#a7c77c2d962a6965ca484a8b74cbf4b0d">Negate</a>() <span class="keyword">const override</span> = 0;</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> <span class="keywordtype">bool</span> is_unbound_predicate()<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> <span class="keyword">true</span>; }</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> </div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="classiceberg_1_1UnboundPredicate.html#adddd7df2f07a9cb070abb41045046f93"> 80</a></span> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1Term.html">Term</a>&amp; <a class="code hl_function" href="classiceberg_1_1UnboundPredicate.html#adddd7df2f07a9cb070abb41045046f93">unbound_term</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> </div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"><a class="line" href="classiceberg_1_1UnboundPredicate.html#acead52fae79410808671f1a57d14fa07"> 83</a></span> <span class="keyword">virtual</span> std::span&lt;const Literal&gt; <a class="code hl_function" href="classiceberg_1_1UnboundPredicate.html#acead52fae79410808671f1a57d14fa07">literals</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> </div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> <span class="keyword">protected</span>:</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <a class="code hl_class" href="classiceberg_1_1UnboundPredicate.html">UnboundPredicate</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span>};</div>
</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span><span class="keyword">template</span> &lt;<span class="keyword">typename</span> B&gt;</div>
<div class="foldopen" id="foldopen00094" data-start="{" data-end="};">
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="classiceberg_1_1UnboundPredicateImpl.html"> 94</a></span><span class="keyword">class </span>ICEBERG_EXPORT <a class="code hl_class" href="classiceberg_1_1UnboundPredicateImpl.html">UnboundPredicateImpl</a> : <span class="keyword">public</span> <a class="code hl_class" href="classiceberg_1_1UnboundPredicate.html">UnboundPredicate</a>,</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="keyword">public</span> <a class="code hl_class" href="classiceberg_1_1Predicate.html">Predicate</a>&lt;UnboundTerm&lt;B&gt;&gt; {</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keyword">using </span><a class="code hl_class" href="classiceberg_1_1Predicate.html">BASE</a> = <a class="code hl_class" href="classiceberg_1_1Predicate.html">Predicate&lt;UnboundTerm&lt;B&gt;</a>&gt;;</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> </div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="classiceberg_1_1UnboundPredicateImpl.html#a061b53bd5430cbacc89a784d8d4847ce"> 104</a></span> <span class="keyword">static</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;std::unique_ptr&lt;UnboundPredicateImpl&lt;B&gt;</a>&gt;&gt; <a class="code hl_function" href="classiceberg_1_1UnboundPredicateImpl.html#a061b53bd5430cbacc89a784d8d4847ce">Make</a>(</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> <a class="code hl_enumeration" href="classiceberg_1_1Expression.html#a433076bdc34ce0b6d359313c6c7b8a9c">Expression::Operation</a> op, std::shared_ptr&lt;<a class="code hl_class" href="classiceberg_1_1UnboundTerm.html">UnboundTerm&lt;B&gt;</a>&gt; term);</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> </div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="classiceberg_1_1UnboundPredicateImpl.html#ad92d56bb097083a6c8148cb9a657f6fc"> 113</a></span> <span class="keyword">static</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;std::unique_ptr&lt;UnboundPredicateImpl&lt;B&gt;</a>&gt;&gt; <a class="code hl_function" href="classiceberg_1_1UnboundPredicateImpl.html#ad92d56bb097083a6c8148cb9a657f6fc">Make</a>(</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> <a class="code hl_enumeration" href="classiceberg_1_1Expression.html#a433076bdc34ce0b6d359313c6c7b8a9c">Expression::Operation</a> op, std::shared_ptr&lt;<a class="code hl_class" href="classiceberg_1_1UnboundTerm.html">UnboundTerm&lt;B&gt;</a>&gt; term, <a class="code hl_class" href="classiceberg_1_1Literal.html">Literal</a> value);</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> </div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"><a class="line" href="classiceberg_1_1UnboundPredicateImpl.html#a788ae13bddcae25f3c26984f1501a7bd"> 122</a></span> <span class="keyword">static</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;std::unique_ptr&lt;UnboundPredicateImpl&lt;B&gt;</a>&gt;&gt; <a class="code hl_function" href="classiceberg_1_1UnboundPredicateImpl.html#a788ae13bddcae25f3c26984f1501a7bd">Make</a>(</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <a class="code hl_enumeration" href="classiceberg_1_1Expression.html#a433076bdc34ce0b6d359313c6c7b8a9c">Expression::Operation</a> op, std::shared_ptr&lt;<a class="code hl_class" href="classiceberg_1_1UnboundTerm.html">UnboundTerm&lt;B&gt;</a>&gt; term,</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> std::vector&lt;Literal&gt; values);</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> </div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <a class="code hl_class" href="classiceberg_1_1UnboundPredicateImpl.html">~UnboundPredicateImpl</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> </div>
<div class="foldopen" id="foldopen00128" data-start="{" data-end="}">
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="classiceberg_1_1UnboundPredicateImpl.html#a78b53b6d04dc66f1cc7bdc7e922ea206"> 128</a></span> std::shared_ptr&lt;const NamedReference&gt; <a class="code hl_function" href="classiceberg_1_1UnboundPredicateImpl.html#a78b53b6d04dc66f1cc7bdc7e922ea206">reference</a>()<span class="keyword"> const override </span>{</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> <span class="keywordflow">return</span> BASE::term()-&gt;reference();</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> }</div>
</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> </div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"><a class="line" href="classiceberg_1_1UnboundPredicateImpl.html#a77b0726d46f4ef179c83064e010c14a4"> 132</a></span> std::string <a class="code hl_function" href="classiceberg_1_1UnboundPredicateImpl.html#a77b0726d46f4ef179c83064e010c14a4">ToString</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> </div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="classiceberg_1_1UnboundPredicateImpl.html#afa514e09288d9e6d8a38b18d9b7c2b4f"> 134</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classiceberg_1_1UnboundPredicateImpl.html#afa514e09288d9e6d8a38b18d9b7c2b4f">Equals</a>(<span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1Expression.html">Expression</a>&amp; other) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> </div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"><a class="line" href="classiceberg_1_1UnboundPredicateImpl.html#a234cf2ed28904188e1976ad3813a8553"> 136</a></span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;std::shared_ptr&lt;Expression&gt;</a>&gt; <a class="code hl_function" href="classiceberg_1_1UnboundPredicateImpl.html#a234cf2ed28904188e1976ad3813a8553">Bind</a>(<span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1Schema.html">Schema</a>&amp; schema,</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> <span class="keywordtype">bool</span> case_sensitive) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> </div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"><a class="line" href="classiceberg_1_1UnboundPredicateImpl.html#ac2729f36f0bc8b2e1ac71ae6221563e6"> 139</a></span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;std::shared_ptr&lt;Expression&gt;</a>&gt; <a class="code hl_function" href="classiceberg_1_1UnboundPredicateImpl.html#ac2729f36f0bc8b2e1ac71ae6221563e6">Negate</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> </div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"><a class="line" href="classiceberg_1_1UnboundPredicateImpl.html#a69a16eae16d9eccef5765d7d76e72f4a"> 141</a></span> <span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1Term.html">Term</a>&amp; <a class="code hl_function" href="classiceberg_1_1UnboundPredicateImpl.html#a69a16eae16d9eccef5765d7d76e72f4a">unbound_term</a>()<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> *BASE::term(); }</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> </div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"><a class="line" href="classiceberg_1_1UnboundPredicateImpl.html#ad40cf48a35854efea99fac3fe9aec4ba"> 143</a></span> std::span&lt;const Literal&gt; <a class="code hl_function" href="classiceberg_1_1UnboundPredicateImpl.html#ad40cf48a35854efea99fac3fe9aec4ba">literals</a>()<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> values_; }</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> </div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> <a class="code hl_class" href="classiceberg_1_1UnboundPredicateImpl.html">UnboundPredicateImpl</a>(<a class="code hl_enumeration" href="classiceberg_1_1Expression.html#a433076bdc34ce0b6d359313c6c7b8a9c">Expression::Operation</a> op, std::shared_ptr&lt;<a class="code hl_class" href="classiceberg_1_1UnboundTerm.html">UnboundTerm&lt;B&gt;</a>&gt; term);</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> <a class="code hl_class" href="classiceberg_1_1UnboundPredicateImpl.html">UnboundPredicateImpl</a>(<a class="code hl_enumeration" href="classiceberg_1_1Expression.html#a433076bdc34ce0b6d359313c6c7b8a9c">Expression::Operation</a> op, std::shared_ptr&lt;<a class="code hl_class" href="classiceberg_1_1UnboundTerm.html">UnboundTerm&lt;B&gt;</a>&gt; term,</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> <a class="code hl_class" href="classiceberg_1_1Literal.html">Literal</a> value);</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> <a class="code hl_class" href="classiceberg_1_1UnboundPredicateImpl.html">UnboundPredicateImpl</a>(<a class="code hl_enumeration" href="classiceberg_1_1Expression.html#a433076bdc34ce0b6d359313c6c7b8a9c">Expression::Operation</a> op, std::shared_ptr&lt;<a class="code hl_class" href="classiceberg_1_1UnboundTerm.html">UnboundTerm&lt;B&gt;</a>&gt; term,</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> std::vector&lt;Literal&gt; values);</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> </div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;std::shared_ptr&lt;Expression&gt;</a>&gt; BindUnaryOperation(</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> std::shared_ptr&lt;B&gt; bound_term) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;std::shared_ptr&lt;Expression&gt;</a>&gt; BindLiteralOperation(</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> std::shared_ptr&lt;B&gt; bound_term) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;std::shared_ptr&lt;Expression&gt;</a>&gt; BindInOperation(</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> std::shared_ptr&lt;B&gt; bound_term) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> </div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> std::vector&lt;Literal&gt; values_;</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span>};</div>
</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> </div>
<div class="foldopen" id="foldopen00164" data-start="{" data-end="};">
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundPredicate.html"> 164</a></span><span class="keyword">class </span>ICEBERG_EXPORT <a class="code hl_class" href="classiceberg_1_1BoundPredicate.html">BoundPredicate</a> : <span class="keyword">public</span> <a class="code hl_class" href="classiceberg_1_1Predicate.html">Predicate</a>&lt;BoundTerm&gt;, <span class="keyword">public</span> <a class="code hl_class" href="classiceberg_1_1Bound.html">Bound</a> {</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> <a class="code hl_class" href="classiceberg_1_1BoundPredicate.html">~BoundPredicate</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> </div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> <span class="keyword">using </span><a class="code hl_class" href="classiceberg_1_1Predicate.html">Predicate</a>&lt;<a class="code hl_class" href="classiceberg_1_1BoundTerm.html">BoundTerm</a>&gt;::op;</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> </div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> <span class="keyword">using </span><a class="code hl_class" href="classiceberg_1_1Predicate.html">Predicate</a>&lt;<a class="code hl_class" href="classiceberg_1_1BoundTerm.html">BoundTerm</a>&gt;::term;</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> </div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundPredicate.html#aa3c404fbe4dc5a3f194c675d03cf50b7"> 172</a></span> std::shared_ptr&lt;BoundReference&gt; <a class="code hl_function" href="classiceberg_1_1BoundPredicate.html#aa3c404fbe4dc5a3f194c675d03cf50b7">reference</a>()<span class="keyword"> override </span>{ <span class="keywordflow">return</span> term_-&gt;reference(); }</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> </div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundPredicate.html#adaca3af8c2e8a95297b8e1bad62f68d2"> 174</a></span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;Literal&gt;</a> <a class="code hl_function" href="classiceberg_1_1BoundPredicate.html#adaca3af8c2e8a95297b8e1bad62f68d2">Evaluate</a>(<span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1StructLike.html">StructLike</a>&amp; data) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> </div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> <span class="keywordtype">bool</span> is_bound_predicate()<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> <span class="keyword">true</span>; }</div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> </div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundPredicate.html#a77c567c25ebc867a38447a141ddc83d1"> 182</a></span> <span class="keyword">virtual</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;bool&gt;</a> <a class="code hl_function" href="classiceberg_1_1BoundPredicate.html#a77c567c25ebc867a38447a141ddc83d1">Test</a>(<span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1Literal.html">Literal</a>&amp; value) <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> </div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> <span class="keyword">enum class</span> Kind : int8_t {</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> <span class="comment">// A unary predicate (tests for null, not-null, etc.).</span></div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> kUnary = 0,</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <span class="comment">// A literal predicate (compares against a literal).</span></div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> kLiteral,</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> <span class="comment">// A set predicate (tests membership in a set).</span></div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> kSet,</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> };</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> </div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundPredicate.html#a0c55acc20da1543acab053040834b2c3"> 194</a></span> <span class="keyword">virtual</span> Kind <a class="code hl_function" href="classiceberg_1_1BoundPredicate.html#a0c55acc20da1543acab053040834b2c3">kind</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> </div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> <span class="keyword">protected</span>:</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> <a class="code hl_class" href="classiceberg_1_1BoundPredicate.html">BoundPredicate</a>(<a class="code hl_enumeration" href="classiceberg_1_1Expression.html#a433076bdc34ce0b6d359313c6c7b8a9c">Expression::Operation</a> op, std::shared_ptr&lt;BoundTerm&gt; term);</div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span>};</div>
</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> </div>
<div class="foldopen" id="foldopen00201" data-start="{" data-end="};">
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundUnaryPredicate.html"> 201</a></span><span class="keyword">class </span>ICEBERG_EXPORT <a class="code hl_class" href="classiceberg_1_1BoundUnaryPredicate.html">BoundUnaryPredicate</a> : <span class="keyword">public</span> <a class="code hl_class" href="classiceberg_1_1BoundPredicate.html">BoundPredicate</a> {</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundUnaryPredicate.html#aa19fe6ac8597f7a1f264f5aa0777a5b9"> 208</a></span> <span class="keyword">static</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;std::unique_ptr&lt;BoundUnaryPredicate&gt;</a>&gt; <a class="code hl_function" href="classiceberg_1_1BoundUnaryPredicate.html#aa19fe6ac8597f7a1f264f5aa0777a5b9">Make</a>(</div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> <a class="code hl_enumeration" href="classiceberg_1_1Expression.html#a433076bdc34ce0b6d359313c6c7b8a9c">Expression::Operation</a> op, std::shared_ptr&lt;BoundTerm&gt; term);</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> </div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> <a class="code hl_class" href="classiceberg_1_1BoundUnaryPredicate.html">~BoundUnaryPredicate</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> </div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundUnaryPredicate.html#a2e69b6be58a346231451d5fd2f7a80bb"> 213</a></span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;bool&gt;</a> <a class="code hl_function" href="classiceberg_1_1BoundUnaryPredicate.html#a2e69b6be58a346231451d5fd2f7a80bb">Test</a>(<span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1Literal.html">Literal</a>&amp; value) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> </div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundUnaryPredicate.html#a8c70db8cf8110480995edb4852a6edf8"> 215</a></span> Kind <a class="code hl_function" href="classiceberg_1_1BoundUnaryPredicate.html#a8c70db8cf8110480995edb4852a6edf8">kind</a>()<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> Kind::kUnary; }</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> </div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundUnaryPredicate.html#a1db67dc9aede8616173aa3e332e0de2d"> 217</a></span> std::string <a class="code hl_function" href="classiceberg_1_1BoundUnaryPredicate.html#a1db67dc9aede8616173aa3e332e0de2d">ToString</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span> </div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundUnaryPredicate.html#ac15e4e053e268ecb0a0e3d0297bd6ca8"> 219</a></span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;std::shared_ptr&lt;Expression&gt;</a>&gt; <a class="code hl_function" href="classiceberg_1_1BoundUnaryPredicate.html#ac15e4e053e268ecb0a0e3d0297bd6ca8">Negate</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span> </div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundUnaryPredicate.html#a3ad39a4f9541ec0eeb24611213faae43"> 221</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classiceberg_1_1BoundUnaryPredicate.html#a3ad39a4f9541ec0eeb24611213faae43">Equals</a>(<span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1Expression.html">Expression</a>&amp; other) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> </div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> <a class="code hl_class" href="classiceberg_1_1BoundUnaryPredicate.html">BoundUnaryPredicate</a>(<a class="code hl_enumeration" href="classiceberg_1_1Expression.html#a433076bdc34ce0b6d359313c6c7b8a9c">Expression::Operation</a> op, std::shared_ptr&lt;BoundTerm&gt; term);</div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span>};</div>
</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> </div>
<div class="foldopen" id="foldopen00228" data-start="{" data-end="};">
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundLiteralPredicate.html"> 228</a></span><span class="keyword">class </span>ICEBERG_EXPORT <a class="code hl_class" href="classiceberg_1_1BoundLiteralPredicate.html">BoundLiteralPredicate</a> : <span class="keyword">public</span> <a class="code hl_class" href="classiceberg_1_1BoundPredicate.html">BoundPredicate</a> {</div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundLiteralPredicate.html#a2c98ac8782f1485b135dea1369097680"> 236</a></span> <span class="keyword">static</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;std::unique_ptr&lt;BoundLiteralPredicate&gt;</a>&gt; <a class="code hl_function" href="classiceberg_1_1BoundLiteralPredicate.html#a2c98ac8782f1485b135dea1369097680">Make</a>(</div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> <a class="code hl_enumeration" href="classiceberg_1_1Expression.html#a433076bdc34ce0b6d359313c6c7b8a9c">Expression::Operation</a> op, std::shared_ptr&lt;BoundTerm&gt; term, <a class="code hl_class" href="classiceberg_1_1Literal.html">Literal</a> literal);</div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> </div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> <a class="code hl_class" href="classiceberg_1_1BoundLiteralPredicate.html">~BoundLiteralPredicate</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span> </div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundLiteralPredicate.html#a7cf15071d083afd590de0ac290083a78"> 242</a></span> <span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1Literal.html">Literal</a>&amp; <a class="code hl_function" href="classiceberg_1_1BoundLiteralPredicate.html#a7cf15071d083afd590de0ac290083a78">literal</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> literal_; }</div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span> </div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundLiteralPredicate.html#a8a8e08cfd5b4f37b14afcdee5b9eec8a"> 244</a></span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;bool&gt;</a> <a class="code hl_function" href="classiceberg_1_1BoundLiteralPredicate.html#a8a8e08cfd5b4f37b14afcdee5b9eec8a">Test</a>(<span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1Literal.html">Literal</a>&amp; value) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> </div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundLiteralPredicate.html#a640e009720aa6f376f599533eaf1f415"> 246</a></span> Kind <a class="code hl_function" href="classiceberg_1_1BoundLiteralPredicate.html#a640e009720aa6f376f599533eaf1f415">kind</a>()<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> Kind::kLiteral; }</div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> </div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundLiteralPredicate.html#ade374de33ad17c0c2a6888a99a8f5b0f"> 248</a></span> std::string <a class="code hl_function" href="classiceberg_1_1BoundLiteralPredicate.html#ade374de33ad17c0c2a6888a99a8f5b0f">ToString</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span> </div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundLiteralPredicate.html#a8f0ed718c05bc6c94e653819e099e091"> 250</a></span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;std::shared_ptr&lt;Expression&gt;</a>&gt; <a class="code hl_function" href="classiceberg_1_1BoundLiteralPredicate.html#a8f0ed718c05bc6c94e653819e099e091">Negate</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span> </div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundLiteralPredicate.html#aa92ed21cf7fd9e7ada37ad9eb91a9977"> 252</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classiceberg_1_1BoundLiteralPredicate.html#aa92ed21cf7fd9e7ada37ad9eb91a9977">Equals</a>(<span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1Expression.html">Expression</a>&amp; other) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span> </div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> <a class="code hl_class" href="classiceberg_1_1BoundLiteralPredicate.html">BoundLiteralPredicate</a>(<a class="code hl_enumeration" href="classiceberg_1_1Expression.html#a433076bdc34ce0b6d359313c6c7b8a9c">Expression::Operation</a> op, std::shared_ptr&lt;BoundTerm&gt; term,</div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span> <a class="code hl_class" href="classiceberg_1_1Literal.html">Literal</a> literal);</div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span> </div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span> <a class="code hl_class" href="classiceberg_1_1Literal.html">Literal</a> literal_;</div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span>};</div>
</div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> </div>
<div class="foldopen" id="foldopen00262" data-start="{" data-end="};">
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundSetPredicate.html"> 262</a></span><span class="keyword">class </span>ICEBERG_EXPORT <a class="code hl_class" href="classiceberg_1_1BoundSetPredicate.html">BoundSetPredicate</a> : <span class="keyword">public</span> <a class="code hl_class" href="classiceberg_1_1BoundPredicate.html">BoundPredicate</a> {</div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> <span class="keyword">using </span>LiteralSet = std::unordered_set&lt;Literal, LiteralHash&gt;;</div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> </div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundSetPredicate.html#a30dd1ea1fae89026ab0d1c796ae3130b"> 272</a></span> <span class="keyword">static</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;std::unique_ptr&lt;BoundSetPredicate&gt;</a>&gt; <a class="code hl_function" href="classiceberg_1_1BoundSetPredicate.html#a30dd1ea1fae89026ab0d1c796ae3130b">Make</a>(</div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span> <a class="code hl_enumeration" href="classiceberg_1_1Expression.html#a433076bdc34ce0b6d359313c6c7b8a9c">Expression::Operation</a> op, std::shared_ptr&lt;BoundTerm&gt; term,</div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> std::span&lt;const Literal&gt; literals);</div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span> </div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundSetPredicate.html#abef544db59f03b4132752ea46aba16dd"> 282</a></span> <span class="keyword">static</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;std::unique_ptr&lt;BoundSetPredicate&gt;</a>&gt; <a class="code hl_function" href="classiceberg_1_1BoundSetPredicate.html#abef544db59f03b4132752ea46aba16dd">Make</a>(<a class="code hl_enumeration" href="classiceberg_1_1Expression.html#a433076bdc34ce0b6d359313c6c7b8a9c">Expression::Operation</a> op,</div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> std::shared_ptr&lt;BoundTerm&gt; term,</div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span> LiteralSet value_set);</div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> </div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> <a class="code hl_class" href="classiceberg_1_1BoundSetPredicate.html">~BoundSetPredicate</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> </div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundSetPredicate.html#a49821789f2f23d14d8ccf18ea5c9eeb1"> 289</a></span> <span class="keyword">const</span> LiteralSet&amp; <a class="code hl_function" href="classiceberg_1_1BoundSetPredicate.html#a49821789f2f23d14d8ccf18ea5c9eeb1">literal_set</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> value_set_; }</div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> </div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundSetPredicate.html#ae484581d8255f451315b44b2e946c770"> 291</a></span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;bool&gt;</a> <a class="code hl_function" href="classiceberg_1_1BoundSetPredicate.html#ae484581d8255f451315b44b2e946c770">Test</a>(<span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1Literal.html">Literal</a>&amp; value) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> </div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundSetPredicate.html#a1771793f38e5bbcb6ca43e0051558da9"> 293</a></span> Kind <a class="code hl_function" href="classiceberg_1_1BoundSetPredicate.html#a1771793f38e5bbcb6ca43e0051558da9">kind</a>()<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> Kind::kSet; }</div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> </div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundSetPredicate.html#a03d6ebaaf709cc7262c09377c484fa14"> 295</a></span> std::string <a class="code hl_function" href="classiceberg_1_1BoundSetPredicate.html#a03d6ebaaf709cc7262c09377c484fa14">ToString</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> </div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundSetPredicate.html#ab82330a3d48d9b139764ae3972c0c271"> 297</a></span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;std::shared_ptr&lt;Expression&gt;</a>&gt; <a class="code hl_function" href="classiceberg_1_1BoundSetPredicate.html#ab82330a3d48d9b139764ae3972c0c271">Negate</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span> </div>
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundSetPredicate.html#a06619576f7388681a6f0c04432b61e4e"> 299</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classiceberg_1_1BoundSetPredicate.html#a06619576f7388681a6f0c04432b61e4e">Equals</a>(<span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1Expression.html">Expression</a>&amp; other) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span> </div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</span> <a class="code hl_class" href="classiceberg_1_1BoundSetPredicate.html">BoundSetPredicate</a>(<a class="code hl_enumeration" href="classiceberg_1_1Expression.html#a433076bdc34ce0b6d359313c6c7b8a9c">Expression::Operation</a> op, std::shared_ptr&lt;BoundTerm&gt; term,</div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"> 303</span> std::span&lt;const Literal&gt; literals);</div>
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span> </div>
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span> <a class="code hl_class" href="classiceberg_1_1BoundSetPredicate.html">BoundSetPredicate</a>(<a class="code hl_enumeration" href="classiceberg_1_1Expression.html#a433076bdc34ce0b6d359313c6c7b8a9c">Expression::Operation</a> op, std::shared_ptr&lt;BoundTerm&gt; term,</div>
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"> 306</span> LiteralSet value_set);</div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span> </div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span> LiteralSet value_set_;</div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span>};</div>
</div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"> 310</span> </div>
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"> 311</span>} <span class="comment">// namespace iceberg</span></div>
<div class="ttc" id="aclassiceberg_1_1BoundLiteralPredicate_html"><div class="ttname"><a href="classiceberg_1_1BoundLiteralPredicate.html">iceberg::BoundLiteralPredicate</a></div><div class="ttdoc">Bound literal predicate (comparison against a single value).</div><div class="ttdef"><b>Definition</b> predicate.h:228</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundLiteralPredicate_html_a2c98ac8782f1485b135dea1369097680"><div class="ttname"><a href="classiceberg_1_1BoundLiteralPredicate.html#a2c98ac8782f1485b135dea1369097680">iceberg::BoundLiteralPredicate::Make</a></div><div class="ttdeci">static Result&lt; std::unique_ptr&lt; BoundLiteralPredicate &gt; &gt; Make(Expression::Operation op, std::shared_ptr&lt; BoundTerm &gt; term, Literal literal)</div><div class="ttdoc">Create a bound literal predicate.</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundLiteralPredicate_html_a640e009720aa6f376f599533eaf1f415"><div class="ttname"><a href="classiceberg_1_1BoundLiteralPredicate.html#a640e009720aa6f376f599533eaf1f415">iceberg::BoundLiteralPredicate::kind</a></div><div class="ttdeci">Kind kind() const override</div><div class="ttdoc">Returns the kind of this bound predicate.</div><div class="ttdef"><b>Definition</b> predicate.h:246</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundLiteralPredicate_html_a7cf15071d083afd590de0ac290083a78"><div class="ttname"><a href="classiceberg_1_1BoundLiteralPredicate.html#a7cf15071d083afd590de0ac290083a78">iceberg::BoundLiteralPredicate::literal</a></div><div class="ttdeci">const Literal &amp; literal() const</div><div class="ttdoc">Returns the literal being compared against.</div><div class="ttdef"><b>Definition</b> predicate.h:242</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundLiteralPredicate_html_a8a8e08cfd5b4f37b14afcdee5b9eec8a"><div class="ttname"><a href="classiceberg_1_1BoundLiteralPredicate.html#a8a8e08cfd5b4f37b14afcdee5b9eec8a">iceberg::BoundLiteralPredicate::Test</a></div><div class="ttdeci">Result&lt; bool &gt; Test(const Literal &amp;value) const override</div><div class="ttdoc">Test a value against this predicate.</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundLiteralPredicate_html_a8f0ed718c05bc6c94e653819e099e091"><div class="ttname"><a href="classiceberg_1_1BoundLiteralPredicate.html#a8f0ed718c05bc6c94e653819e099e091">iceberg::BoundLiteralPredicate::Negate</a></div><div class="ttdeci">Result&lt; std::shared_ptr&lt; Expression &gt; &gt; Negate() const override</div><div class="ttdoc">Returns the negation of this expression, equivalent to not(this).</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundLiteralPredicate_html_aa92ed21cf7fd9e7ada37ad9eb91a9977"><div class="ttname"><a href="classiceberg_1_1BoundLiteralPredicate.html#aa92ed21cf7fd9e7ada37ad9eb91a9977">iceberg::BoundLiteralPredicate::Equals</a></div><div class="ttdeci">bool Equals(const Expression &amp;other) const override</div><div class="ttdoc">Returns whether this expression will accept the same values as another.</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundLiteralPredicate_html_ade374de33ad17c0c2a6888a99a8f5b0f"><div class="ttname"><a href="classiceberg_1_1BoundLiteralPredicate.html#ade374de33ad17c0c2a6888a99a8f5b0f">iceberg::BoundLiteralPredicate::ToString</a></div><div class="ttdeci">std::string ToString() const override</div><div class="ttdoc">Get a user-readable string representation.</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundPredicate_html"><div class="ttname"><a href="classiceberg_1_1BoundPredicate.html">iceberg::BoundPredicate</a></div><div class="ttdoc">Bound predicates contain bound terms and can be evaluated.</div><div class="ttdef"><b>Definition</b> predicate.h:164</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundPredicate_html_a0c55acc20da1543acab053040834b2c3"><div class="ttname"><a href="classiceberg_1_1BoundPredicate.html#a0c55acc20da1543acab053040834b2c3">iceberg::BoundPredicate::kind</a></div><div class="ttdeci">virtual Kind kind() const =0</div><div class="ttdoc">Returns the kind of this bound predicate.</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundPredicate_html_a77c567c25ebc867a38447a141ddc83d1"><div class="ttname"><a href="classiceberg_1_1BoundPredicate.html#a77c567c25ebc867a38447a141ddc83d1">iceberg::BoundPredicate::Test</a></div><div class="ttdeci">virtual Result&lt; bool &gt; Test(const Literal &amp;value) const =0</div><div class="ttdoc">Test a value against this predicate.</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundPredicate_html_aa3c404fbe4dc5a3f194c675d03cf50b7"><div class="ttname"><a href="classiceberg_1_1BoundPredicate.html#aa3c404fbe4dc5a3f194c675d03cf50b7">iceberg::BoundPredicate::reference</a></div><div class="ttdeci">std::shared_ptr&lt; BoundReference &gt; reference() override</div><div class="ttdoc">Returns the underlying bound reference for this term.</div><div class="ttdef"><b>Definition</b> predicate.h:172</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundPredicate_html_adaca3af8c2e8a95297b8e1bad62f68d2"><div class="ttname"><a href="classiceberg_1_1BoundPredicate.html#adaca3af8c2e8a95297b8e1bad62f68d2">iceberg::BoundPredicate::Evaluate</a></div><div class="ttdeci">Result&lt; Literal &gt; Evaluate(const StructLike &amp;data) const override</div><div class="ttdoc">Evaluate this expression against a row-based data.</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundSetPredicate_html"><div class="ttname"><a href="classiceberg_1_1BoundSetPredicate.html">iceberg::BoundSetPredicate</a></div><div class="ttdoc">Bound set predicate (membership testing against a set of values).</div><div class="ttdef"><b>Definition</b> predicate.h:262</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundSetPredicate_html_a03d6ebaaf709cc7262c09377c484fa14"><div class="ttname"><a href="classiceberg_1_1BoundSetPredicate.html#a03d6ebaaf709cc7262c09377c484fa14">iceberg::BoundSetPredicate::ToString</a></div><div class="ttdeci">std::string ToString() const override</div><div class="ttdoc">Get a user-readable string representation.</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundSetPredicate_html_a06619576f7388681a6f0c04432b61e4e"><div class="ttname"><a href="classiceberg_1_1BoundSetPredicate.html#a06619576f7388681a6f0c04432b61e4e">iceberg::BoundSetPredicate::Equals</a></div><div class="ttdeci">bool Equals(const Expression &amp;other) const override</div><div class="ttdoc">Returns whether this expression will accept the same values as another.</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundSetPredicate_html_a1771793f38e5bbcb6ca43e0051558da9"><div class="ttname"><a href="classiceberg_1_1BoundSetPredicate.html#a1771793f38e5bbcb6ca43e0051558da9">iceberg::BoundSetPredicate::kind</a></div><div class="ttdeci">Kind kind() const override</div><div class="ttdoc">Returns the kind of this bound predicate.</div><div class="ttdef"><b>Definition</b> predicate.h:293</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundSetPredicate_html_a30dd1ea1fae89026ab0d1c796ae3130b"><div class="ttname"><a href="classiceberg_1_1BoundSetPredicate.html#a30dd1ea1fae89026ab0d1c796ae3130b">iceberg::BoundSetPredicate::Make</a></div><div class="ttdeci">static Result&lt; std::unique_ptr&lt; BoundSetPredicate &gt; &gt; Make(Expression::Operation op, std::shared_ptr&lt; BoundTerm &gt; term, std::span&lt; const Literal &gt; literals)</div><div class="ttdoc">Create a bound set predicate.</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundSetPredicate_html_a49821789f2f23d14d8ccf18ea5c9eeb1"><div class="ttname"><a href="classiceberg_1_1BoundSetPredicate.html#a49821789f2f23d14d8ccf18ea5c9eeb1">iceberg::BoundSetPredicate::literal_set</a></div><div class="ttdeci">const LiteralSet &amp; literal_set() const</div><div class="ttdoc">Returns the set of literals to test against.</div><div class="ttdef"><b>Definition</b> predicate.h:289</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundSetPredicate_html_ab82330a3d48d9b139764ae3972c0c271"><div class="ttname"><a href="classiceberg_1_1BoundSetPredicate.html#ab82330a3d48d9b139764ae3972c0c271">iceberg::BoundSetPredicate::Negate</a></div><div class="ttdeci">Result&lt; std::shared_ptr&lt; Expression &gt; &gt; Negate() const override</div><div class="ttdoc">Returns the negation of this expression, equivalent to not(this).</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundSetPredicate_html_abef544db59f03b4132752ea46aba16dd"><div class="ttname"><a href="classiceberg_1_1BoundSetPredicate.html#abef544db59f03b4132752ea46aba16dd">iceberg::BoundSetPredicate::Make</a></div><div class="ttdeci">static Result&lt; std::unique_ptr&lt; BoundSetPredicate &gt; &gt; Make(Expression::Operation op, std::shared_ptr&lt; BoundTerm &gt; term, LiteralSet value_set)</div><div class="ttdoc">Create a bound set predicate using a set of literals.</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundSetPredicate_html_ae484581d8255f451315b44b2e946c770"><div class="ttname"><a href="classiceberg_1_1BoundSetPredicate.html#ae484581d8255f451315b44b2e946c770">iceberg::BoundSetPredicate::Test</a></div><div class="ttdeci">Result&lt; bool &gt; Test(const Literal &amp;value) const override</div><div class="ttdoc">Test a value against this predicate.</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundTerm_html"><div class="ttname"><a href="classiceberg_1_1BoundTerm.html">iceberg::BoundTerm</a></div><div class="ttdoc">Base class for bound terms.</div><div class="ttdef"><b>Definition</b> term.h:64</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundUnaryPredicate_html"><div class="ttname"><a href="classiceberg_1_1BoundUnaryPredicate.html">iceberg::BoundUnaryPredicate</a></div><div class="ttdoc">Bound unary predicate (null, not-null, etc.).</div><div class="ttdef"><b>Definition</b> predicate.h:201</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundUnaryPredicate_html_a1db67dc9aede8616173aa3e332e0de2d"><div class="ttname"><a href="classiceberg_1_1BoundUnaryPredicate.html#a1db67dc9aede8616173aa3e332e0de2d">iceberg::BoundUnaryPredicate::ToString</a></div><div class="ttdeci">std::string ToString() const override</div><div class="ttdoc">Get a user-readable string representation.</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundUnaryPredicate_html_a2e69b6be58a346231451d5fd2f7a80bb"><div class="ttname"><a href="classiceberg_1_1BoundUnaryPredicate.html#a2e69b6be58a346231451d5fd2f7a80bb">iceberg::BoundUnaryPredicate::Test</a></div><div class="ttdeci">Result&lt; bool &gt; Test(const Literal &amp;value) const override</div><div class="ttdoc">Test a value against this predicate.</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundUnaryPredicate_html_a3ad39a4f9541ec0eeb24611213faae43"><div class="ttname"><a href="classiceberg_1_1BoundUnaryPredicate.html#a3ad39a4f9541ec0eeb24611213faae43">iceberg::BoundUnaryPredicate::Equals</a></div><div class="ttdeci">bool Equals(const Expression &amp;other) const override</div><div class="ttdoc">Returns whether this expression will accept the same values as another.</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundUnaryPredicate_html_a8c70db8cf8110480995edb4852a6edf8"><div class="ttname"><a href="classiceberg_1_1BoundUnaryPredicate.html#a8c70db8cf8110480995edb4852a6edf8">iceberg::BoundUnaryPredicate::kind</a></div><div class="ttdeci">Kind kind() const override</div><div class="ttdoc">Returns the kind of this bound predicate.</div><div class="ttdef"><b>Definition</b> predicate.h:215</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundUnaryPredicate_html_aa19fe6ac8597f7a1f264f5aa0777a5b9"><div class="ttname"><a href="classiceberg_1_1BoundUnaryPredicate.html#aa19fe6ac8597f7a1f264f5aa0777a5b9">iceberg::BoundUnaryPredicate::Make</a></div><div class="ttdeci">static Result&lt; std::unique_ptr&lt; BoundUnaryPredicate &gt; &gt; Make(Expression::Operation op, std::shared_ptr&lt; BoundTerm &gt; term)</div><div class="ttdoc">Create a bound unary predicate.</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundUnaryPredicate_html_ac15e4e053e268ecb0a0e3d0297bd6ca8"><div class="ttname"><a href="classiceberg_1_1BoundUnaryPredicate.html#ac15e4e053e268ecb0a0e3d0297bd6ca8">iceberg::BoundUnaryPredicate::Negate</a></div><div class="ttdeci">Result&lt; std::shared_ptr&lt; Expression &gt; &gt; Negate() const override</div><div class="ttdoc">Returns the negation of this expression, equivalent to not(this).</div></div>
<div class="ttc" id="aclassiceberg_1_1Bound_html"><div class="ttname"><a href="classiceberg_1_1Bound.html">iceberg::Bound</a></div><div class="ttdoc">Interface for bound expressions that can be evaluated.</div><div class="ttdef"><b>Definition</b> expression.h:360</div></div>
<div class="ttc" id="aclassiceberg_1_1Expression_html"><div class="ttname"><a href="classiceberg_1_1Expression.html">iceberg::Expression</a></div><div class="ttdoc">Represents a boolean expression tree.</div><div class="ttdef"><b>Definition</b> expression.h:37</div></div>
<div class="ttc" id="aclassiceberg_1_1Expression_html_a433076bdc34ce0b6d359313c6c7b8a9c"><div class="ttname"><a href="classiceberg_1_1Expression.html#a433076bdc34ce0b6d359313c6c7b8a9c">iceberg::Expression::Operation</a></div><div class="ttdeci">Operation</div><div class="ttdoc">Operation types for expressions.</div><div class="ttdef"><b>Definition</b> expression.h:40</div></div>
<div class="ttc" id="aclassiceberg_1_1Literal_html"><div class="ttname"><a href="classiceberg_1_1Literal.html">iceberg::Literal</a></div><div class="ttdoc">Literal is a literal value that is associated with a primitive type.</div><div class="ttdef"><b>Definition</b> literal.h:42</div></div>
<div class="ttc" id="aclassiceberg_1_1Predicate_html"><div class="ttname"><a href="classiceberg_1_1Predicate.html">iceberg::Predicate</a></div><div class="ttdoc">A predicate is a boolean expression that tests a term against some criteria.</div><div class="ttdef"><b>Definition</b> predicate.h:38</div></div>
<div class="ttc" id="aclassiceberg_1_1Predicate_html_a149508fc8ddf4cd5d4da0ae9f4c1c80f"><div class="ttname"><a href="classiceberg_1_1Predicate.html#a149508fc8ddf4cd5d4da0ae9f4c1c80f">iceberg::Predicate::op</a></div><div class="ttdeci">Expression::Operation op() const override</div><div class="ttdoc">Returns the operation for an expression node.</div><div class="ttdef"><b>Definition</b> predicate.h:42</div></div>
<div class="ttc" id="aclassiceberg_1_1Predicate_html_acee9f864ef011a76e45d98f0d9bf42af"><div class="ttname"><a href="classiceberg_1_1Predicate.html#acee9f864ef011a76e45d98f0d9bf42af">iceberg::Predicate::term</a></div><div class="ttdeci">const std::shared_ptr&lt; T &gt; &amp; term() const</div><div class="ttdoc">Returns the term this predicate tests.</div><div class="ttdef"><b>Definition</b> predicate.h:45</div></div>
<div class="ttc" id="aclassiceberg_1_1Predicate_html_ae1f081b37983ae239d609238ed382f73"><div class="ttname"><a href="classiceberg_1_1Predicate.html#ae1f081b37983ae239d609238ed382f73">iceberg::Predicate::Predicate</a></div><div class="ttdeci">Predicate(Expression::Operation op, std::shared_ptr&lt; T &gt; term)</div><div class="ttdoc">Create a predicate with an operation and term.</div></div>
<div class="ttc" id="aclassiceberg_1_1Schema_html"><div class="ttname"><a href="classiceberg_1_1Schema.html">iceberg::Schema</a></div><div class="ttdoc">A schema for a Table.</div><div class="ttdef"><b>Definition</b> schema.h:51</div></div>
<div class="ttc" id="aclassiceberg_1_1StructLike_html"><div class="ttname"><a href="classiceberg_1_1StructLike.html">iceberg::StructLike</a></div><div class="ttdoc">An immutable struct-like wrapper.</div><div class="ttdef"><b>Definition</b> struct_like.h:62</div></div>
<div class="ttc" id="aclassiceberg_1_1Term_html"><div class="ttname"><a href="classiceberg_1_1Term.html">iceberg::Term</a></div><div class="ttdoc">A term is an expression node that produces a typed value when evaluated.</div><div class="ttdef"><b>Definition</b> term.h:38</div></div>
<div class="ttc" id="aclassiceberg_1_1UnboundPredicateImpl_html"><div class="ttname"><a href="classiceberg_1_1UnboundPredicateImpl.html">iceberg::UnboundPredicateImpl</a></div><div class="ttdoc">Unbound predicates contain unbound terms and must be bound to a concrete schema before they can be ev...</div><div class="ttdef"><b>Definition</b> predicate.h:95</div></div>
<div class="ttc" id="aclassiceberg_1_1UnboundPredicateImpl_html_a061b53bd5430cbacc89a784d8d4847ce"><div class="ttname"><a href="classiceberg_1_1UnboundPredicateImpl.html#a061b53bd5430cbacc89a784d8d4847ce">iceberg::UnboundPredicateImpl::Make</a></div><div class="ttdeci">static Result&lt; std::unique_ptr&lt; UnboundPredicateImpl&lt; B &gt; &gt; &gt; Make(Expression::Operation op, std::shared_ptr&lt; UnboundTerm&lt; B &gt; &gt; term)</div><div class="ttdoc">Create an unbound predicate (unary operation).</div></div>
<div class="ttc" id="aclassiceberg_1_1UnboundPredicateImpl_html_a234cf2ed28904188e1976ad3813a8553"><div class="ttname"><a href="classiceberg_1_1UnboundPredicateImpl.html#a234cf2ed28904188e1976ad3813a8553">iceberg::UnboundPredicateImpl::Bind</a></div><div class="ttdeci">Result&lt; std::shared_ptr&lt; Expression &gt; &gt; Bind(const Schema &amp;schema, bool case_sensitive) const override</div><div class="ttdoc">Bind this UnboundPredicate.</div></div>
<div class="ttc" id="aclassiceberg_1_1UnboundPredicateImpl_html_a69a16eae16d9eccef5765d7d76e72f4a"><div class="ttname"><a href="classiceberg_1_1UnboundPredicateImpl.html#a69a16eae16d9eccef5765d7d76e72f4a">iceberg::UnboundPredicateImpl::unbound_term</a></div><div class="ttdeci">const Term &amp; unbound_term() const override</div><div class="ttdoc">Returns the term of this predicate as a base Term reference.</div><div class="ttdef"><b>Definition</b> predicate.h:141</div></div>
<div class="ttc" id="aclassiceberg_1_1UnboundPredicateImpl_html_a77b0726d46f4ef179c83064e010c14a4"><div class="ttname"><a href="classiceberg_1_1UnboundPredicateImpl.html#a77b0726d46f4ef179c83064e010c14a4">iceberg::UnboundPredicateImpl::ToString</a></div><div class="ttdeci">std::string ToString() const override</div><div class="ttdoc">Get a user-readable string representation.</div></div>
<div class="ttc" id="aclassiceberg_1_1UnboundPredicateImpl_html_a788ae13bddcae25f3c26984f1501a7bd"><div class="ttname"><a href="classiceberg_1_1UnboundPredicateImpl.html#a788ae13bddcae25f3c26984f1501a7bd">iceberg::UnboundPredicateImpl::Make</a></div><div class="ttdeci">static Result&lt; std::unique_ptr&lt; UnboundPredicateImpl&lt; B &gt; &gt; &gt; Make(Expression::Operation op, std::shared_ptr&lt; UnboundTerm&lt; B &gt; &gt; term, std::vector&lt; Literal &gt; values)</div><div class="ttdoc">Create an unbound predicate with multiple values.</div></div>
<div class="ttc" id="aclassiceberg_1_1UnboundPredicateImpl_html_a78b53b6d04dc66f1cc7bdc7e922ea206"><div class="ttname"><a href="classiceberg_1_1UnboundPredicateImpl.html#a78b53b6d04dc66f1cc7bdc7e922ea206">iceberg::UnboundPredicateImpl::reference</a></div><div class="ttdeci">std::shared_ptr&lt; const NamedReference &gt; reference() const override</div><div class="ttdoc">Returns the reference of this UnboundPredicate.</div><div class="ttdef"><b>Definition</b> predicate.h:128</div></div>
<div class="ttc" id="aclassiceberg_1_1UnboundPredicateImpl_html_ac2729f36f0bc8b2e1ac71ae6221563e6"><div class="ttname"><a href="classiceberg_1_1UnboundPredicateImpl.html#ac2729f36f0bc8b2e1ac71ae6221563e6">iceberg::UnboundPredicateImpl::Negate</a></div><div class="ttdeci">Result&lt; std::shared_ptr&lt; Expression &gt; &gt; Negate() const override</div><div class="ttdoc">Negate this UnboundPredicate.</div></div>
<div class="ttc" id="aclassiceberg_1_1UnboundPredicateImpl_html_ad40cf48a35854efea99fac3fe9aec4ba"><div class="ttname"><a href="classiceberg_1_1UnboundPredicateImpl.html#ad40cf48a35854efea99fac3fe9aec4ba">iceberg::UnboundPredicateImpl::literals</a></div><div class="ttdeci">std::span&lt; const Literal &gt; literals() const override</div><div class="ttdoc">Returns the literals of this predicate.</div><div class="ttdef"><b>Definition</b> predicate.h:143</div></div>
<div class="ttc" id="aclassiceberg_1_1UnboundPredicateImpl_html_ad92d56bb097083a6c8148cb9a657f6fc"><div class="ttname"><a href="classiceberg_1_1UnboundPredicateImpl.html#ad92d56bb097083a6c8148cb9a657f6fc">iceberg::UnboundPredicateImpl::Make</a></div><div class="ttdeci">static Result&lt; std::unique_ptr&lt; UnboundPredicateImpl&lt; B &gt; &gt; &gt; Make(Expression::Operation op, std::shared_ptr&lt; UnboundTerm&lt; B &gt; &gt; term, Literal value)</div><div class="ttdoc">Create an unbound predicate with a single value.</div></div>
<div class="ttc" id="aclassiceberg_1_1UnboundPredicateImpl_html_afa514e09288d9e6d8a38b18d9b7c2b4f"><div class="ttname"><a href="classiceberg_1_1UnboundPredicateImpl.html#afa514e09288d9e6d8a38b18d9b7c2b4f">iceberg::UnboundPredicateImpl::Equals</a></div><div class="ttdeci">bool Equals(const Expression &amp;other) const override</div><div class="ttdoc">Returns whether this expression will accept the same values as another.</div></div>
<div class="ttc" id="aclassiceberg_1_1UnboundPredicate_html"><div class="ttname"><a href="classiceberg_1_1UnboundPredicate.html">iceberg::UnboundPredicate</a></div><div class="ttdoc">Non-template base class for all UnboundPredicate instances.</div><div class="ttdef"><b>Definition</b> predicate.h:63</div></div>
<div class="ttc" id="aclassiceberg_1_1UnboundPredicate_html_a59f8bba53fe0247d28327d23189f7dd1"><div class="ttname"><a href="classiceberg_1_1UnboundPredicate.html#a59f8bba53fe0247d28327d23189f7dd1">iceberg::UnboundPredicate::Bind</a></div><div class="ttdeci">Result&lt; std::shared_ptr&lt; Expression &gt; &gt; Bind(const Schema &amp;schema, bool case_sensitive) const override=0</div><div class="ttdoc">Bind this UnboundPredicate.</div></div>
<div class="ttc" id="aclassiceberg_1_1UnboundPredicate_html_a7c77c2d962a6965ca484a8b74cbf4b0d"><div class="ttname"><a href="classiceberg_1_1UnboundPredicate.html#a7c77c2d962a6965ca484a8b74cbf4b0d">iceberg::UnboundPredicate::Negate</a></div><div class="ttdeci">Result&lt; std::shared_ptr&lt; Expression &gt; &gt; Negate() const override=0</div><div class="ttdoc">Negate this UnboundPredicate.</div></div>
<div class="ttc" id="aclassiceberg_1_1UnboundPredicate_html_abf7cafd8f423720b48a3a0d052cb7877"><div class="ttname"><a href="classiceberg_1_1UnboundPredicate.html#abf7cafd8f423720b48a3a0d052cb7877">iceberg::UnboundPredicate::reference</a></div><div class="ttdeci">std::shared_ptr&lt; const NamedReference &gt; reference() const override=0</div><div class="ttdoc">Returns the reference of this UnboundPredicate.</div></div>
<div class="ttc" id="aclassiceberg_1_1UnboundPredicate_html_acead52fae79410808671f1a57d14fa07"><div class="ttname"><a href="classiceberg_1_1UnboundPredicate.html#acead52fae79410808671f1a57d14fa07">iceberg::UnboundPredicate::literals</a></div><div class="ttdeci">virtual std::span&lt; const Literal &gt; literals() const =0</div><div class="ttdoc">Returns the literals of this predicate.</div></div>
<div class="ttc" id="aclassiceberg_1_1UnboundPredicate_html_adddd7df2f07a9cb070abb41045046f93"><div class="ttname"><a href="classiceberg_1_1UnboundPredicate.html#adddd7df2f07a9cb070abb41045046f93">iceberg::UnboundPredicate::unbound_term</a></div><div class="ttdeci">virtual const Term &amp; unbound_term() const =0</div><div class="ttdoc">Returns the term of this predicate as a base Term reference.</div></div>
<div class="ttc" id="aclassiceberg_1_1UnboundTerm_html"><div class="ttname"><a href="classiceberg_1_1UnboundTerm.html">iceberg::UnboundTerm</a></div><div class="ttdoc">Base class for unbound terms.</div><div class="ttdef"><b>Definition</b> term.h:56</div></div>
<div class="ttc" id="aclassiceberg_1_1Unbound_html"><div class="ttname"><a href="classiceberg_1_1Unbound.html">iceberg::Unbound</a></div><div class="ttdoc">Interface for unbound expressions that need schema binding.</div><div class="ttdef"><b>Definition</b> expression.h:339</div></div>
<div class="ttc" id="aexpression_8h_html"><div class="ttname"><a href="expression_8h.html">expression.h</a></div></div>
<div class="ttc" id="aiceberg__export_8h_html"><div class="ttname"><a href="iceberg__export_8h.html">iceberg_export.h</a></div><div class="ttdoc">Define symbol visibility macros for core Iceberg APIs.</div></div>
<div class="ttc" id="aliteral_8h_html"><div class="ttname"><a href="literal_8h.html">literal.h</a></div><div class="ttdoc">Define typed literal values used by expressions.</div></div>
<div class="ttc" id="anamespaceiceberg_html"><div class="ttname"><a href="namespaceiceberg.html">iceberg</a></div><div class="ttdoc">Core Apache Iceberg C++ APIs.</div><div class="ttdef"><b>Definition</b> arrow_io_util.h:33</div></div>
<div class="ttc" id="anamespaceiceberg_html_a9d5594e371beb516b0120e07e69d3af6"><div class="ttname"><a href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">iceberg::Result</a></div><div class="ttdeci">std::expected&lt; T, E &gt; Result</div><div class="ttdoc">Result alias.</div><div class="ttdef"><b>Definition</b> result.h:88</div></div>
<div class="ttc" id="aterm_8h_html"><div class="ttname"><a href="term_8h.html">term.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>