blob: ba4aa00e73c2b61b9e08d43ff80a56b69a76f843 [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/update/row_delta.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_6d010e03372010f41233a7d3a31e0117.html">update</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">row_delta.h</div></div>
</div><!--header-->
<div class="contents">
<a href="row__delta_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="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include &lt;cstdint&gt;</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include &lt;optional&gt;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include &lt;span&gt;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include &lt;unordered_set&gt;</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</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="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="preprocessor">#include &quot;<a class="code" href="result_8h.html">iceberg/result.h</a>&quot;</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="preprocessor">#include &quot;<a class="code" href="type__fwd_8h.html">iceberg/type_fwd.h</a>&quot;</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="preprocessor">#include &quot;<a class="code" href="merging__snapshot__update_8h.html">iceberg/update/merging_snapshot_update.h</a>&quot;</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="preprocessor">#include &quot;<a class="code" href="data__file__set_8h.html">iceberg/util/data_file_set.h</a>&quot;</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceiceberg.html">iceberg</a> {</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> </div>
<div class="foldopen" id="foldopen00047" data-start="{" data-end="};">
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="classiceberg_1_1RowDelta.html"> 47</a></span><span class="keyword">class </span>ICEBERG_EXPORT <a class="code hl_class" href="classiceberg_1_1RowDelta.html">RowDelta</a> : <span class="keyword">public</span> <a class="code hl_class" href="classiceberg_1_1MergingSnapshotUpdate.html">MergingSnapshotUpdate</a> {</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="classiceberg_1_1RowDelta.html#a7b9d5a3ceff65d3ca5f2555d86424797"> 50</a></span> <span class="keyword">static</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;std::unique_ptr&lt;RowDelta&gt;</a>&gt; <a class="code hl_function" href="classiceberg_1_1RowDelta.html#a7b9d5a3ceff65d3ca5f2555d86424797">Make</a>(std::string table_name,</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> std::shared_ptr&lt;TransactionContext&gt; ctx);</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="classiceberg_1_1RowDelta.html#a44edfcb53ee995c8a291f96e9876e07b"> 57</a></span> <a class="code hl_class" href="classiceberg_1_1RowDelta.html">RowDelta</a>&amp; <a class="code hl_function" href="classiceberg_1_1RowDelta.html#a44edfcb53ee995c8a291f96e9876e07b">AddRows</a>(<span class="keyword">const</span> std::shared_ptr&lt;DataFile&gt;&amp; inserts);</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="classiceberg_1_1RowDelta.html#aedde88e3b9012b3149f1ac9ae3cc0732"> 63</a></span> <a class="code hl_class" href="classiceberg_1_1RowDelta.html">RowDelta</a>&amp; <a class="code hl_function" href="classiceberg_1_1RowDelta.html#aedde88e3b9012b3149f1ac9ae3cc0732">AddDeletes</a>(<span class="keyword">const</span> std::shared_ptr&lt;DataFile&gt;&amp; deletes);</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="classiceberg_1_1RowDelta.html#a18af54eb9f01d5f450781867684522d7"> 69</a></span> <a class="code hl_class" href="classiceberg_1_1RowDelta.html">RowDelta</a>&amp; <a class="code hl_function" href="classiceberg_1_1RowDelta.html#a18af54eb9f01d5f450781867684522d7">RemoveRows</a>(<span class="keyword">const</span> std::shared_ptr&lt;DataFile&gt;&amp; file);</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> </div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="classiceberg_1_1RowDelta.html#aa81bf077a7699ba8fe9abdd1c17f6d4b"> 75</a></span> <a class="code hl_class" href="classiceberg_1_1RowDelta.html">RowDelta</a>&amp; <a class="code hl_function" href="classiceberg_1_1RowDelta.html#aa81bf077a7699ba8fe9abdd1c17f6d4b">RemoveDeletes</a>(<span class="keyword">const</span> std::shared_ptr&lt;DataFile&gt;&amp; deletes);</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> </div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="classiceberg_1_1RowDelta.html#a04d7160053beec055b5bc3d302776c72"> 85</a></span> <a class="code hl_class" href="classiceberg_1_1RowDelta.html">RowDelta</a>&amp; <a class="code hl_function" href="classiceberg_1_1RowDelta.html#a04d7160053beec055b5bc3d302776c72">ValidateFromSnapshot</a>(int64_t snapshot_id);</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"><a class="line" href="classiceberg_1_1RowDelta.html#abfff87e4df4033f3f995fe7a9efc8c1c"> 91</a></span> <a class="code hl_class" href="classiceberg_1_1RowDelta.html">RowDelta</a>&amp; <a class="code hl_function" href="classiceberg_1_1RowDelta.html#abfff87e4df4033f3f995fe7a9efc8c1c">CaseSensitive</a>(<span class="keywordtype">bool</span> case_sensitive);</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> </div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="classiceberg_1_1RowDelta.html#a2402bbc42b5435f6ba8d78de01fcccde"> 104</a></span> <a class="code hl_class" href="classiceberg_1_1RowDelta.html">RowDelta</a>&amp; <a class="code hl_function" href="classiceberg_1_1RowDelta.html#a2402bbc42b5435f6ba8d78de01fcccde">ValidateDataFilesExist</a>(std::span&lt;const std::string&gt; referenced_files);</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> </div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"><a class="line" href="classiceberg_1_1RowDelta.html#a46a073db0c99e0c46413d7b89b3fa89f"> 115</a></span> <a class="code hl_class" href="classiceberg_1_1RowDelta.html">RowDelta</a>&amp; <a class="code hl_function" href="classiceberg_1_1RowDelta.html#a46a073db0c99e0c46413d7b89b3fa89f">ValidateDeletedFiles</a>();</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> </div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"><a class="line" href="classiceberg_1_1RowDelta.html#ab8c598a5024ffca8fdb5d25584d7f63e"> 124</a></span> <a class="code hl_class" href="classiceberg_1_1RowDelta.html">RowDelta</a>&amp; <a class="code hl_function" href="classiceberg_1_1RowDelta.html#ab8c598a5024ffca8fdb5d25584d7f63e">ConflictDetectionFilter</a>(std::shared_ptr&lt;Expression&gt; filter);</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> </div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"><a class="line" href="classiceberg_1_1RowDelta.html#a4a08c45826210e4879921cac3bebf182"> 142</a></span> <a class="code hl_class" href="classiceberg_1_1RowDelta.html">RowDelta</a>&amp; <a class="code hl_function" href="classiceberg_1_1RowDelta.html#a4a08c45826210e4879921cac3bebf182">ValidateNoConflictingDataFiles</a>();</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> </div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="classiceberg_1_1RowDelta.html#a1ae2d777d05d4194e59ddaa95925dd5f"> 155</a></span> <a class="code hl_class" href="classiceberg_1_1RowDelta.html">RowDelta</a>&amp; <a class="code hl_function" href="classiceberg_1_1RowDelta.html#a1ae2d777d05d4194e59ddaa95925dd5f">ValidateNoConflictingDeleteFiles</a>();</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> </div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"><a class="line" href="classiceberg_1_1RowDelta.html#a8b275ad459dc7973b71277fc0a32d5d8"> 157</a></span> std::string <a class="code hl_function" href="classiceberg_1_1RowDelta.html#a8b275ad459dc7973b71277fc0a32d5d8">operation</a>() <span class="keyword">override</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">protected</span>:</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="classiceberg_1_1RowDelta.html#aa1ea76dd8e7c417de2d42f9c5878f005"> 160</a></span> Status <a class="code hl_function" href="classiceberg_1_1RowDelta.html#aa1ea76dd8e7c417de2d42f9c5878f005">Validate</a>(<span class="keyword">const</span> <a class="code hl_struct" href="structiceberg_1_1TableMetadata.html">TableMetadata</a>&amp; current_metadata,</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> <span class="keyword">const</span> std::shared_ptr&lt;Snapshot&gt;&amp; snapshot) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> </div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> <span class="keyword">explicit</span> <a class="code hl_class" href="classiceberg_1_1RowDelta.html">RowDelta</a>(std::string table_name, std::shared_ptr&lt;TransactionContext&gt; ctx);</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> </div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> Status ValidateNoConflictingFileAndPositionDeletes() <span class="keyword">const</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> std::optional&lt;int64_t&gt; starting_snapshot_id_;</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> std::unordered_set&lt;std::string&gt; referenced_data_files_;</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> <a class="code hl_class" href="classiceberg_1_1DataFileSet.html">DataFileSet</a> removed_data_files_;</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> <span class="keywordtype">bool</span> validate_deletes_ = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> std::shared_ptr&lt;Expression&gt; conflict_detection_filter_;</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> <span class="keywordtype">bool</span> validate_new_data_files_ = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> <span class="keywordtype">bool</span> validate_new_delete_files_ = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span>};</div>
</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> </div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span>} <span class="comment">// namespace iceberg</span></div>
<div class="ttc" id="aclassiceberg_1_1DataFileSet_html"><div class="ttname"><a href="classiceberg_1_1DataFileSet.html">iceberg::DataFileSet</a></div><div class="ttdoc">A set of DataFile pointers with insertion order preserved and deduplicated by file path.</div><div class="ttdef"><b>Definition</b> data_file_set.h:44</div></div>
<div class="ttc" id="aclassiceberg_1_1MergingSnapshotUpdate_html"><div class="ttname"><a href="classiceberg_1_1MergingSnapshotUpdate.html">iceberg::MergingSnapshotUpdate</a></div><div class="ttdoc">Abstract base class for merge-based snapshot write operations.</div><div class="ttdef"><b>Definition</b> merging_snapshot_update.h:63</div></div>
<div class="ttc" id="aclassiceberg_1_1RowDelta_html"><div class="ttname"><a href="classiceberg_1_1RowDelta.html">iceberg::RowDelta</a></div><div class="ttdoc">API for encoding row-level changes to a table.</div><div class="ttdef"><b>Definition</b> row_delta.h:47</div></div>
<div class="ttc" id="aclassiceberg_1_1RowDelta_html_a04d7160053beec055b5bc3d302776c72"><div class="ttname"><a href="classiceberg_1_1RowDelta.html#a04d7160053beec055b5bc3d302776c72">iceberg::RowDelta::ValidateFromSnapshot</a></div><div class="ttdeci">RowDelta &amp; ValidateFromSnapshot(int64_t snapshot_id)</div><div class="ttdoc">Set the snapshot ID used in any reads for this operation.</div></div>
<div class="ttc" id="aclassiceberg_1_1RowDelta_html_a18af54eb9f01d5f450781867684522d7"><div class="ttname"><a href="classiceberg_1_1RowDelta.html#a18af54eb9f01d5f450781867684522d7">iceberg::RowDelta::RemoveRows</a></div><div class="ttdeci">RowDelta &amp; RemoveRows(const std::shared_ptr&lt; DataFile &gt; &amp;file)</div><div class="ttdoc">Remove a DataFile from the table.</div></div>
<div class="ttc" id="aclassiceberg_1_1RowDelta_html_a1ae2d777d05d4194e59ddaa95925dd5f"><div class="ttname"><a href="classiceberg_1_1RowDelta.html#a1ae2d777d05d4194e59ddaa95925dd5f">iceberg::RowDelta::ValidateNoConflictingDeleteFiles</a></div><div class="ttdeci">RowDelta &amp; ValidateNoConflictingDeleteFiles()</div><div class="ttdoc">Enable validation that concurrent delete files do not conflict.</div></div>
<div class="ttc" id="aclassiceberg_1_1RowDelta_html_a2402bbc42b5435f6ba8d78de01fcccde"><div class="ttname"><a href="classiceberg_1_1RowDelta.html#a2402bbc42b5435f6ba8d78de01fcccde">iceberg::RowDelta::ValidateDataFilesExist</a></div><div class="ttdeci">RowDelta &amp; ValidateDataFilesExist(std::span&lt; const std::string &gt; referenced_files)</div><div class="ttdoc">Add data file paths that must not be removed by conflicting commits.</div></div>
<div class="ttc" id="aclassiceberg_1_1RowDelta_html_a44edfcb53ee995c8a291f96e9876e07b"><div class="ttname"><a href="classiceberg_1_1RowDelta.html#a44edfcb53ee995c8a291f96e9876e07b">iceberg::RowDelta::AddRows</a></div><div class="ttdeci">RowDelta &amp; AddRows(const std::shared_ptr&lt; DataFile &gt; &amp;inserts)</div><div class="ttdoc">Add a DataFile to the table.</div></div>
<div class="ttc" id="aclassiceberg_1_1RowDelta_html_a46a073db0c99e0c46413d7b89b3fa89f"><div class="ttname"><a href="classiceberg_1_1RowDelta.html#a46a073db0c99e0c46413d7b89b3fa89f">iceberg::RowDelta::ValidateDeletedFiles</a></div><div class="ttdeci">RowDelta &amp; ValidateDeletedFiles()</div><div class="ttdoc">Enable validation that referenced data files were not deleted.</div></div>
<div class="ttc" id="aclassiceberg_1_1RowDelta_html_a4a08c45826210e4879921cac3bebf182"><div class="ttname"><a href="classiceberg_1_1RowDelta.html#a4a08c45826210e4879921cac3bebf182">iceberg::RowDelta::ValidateNoConflictingDataFiles</a></div><div class="ttdeci">RowDelta &amp; ValidateNoConflictingDataFiles()</div><div class="ttdoc">Enable validation that concurrent data files do not conflict.</div></div>
<div class="ttc" id="aclassiceberg_1_1RowDelta_html_a7b9d5a3ceff65d3ca5f2555d86424797"><div class="ttname"><a href="classiceberg_1_1RowDelta.html#a7b9d5a3ceff65d3ca5f2555d86424797">iceberg::RowDelta::Make</a></div><div class="ttdeci">static Result&lt; std::unique_ptr&lt; RowDelta &gt; &gt; Make(std::string table_name, std::shared_ptr&lt; TransactionContext &gt; ctx)</div><div class="ttdoc">Create a new RowDelta instance.</div></div>
<div class="ttc" id="aclassiceberg_1_1RowDelta_html_a8b275ad459dc7973b71277fc0a32d5d8"><div class="ttname"><a href="classiceberg_1_1RowDelta.html#a8b275ad459dc7973b71277fc0a32d5d8">iceberg::RowDelta::operation</a></div><div class="ttdeci">std::string operation() override</div><div class="ttdoc">A string that describes the action that produced the new snapshot.</div></div>
<div class="ttc" id="aclassiceberg_1_1RowDelta_html_aa1ea76dd8e7c417de2d42f9c5878f005"><div class="ttname"><a href="classiceberg_1_1RowDelta.html#aa1ea76dd8e7c417de2d42f9c5878f005">iceberg::RowDelta::Validate</a></div><div class="ttdeci">Status Validate(const TableMetadata &amp;current_metadata, const std::shared_ptr&lt; Snapshot &gt; &amp;snapshot) override</div><div class="ttdoc">Validate the current metadata.</div></div>
<div class="ttc" id="aclassiceberg_1_1RowDelta_html_aa81bf077a7699ba8fe9abdd1c17f6d4b"><div class="ttname"><a href="classiceberg_1_1RowDelta.html#aa81bf077a7699ba8fe9abdd1c17f6d4b">iceberg::RowDelta::RemoveDeletes</a></div><div class="ttdeci">RowDelta &amp; RemoveDeletes(const std::shared_ptr&lt; DataFile &gt; &amp;deletes)</div><div class="ttdoc">Remove a rewritten DeleteFile from the table.</div></div>
<div class="ttc" id="aclassiceberg_1_1RowDelta_html_ab8c598a5024ffca8fdb5d25584d7f63e"><div class="ttname"><a href="classiceberg_1_1RowDelta.html#ab8c598a5024ffca8fdb5d25584d7f63e">iceberg::RowDelta::ConflictDetectionFilter</a></div><div class="ttdeci">RowDelta &amp; ConflictDetectionFilter(std::shared_ptr&lt; Expression &gt; filter)</div><div class="ttdoc">Set a conflict detection filter used to validate concurrently added data and delete files.</div></div>
<div class="ttc" id="aclassiceberg_1_1RowDelta_html_abfff87e4df4033f3f995fe7a9efc8c1c"><div class="ttname"><a href="classiceberg_1_1RowDelta.html#abfff87e4df4033f3f995fe7a9efc8c1c">iceberg::RowDelta::CaseSensitive</a></div><div class="ttdeci">RowDelta &amp; CaseSensitive(bool case_sensitive)</div><div class="ttdoc">Enable or disable case-sensitive expression binding for validations.</div></div>
<div class="ttc" id="aclassiceberg_1_1RowDelta_html_aedde88e3b9012b3149f1ac9ae3cc0732"><div class="ttname"><a href="classiceberg_1_1RowDelta.html#aedde88e3b9012b3149f1ac9ae3cc0732">iceberg::RowDelta::AddDeletes</a></div><div class="ttdeci">RowDelta &amp; AddDeletes(const std::shared_ptr&lt; DataFile &gt; &amp;deletes)</div><div class="ttdoc">Add a DeleteFile to the table.</div></div>
<div class="ttc" id="adata__file__set_8h_html"><div class="ttname"><a href="data__file__set_8h.html">data_file_set.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="amerging__snapshot__update_8h_html"><div class="ttname"><a href="merging__snapshot__update_8h.html">merging_snapshot_update.h</a></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="aresult_8h_html"><div class="ttname"><a href="result_8h.html">result.h</a></div><div class="ttdoc">Define Result, Status, and error helpers.</div></div>
<div class="ttc" id="astructiceberg_1_1TableMetadata_html"><div class="ttname"><a href="structiceberg_1_1TableMetadata.html">iceberg::TableMetadata</a></div><div class="ttdoc">Represents the metadata for an Iceberg table.</div><div class="ttdef"><b>Definition</b> table_metadata.h:73</div></div>
<div class="ttc" id="atype__fwd_8h_html"><div class="ttname"><a href="type__fwd_8h.html">type_fwd.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>