blob: f0751a155668cc8937bc5a4dbd6f97d0aea17a3c [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" 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/transaction.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_f51fe74ea6bc2b1b900619895eaa63be.html">iceberg</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">transaction.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">/*</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> * or more contributor license agreements. See the NOTICE file</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> * distributed with this work for additional information</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> * regarding copyright ownership. The ASF licenses this file</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"> * to you under the Apache License, Version 2.0 (the</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment"> * &quot;License&quot;); you may not use this file except in compliance</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment"> * with the License. You may obtain a copy of the License at</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment"> *</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment"> *</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment"> * Unless required by applicable law or agreed to in writing,</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment"> * software distributed under the License is distributed on an</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment"> * &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment"> * KIND, either express or implied. See the License for the</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment"> * specific language governing permissions and limitations</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment"> * under the License.</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="comment"> */</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include &quot;iceberg/iceberg_export.h&quot;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include &quot;iceberg/result.h&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="type__fwd_8h.html">iceberg/type_fwd.h</a>&quot;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="keyword">namespace </span>iceberg {</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
<div class="foldopen" id="foldopen00033" data-start="{" data-end="};">
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="classiceberg_1_1Transaction.html"> 33</a></span><span class="keyword">class </span>ICEBERG_EXPORT <a class="code hl_class" href="classiceberg_1_1Transaction.html">Transaction</a> : <span class="keyword">public</span> std::enable_shared_from_this&lt;Transaction&gt; {</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">enum class</span> Kind : uint8_t { kCreate, kUpdate };</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> <a class="code hl_class" href="classiceberg_1_1Transaction.html">~Transaction</a>();</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">static</span> Result&lt;std::shared_ptr&lt;Transaction&gt;&gt; Make(std::shared_ptr&lt;Table&gt; table,</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> Kind kind, <span class="keywordtype">bool</span> auto_commit);</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="classiceberg_1_1Transaction.html#a7564979fbb0ecbaaf7d4795e10479b30"> 44</a></span> <span class="keyword">const</span> std::shared_ptr&lt;Table&gt;&amp; <a class="code hl_function" href="classiceberg_1_1Transaction.html#a7564979fbb0ecbaaf7d4795e10479b30">table</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> table_; }</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">const</span> <a class="code hl_struct" href="structiceberg_1_1TableMetadata.html">TableMetadata</a>* base() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">const</span> <a class="code hl_struct" href="structiceberg_1_1TableMetadata.html">TableMetadata</a>&amp; current() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> std::string MetadataFileLocation(std::string_view filename) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> Result&lt;std::shared_ptr&lt;Table&gt;&gt; Commit();</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> Result&lt;std::shared_ptr&lt;UpdatePartitionSpec&gt;&gt; NewUpdatePartitionSpec();</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> Result&lt;std::shared_ptr&lt;UpdateProperties&gt;&gt; NewUpdateProperties();</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> </div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> Result&lt;std::shared_ptr&lt;UpdateSortOrder&gt;&gt; NewUpdateSortOrder();</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> Result&lt;std::shared_ptr&lt;UpdateSchema&gt;&gt; NewUpdateSchema();</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> </div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> Result&lt;std::shared_ptr&lt;ExpireSnapshots&gt;&gt; NewExpireSnapshots();</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> </div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> Result&lt;std::shared_ptr&lt;UpdateStatistics&gt;&gt; NewUpdateStatistics();</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> Result&lt;std::shared_ptr&lt;UpdatePartitionStatistics&gt;&gt; NewUpdatePartitionStatistics();</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> Result&lt;std::shared_ptr&lt;UpdateLocation&gt;&gt; NewUpdateLocation();</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> </div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> Result&lt;std::shared_ptr&lt;FastAppend&gt;&gt; NewFastAppend();</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> </div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> Result&lt;std::shared_ptr&lt;SnapshotManager&gt;&gt; NewSnapshotManager();</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> </div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> Result&lt;std::shared_ptr&lt;SetSnapshot&gt;&gt; NewSetSnapshot();</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> </div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> Result&lt;std::shared_ptr&lt;UpdateSnapshotReference&gt;&gt; NewUpdateSnapshotReference();</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> </div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <a class="code hl_class" href="classiceberg_1_1Transaction.html">Transaction</a>(std::shared_ptr&lt;Table&gt; table, Kind kind, <span class="keywordtype">bool</span> auto_commit,</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> std::unique_ptr&lt;TableMetadataBuilder&gt; metadata_builder);</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> </div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> Status AddUpdate(<span class="keyword">const</span> std::shared_ptr&lt;PendingUpdate&gt;&amp; update);</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> </div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> Status Apply(<a class="code hl_class" href="classiceberg_1_1PendingUpdate.html">PendingUpdate</a>&amp; updates);</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> </div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <span class="comment">// Helper methods for applying different types of updates</span></div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> Status ApplyExpireSnapshots(<a class="code hl_class" href="classiceberg_1_1ExpireSnapshots.html">ExpireSnapshots</a>&amp; update);</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> Status ApplySetSnapshot(<a class="code hl_class" href="classiceberg_1_1SetSnapshot.html">SetSnapshot</a>&amp; update);</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> Status ApplyUpdateLocation(<a class="code hl_class" href="classiceberg_1_1UpdateLocation.html">UpdateLocation</a>&amp; update);</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> Status ApplyUpdatePartitionSpec(<a class="code hl_class" href="classiceberg_1_1UpdatePartitionSpec.html">UpdatePartitionSpec</a>&amp; update);</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> Status ApplyUpdatePartitionStatistics(<a class="code hl_class" href="classiceberg_1_1UpdatePartitionStatistics.html">UpdatePartitionStatistics</a>&amp; update);</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> Status ApplyUpdateProperties(<a class="code hl_class" href="classiceberg_1_1UpdateProperties.html">UpdateProperties</a>&amp; update);</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> Status ApplyUpdateSchema(<a class="code hl_class" href="classiceberg_1_1UpdateSchema.html">UpdateSchema</a>&amp; update);</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> Status ApplyUpdateSnapshot(<a class="code hl_class" href="classiceberg_1_1SnapshotUpdate.html">SnapshotUpdate</a>&amp; update);</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> Status ApplyUpdateSnapshotReference(<a class="code hl_class" href="classiceberg_1_1UpdateSnapshotReference.html">UpdateSnapshotReference</a>&amp; update);</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> Status ApplyUpdateSortOrder(<a class="code hl_class" href="classiceberg_1_1UpdateSortOrder.html">UpdateSortOrder</a>&amp; update);</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> Status ApplyUpdateStatistics(<a class="code hl_class" href="classiceberg_1_1UpdateStatistics.html">UpdateStatistics</a>&amp; update);</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> </div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_class" href="classiceberg_1_1PendingUpdate.html">PendingUpdate</a>;</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"> 136</span> <span class="comment">// The table that this transaction will update.</span></div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> std::shared_ptr&lt;Table&gt; table_;</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <span class="comment">// The kind of this transaction.</span></div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <span class="keyword">const</span> Kind kind_;</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="comment">// Whether to auto-commit the transaction when updates are applied.</span></div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> <span class="comment">// This is useful when a temporary transaction is created for a single operation.</span></div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> <span class="keywordtype">bool</span> auto_commit_;</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> <span class="comment">// To make the state simple, we require updates are added and committed in order.</span></div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <span class="keywordtype">bool</span> last_update_committed_ = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> <span class="comment">// Tracks if transaction has been committed to prevent double-commit</span></div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> <span class="keywordtype">bool</span> committed_ = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> <span class="comment">// Keep track of all created pending updates. Use weak_ptr to avoid circular references.</span></div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> <span class="comment">// This is useful to retry failed updates.</span></div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> std::vector&lt;std::weak_ptr&lt;PendingUpdate&gt;&gt; pending_updates_;</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="comment">// Accumulated updates from all pending updates.</span></div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> std::unique_ptr&lt;TableMetadataBuilder&gt; metadata_builder_;</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span>};</div>
</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> </div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span>} <span class="comment">// namespace iceberg</span></div>
<div class="ttc" id="aclassiceberg_1_1ExpireSnapshots_html"><div class="ttname"><a href="classiceberg_1_1ExpireSnapshots.html">iceberg::ExpireSnapshots</a></div><div class="ttdoc">API for removing old snapshots from a table.</div><div class="ttdef"><b>Definition</b> expire_snapshots.h:64</div></div>
<div class="ttc" id="aclassiceberg_1_1PendingUpdate_html"><div class="ttname"><a href="classiceberg_1_1PendingUpdate.html">iceberg::PendingUpdate</a></div><div class="ttdoc">Base class for all kinds of table metadata updates.</div><div class="ttdef"><b>Definition</b> pending_update.h:42</div></div>
<div class="ttc" id="aclassiceberg_1_1SetSnapshot_html"><div class="ttname"><a href="classiceberg_1_1SetSnapshot.html">iceberg::SetSnapshot</a></div><div class="ttdoc">Sets the current snapshot directly or by rolling back.</div><div class="ttdef"><b>Definition</b> set_snapshot.h:37</div></div>
<div class="ttc" id="aclassiceberg_1_1SnapshotUpdate_html"><div class="ttname"><a href="classiceberg_1_1SnapshotUpdate.html">iceberg::SnapshotUpdate</a></div><div class="ttdoc">Base class for operations that produce snapshots.</div><div class="ttdef"><b>Definition</b> snapshot_update.h:43</div></div>
<div class="ttc" id="aclassiceberg_1_1Transaction_html"><div class="ttname"><a href="classiceberg_1_1Transaction.html">iceberg::Transaction</a></div><div class="ttdoc">A transaction for performing multiple updates to a table.</div><div class="ttdef"><b>Definition</b> transaction.h:33</div></div>
<div class="ttc" id="aclassiceberg_1_1Transaction_html_a7564979fbb0ecbaaf7d4795e10479b30"><div class="ttname"><a href="classiceberg_1_1Transaction.html#a7564979fbb0ecbaaf7d4795e10479b30">iceberg::Transaction::table</a></div><div class="ttdeci">const std::shared_ptr&lt; Table &gt; &amp; table() const</div><div class="ttdoc">Return the Table that this transaction will update.</div><div class="ttdef"><b>Definition</b> transaction.h:44</div></div>
<div class="ttc" id="aclassiceberg_1_1UpdateLocation_html"><div class="ttname"><a href="classiceberg_1_1UpdateLocation.html">iceberg::UpdateLocation</a></div><div class="ttdoc">Updating table location with a new base location.</div><div class="ttdef"><b>Definition</b> update_location.h:34</div></div>
<div class="ttc" id="aclassiceberg_1_1UpdatePartitionSpec_html"><div class="ttname"><a href="classiceberg_1_1UpdatePartitionSpec.html">iceberg::UpdatePartitionSpec</a></div><div class="ttdoc">API for partition spec evolution.</div><div class="ttdef"><b>Definition</b> update_partition_spec.h:44</div></div>
<div class="ttc" id="aclassiceberg_1_1UpdatePartitionStatistics_html"><div class="ttname"><a href="classiceberg_1_1UpdatePartitionStatistics.html">iceberg::UpdatePartitionStatistics</a></div><div class="ttdoc">Updates table partition statistics.</div><div class="ttdef"><b>Definition</b> update_partition_statistics.h:39</div></div>
<div class="ttc" id="aclassiceberg_1_1UpdateProperties_html"><div class="ttname"><a href="classiceberg_1_1UpdateProperties.html">iceberg::UpdateProperties</a></div><div class="ttdoc">Updates table properties.</div><div class="ttdef"><b>Definition</b> update_properties.h:39</div></div>
<div class="ttc" id="aclassiceberg_1_1UpdateSchema_html"><div class="ttname"><a href="classiceberg_1_1UpdateSchema.html">iceberg::UpdateSchema</a></div><div class="ttdoc">API for schema evolution.</div><div class="ttdef"><b>Definition</b> update_schema.h:48</div></div>
<div class="ttc" id="aclassiceberg_1_1UpdateSnapshotReference_html"><div class="ttname"><a href="classiceberg_1_1UpdateSnapshotReference.html">iceberg::UpdateSnapshotReference</a></div><div class="ttdoc">Updates snapshot references.</div><div class="ttdef"><b>Definition</b> update_snapshot_reference.h:39</div></div>
<div class="ttc" id="aclassiceberg_1_1UpdateSortOrder_html"><div class="ttname"><a href="classiceberg_1_1UpdateSortOrder.html">iceberg::UpdateSortOrder</a></div><div class="ttdoc">Updating table sort order with a newly created order.</div><div class="ttdef"><b>Definition</b> update_sort_order.h:37</div></div>
<div class="ttc" id="aclassiceberg_1_1UpdateStatistics_html"><div class="ttname"><a href="classiceberg_1_1UpdateStatistics.html">iceberg::UpdateStatistics</a></div><div class="ttdoc">Updates table statistics.</div><div class="ttdef"><b>Definition</b> update_statistics.h:39</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:72</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>