blob: 505eecd3562fb2a95463abdb8ce05b57456cac3b [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.12) on Mon Nov 08 18:33:49 PST 2021 -->
<title>Transaction</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2021-11-08">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Transaction";
}
}
catch(err) {
}
//-->
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":18,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.iceberg</a></div>
<h2 title="Interface Transaction" class="title">Interface Transaction</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre>public interface <span class="typeNameLabel">Transaction</span></pre>
<div class="block">A transaction for performing multiple updates to a table.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#commitTransaction()">commitTransaction</a></span>()</code></th>
<td class="colLast">
<div class="block">Apply the pending changes from all actions and commit.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="ExpireSnapshots.html" title="interface in org.apache.iceberg">ExpireSnapshots</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#expireSnapshots()">expireSnapshots</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="ExpireSnapshots.html" title="interface in org.apache.iceberg"><code>expire API</code></a> to manage snapshots in this table.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="AppendFiles.html" title="interface in org.apache.iceberg">AppendFiles</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newAppend()">newAppend</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="AppendFiles.html" title="interface in org.apache.iceberg"><code>append API</code></a> to add files to this table.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newDelete()">newDelete</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="DeleteFiles.html" title="interface in org.apache.iceberg"><code>delete API</code></a> to replace files in this table.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>default <a href="AppendFiles.html" title="interface in org.apache.iceberg">AppendFiles</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newFastAppend()">newFastAppend</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="AppendFiles.html" title="interface in org.apache.iceberg"><code>append API</code></a> to add files to this table.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="OverwriteFiles.html" title="interface in org.apache.iceberg">OverwriteFiles</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newOverwrite()">newOverwrite</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="OverwriteFiles.html" title="interface in org.apache.iceberg"><code>overwrite API</code></a> to overwrite files by a filter expression.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="ReplacePartitions.html" title="interface in org.apache.iceberg">ReplacePartitions</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newReplacePartitions()">newReplacePartitions</a></span>()</code></th>
<td class="colLast">
<div class="block">Not recommended: Create a new <a href="ReplacePartitions.html" title="interface in org.apache.iceberg"><code>replace partitions API</code></a> to dynamically
overwrite partitions in the table with new data.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="RewriteFiles.html" title="interface in org.apache.iceberg">RewriteFiles</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newRewrite()">newRewrite</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="RewriteFiles.html" title="interface in org.apache.iceberg"><code>rewrite API</code></a> to replace files in this table.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="RowDelta.html" title="interface in org.apache.iceberg">RowDelta</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newRowDelta()">newRowDelta</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="RowDelta.html" title="interface in org.apache.iceberg"><code>row-level delta API</code></a> to remove or replace rows in existing data files.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="ReplaceSortOrder.html" title="interface in org.apache.iceberg">ReplaceSortOrder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#replaceSortOrder()">replaceSortOrder</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="ReplaceSortOrder.html" title="interface in org.apache.iceberg"><code>ReplaceSortOrder</code></a> to set a table sort order and commit the change.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="RewriteManifests.html" title="interface in org.apache.iceberg">RewriteManifests</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rewriteManifests()">rewriteManifests</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="RewriteManifests.html" title="interface in org.apache.iceberg"><code>rewrite manifests API</code></a> to replace manifests for this table.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="Table.html" title="interface in org.apache.iceberg">Table</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#table()">table</a></span>()</code></th>
<td class="colLast">
<div class="block">Return the <a href="Table.html" title="interface in org.apache.iceberg"><code>Table</code></a> that this transaction will update.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="UpdateLocation.html" title="interface in org.apache.iceberg">UpdateLocation</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateLocation()">updateLocation</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="UpdateLocation.html" title="interface in org.apache.iceberg"><code>UpdateLocation</code></a> to update table location.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="UpdateProperties.html" title="interface in org.apache.iceberg">UpdateProperties</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateProperties()">updateProperties</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="UpdateProperties.html" title="interface in org.apache.iceberg"><code>UpdateProperties</code></a> to update table properties.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="UpdateSchema.html" title="interface in org.apache.iceberg">UpdateSchema</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateSchema()">updateSchema</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="UpdateSchema.html" title="interface in org.apache.iceberg"><code>UpdateSchema</code></a> to alter the columns of this table.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="UpdatePartitionSpec.html" title="interface in org.apache.iceberg">UpdatePartitionSpec</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateSpec()">updateSpec</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="UpdatePartitionSpec.html" title="interface in org.apache.iceberg"><code>UpdatePartitionSpec</code></a> to alter the partition spec of this table.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="table()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>table</h4>
<pre class="methodSignature"><a href="Table.html" title="interface in org.apache.iceberg">Table</a>&nbsp;table()</pre>
<div class="block">Return the <a href="Table.html" title="interface in org.apache.iceberg"><code>Table</code></a> that this transaction will update.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this transaction's table</dd>
</dl>
</li>
</ul>
<a id="updateSchema()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateSchema</h4>
<pre class="methodSignature"><a href="UpdateSchema.html" title="interface in org.apache.iceberg">UpdateSchema</a>&nbsp;updateSchema()</pre>
<div class="block">Create a new <a href="UpdateSchema.html" title="interface in org.apache.iceberg"><code>UpdateSchema</code></a> to alter the columns of this table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="UpdateSchema.html" title="interface in org.apache.iceberg"><code>UpdateSchema</code></a></dd>
</dl>
</li>
</ul>
<a id="updateSpec()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateSpec</h4>
<pre class="methodSignature"><a href="UpdatePartitionSpec.html" title="interface in org.apache.iceberg">UpdatePartitionSpec</a>&nbsp;updateSpec()</pre>
<div class="block">Create a new <a href="UpdatePartitionSpec.html" title="interface in org.apache.iceberg"><code>UpdatePartitionSpec</code></a> to alter the partition spec of this table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="UpdatePartitionSpec.html" title="interface in org.apache.iceberg"><code>UpdatePartitionSpec</code></a></dd>
</dl>
</li>
</ul>
<a id="updateProperties()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateProperties</h4>
<pre class="methodSignature"><a href="UpdateProperties.html" title="interface in org.apache.iceberg">UpdateProperties</a>&nbsp;updateProperties()</pre>
<div class="block">Create a new <a href="UpdateProperties.html" title="interface in org.apache.iceberg"><code>UpdateProperties</code></a> to update table properties.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="UpdateProperties.html" title="interface in org.apache.iceberg"><code>UpdateProperties</code></a></dd>
</dl>
</li>
</ul>
<a id="replaceSortOrder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceSortOrder</h4>
<pre class="methodSignature"><a href="ReplaceSortOrder.html" title="interface in org.apache.iceberg">ReplaceSortOrder</a>&nbsp;replaceSortOrder()</pre>
<div class="block">Create a new <a href="ReplaceSortOrder.html" title="interface in org.apache.iceberg"><code>ReplaceSortOrder</code></a> to set a table sort order and commit the change.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="ReplaceSortOrder.html" title="interface in org.apache.iceberg"><code>ReplaceSortOrder</code></a></dd>
</dl>
</li>
</ul>
<a id="updateLocation()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateLocation</h4>
<pre class="methodSignature"><a href="UpdateLocation.html" title="interface in org.apache.iceberg">UpdateLocation</a>&nbsp;updateLocation()</pre>
<div class="block">Create a new <a href="UpdateLocation.html" title="interface in org.apache.iceberg"><code>UpdateLocation</code></a> to update table location.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="UpdateLocation.html" title="interface in org.apache.iceberg"><code>UpdateLocation</code></a></dd>
</dl>
</li>
</ul>
<a id="newAppend()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newAppend</h4>
<pre class="methodSignature"><a href="AppendFiles.html" title="interface in org.apache.iceberg">AppendFiles</a>&nbsp;newAppend()</pre>
<div class="block">Create a new <a href="AppendFiles.html" title="interface in org.apache.iceberg"><code>append API</code></a> to add files to this table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="AppendFiles.html" title="interface in org.apache.iceberg"><code>AppendFiles</code></a></dd>
</dl>
</li>
</ul>
<a id="newFastAppend()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newFastAppend</h4>
<pre class="methodSignature">default&nbsp;<a href="AppendFiles.html" title="interface in org.apache.iceberg">AppendFiles</a>&nbsp;newFastAppend()</pre>
<div class="block">Create a new <a href="AppendFiles.html" title="interface in org.apache.iceberg"><code>append API</code></a> to add files to this table.
<p>
Using this method signals to the underlying implementation that the append should not perform
extra work in order to commit quickly. Fast appends are not recommended for normal writes
because the fast commit may cause split planning to slow down over time.
<p>
Implementations may not support fast appends, in which case this will return the same appender
as <a href="#newAppend()"><code>newAppend()</code></a>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="AppendFiles.html" title="interface in org.apache.iceberg"><code>AppendFiles</code></a></dd>
</dl>
</li>
</ul>
<a id="newRewrite()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newRewrite</h4>
<pre class="methodSignature"><a href="RewriteFiles.html" title="interface in org.apache.iceberg">RewriteFiles</a>&nbsp;newRewrite()</pre>
<div class="block">Create a new <a href="RewriteFiles.html" title="interface in org.apache.iceberg"><code>rewrite API</code></a> to replace files in this table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="RewriteFiles.html" title="interface in org.apache.iceberg"><code>RewriteFiles</code></a></dd>
</dl>
</li>
</ul>
<a id="rewriteManifests()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rewriteManifests</h4>
<pre class="methodSignature"><a href="RewriteManifests.html" title="interface in org.apache.iceberg">RewriteManifests</a>&nbsp;rewriteManifests()</pre>
<div class="block">Create a new <a href="RewriteManifests.html" title="interface in org.apache.iceberg"><code>rewrite manifests API</code></a> to replace manifests for this table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="RewriteManifests.html" title="interface in org.apache.iceberg"><code>RewriteManifests</code></a></dd>
</dl>
</li>
</ul>
<a id="newOverwrite()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newOverwrite</h4>
<pre class="methodSignature"><a href="OverwriteFiles.html" title="interface in org.apache.iceberg">OverwriteFiles</a>&nbsp;newOverwrite()</pre>
<div class="block">Create a new <a href="OverwriteFiles.html" title="interface in org.apache.iceberg"><code>overwrite API</code></a> to overwrite files by a filter expression.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="OverwriteFiles.html" title="interface in org.apache.iceberg"><code>OverwriteFiles</code></a></dd>
</dl>
</li>
</ul>
<a id="newRowDelta()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newRowDelta</h4>
<pre class="methodSignature"><a href="RowDelta.html" title="interface in org.apache.iceberg">RowDelta</a>&nbsp;newRowDelta()</pre>
<div class="block">Create a new <a href="RowDelta.html" title="interface in org.apache.iceberg"><code>row-level delta API</code></a> to remove or replace rows in existing data files.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="RowDelta.html" title="interface in org.apache.iceberg"><code>RowDelta</code></a></dd>
</dl>
</li>
</ul>
<a id="newReplacePartitions()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newReplacePartitions</h4>
<pre class="methodSignature"><a href="ReplacePartitions.html" title="interface in org.apache.iceberg">ReplacePartitions</a>&nbsp;newReplacePartitions()</pre>
<div class="block">Not recommended: Create a new <a href="ReplacePartitions.html" title="interface in org.apache.iceberg"><code>replace partitions API</code></a> to dynamically
overwrite partitions in the table with new data.
<p>
This is provided to implement SQL compatible with Hive table operations but is not recommended.
Instead, use the <a href="OverwriteFiles.html" title="interface in org.apache.iceberg"><code>overwrite API</code></a> to explicitly overwrite data.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="ReplacePartitions.html" title="interface in org.apache.iceberg"><code>ReplacePartitions</code></a></dd>
</dl>
</li>
</ul>
<a id="newDelete()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newDelete</h4>
<pre class="methodSignature"><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a>&nbsp;newDelete()</pre>
<div class="block">Create a new <a href="DeleteFiles.html" title="interface in org.apache.iceberg"><code>delete API</code></a> to replace files in this table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="DeleteFiles.html" title="interface in org.apache.iceberg"><code>DeleteFiles</code></a></dd>
</dl>
</li>
</ul>
<a id="expireSnapshots()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>expireSnapshots</h4>
<pre class="methodSignature"><a href="ExpireSnapshots.html" title="interface in org.apache.iceberg">ExpireSnapshots</a>&nbsp;expireSnapshots()</pre>
<div class="block">Create a new <a href="ExpireSnapshots.html" title="interface in org.apache.iceberg"><code>expire API</code></a> to manage snapshots in this table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="ExpireSnapshots.html" title="interface in org.apache.iceberg"><code>ExpireSnapshots</code></a></dd>
</dl>
</li>
</ul>
<a id="commitTransaction()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>commitTransaction</h4>
<pre class="methodSignature">void&nbsp;commitTransaction()</pre>
<div class="block">Apply the pending changes from all actions and commit.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="exceptions/ValidationException.html" title="class in org.apache.iceberg.exceptions">ValidationException</a></code> - If any update cannot be applied to the current table metadata.</dd>
<dd><code><a href="exceptions/CommitFailedException.html" title="class in org.apache.iceberg.exceptions">CommitFailedException</a></code> - If the updates cannot be committed due to conflicts.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
</footer>
</body>
</html>