| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (21) --> |
| <title>StreamingDelete</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| <meta name="description" content="declaration: package: org.apache.iceberg, class: StreamingDelete"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../script-dir/jquery-ui.min.css" title="Style"> |
| <script type="text/javascript" src="../../../script.js"></script> |
| <script type="text/javascript" src="../../../script-dir/jquery-3.7.1.min.js"></script> |
| <script type="text/javascript" src="../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var pathtoroot = "../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">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#class">Help</a></li> |
| </ul> |
| <ul class="sub-nav-list-small"> |
| <li> |
| <p>Summary:</p> |
| <ul> |
| <li>Nested</li> |
| <li>Field</li> |
| <li><a href="#constructor-summary">Constr</a></li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| </li> |
| <li> |
| <p>Detail:</p> |
| <ul> |
| <li>Field</li> |
| <li><a href="#constructor-detail">Constr</a></li> |
| <li><a href="#method-detail">Method</a></li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div id="navbar-sub-list"> |
| <ul class="sub-nav-list"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor-summary">Constr</a> | </li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| <ul class="sub-nav-list"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor-detail">Constr</a> | </li> |
| <li><a href="#method-detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="nav-list-search"><a href="../../../search.html">SEARCH</a> |
| <input type="text" id="search-input" disabled placeholder="Search"> |
| <input type="reset" id="reset-button" disabled value="reset"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.apache.iceberg</a></div> |
| <h1 title="Class StreamingDelete" class="title">Class StreamingDelete</h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> |
| <div class="inheritance">org.apache.iceberg.StreamingDelete</div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></code>, <code><a href="PendingUpdate.html" title="interface in org.apache.iceberg">PendingUpdate</a><<a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a>></code>, <code><a href="SnapshotUpdate.html" title="interface in org.apache.iceberg">SnapshotUpdate</a><<a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a>></code></dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">StreamingDelete</span> |
| <span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> |
| implements <a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></span></div> |
| <div class="block"><a href="DeleteFiles.html" title="interface in org.apache.iceberg"><code>Delete</code></a> implementation that avoids loading full manifests in memory.</div> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li> |
| <section class="constructor-summary" id="constructor-summary"> |
| <h2>Constructor Summary</h2> |
| <div class="caption"><span>Constructors</span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier</div> |
| <div class="table-header col-second">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code>protected </code></div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(java.lang.String,org.apache.iceberg.TableOperations)" class="member-name-link">StreamingDelete</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> tableName, |
| <a href="TableOperations.html" title="interface in org.apache.iceberg">TableOperations</a> ops)</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel" aria-labelledby="method-summary-table-tab0"> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Method</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#add(org.apache.iceberg.DataFile)" class="member-name-link">add</a><wbr>(<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a> file)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Add a data file to the new snapshot.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#add(org.apache.iceberg.DeleteFile)" class="member-name-link">add</a><wbr>(<a href="DeleteFile.html" title="interface in org.apache.iceberg">DeleteFile</a> file)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Add a delete file to the new snapshot.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#add(org.apache.iceberg.DeleteFile,long)" class="member-name-link">add</a><wbr>(<a href="DeleteFile.html" title="interface in org.apache.iceberg">DeleteFile</a> file, |
| long dataSequenceNumber)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Add a delete file to the new snapshot.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#add(org.apache.iceberg.ManifestFile)" class="member-name-link">add</a><wbr>(<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a> manifest)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Add all files in a manifest to the new snapshot.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><wbr><<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a>></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addedDataFiles()" class="member-name-link">addedDataFiles</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected org.apache.iceberg.DeleteFileIndex</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addedDeleteFiles(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.expressions.Expression,org.apache.iceberg.util.PartitionSet,org.apache.iceberg.Snapshot)" class="member-name-link">addedDeleteFiles</a><wbr>(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a> dataFilter, |
| <a href="util/PartitionSet.html" title="class in org.apache.iceberg.util">PartitionSet</a> partitionSet, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns matching delete files have been added to the table since a starting snapshot.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addsDataFiles()" class="member-name-link">addsDataFiles</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addsDeleteFiles()" class="member-name-link">addsDeleteFiles</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#apply()" class="member-name-link">apply</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Apply the pending changes and return the uncommitted changes for validation.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><wbr><<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#apply(org.apache.iceberg.TableMetadata,org.apache.iceberg.Snapshot)" class="member-name-link">apply</a><wbr>(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> snapshot)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Apply the update's changes to the given metadata and snapshot.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="SnapshotSummary.Builder.html" title="class in org.apache.iceberg">SnapshotSummary.Builder</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#buildManifestCountSummary(java.util.List,int)" class="member-name-link">buildManifestCountSummary</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>> manifests, |
| int replacedManifestsCount)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Builds a snapshot summary with manifest counts.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#canInheritSnapshotId()" class="member-name-link">canInheritSnapshotId</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#caseSensitive(boolean)" class="member-name-link">caseSensitive</a><wbr>(boolean isCaseSensitive)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#cleanAll()" class="member-name-link">cleanAll</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#cleanUncommitted(java.util.Set)" class="member-name-link">cleanUncommitted</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</a><<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>> committed)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Clean up any uncommitted manifests that were created.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#cleanupAfterCommit()" class="member-name-link">cleanupAfterCommit</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#commit()" class="member-name-link">commit</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Apply the pending changes and commit.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="metrics/CommitMetrics.html" title="class in org.apache.iceberg.metrics">CommitMetrics</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#commitMetrics()" class="member-name-link">commitMetrics</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#current()" class="member-name-link">current</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#dataSpec()" class="member-name-link">dataSpec</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#delete(java.lang.CharSequence)" class="member-name-link">delete</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/CharSequence.html" title="class or interface in java.lang" class="external-link">CharSequence</a> path)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Add a specific data path to be deleted in the new snapshot.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#delete(org.apache.iceberg.DataFile)" class="member-name-link">delete</a><wbr>(<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a> file)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Add a specific data file to be deleted in the new snapshot.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#delete(org.apache.iceberg.DeleteFile)" class="member-name-link">delete</a><wbr>(<a href="DeleteFile.html" title="interface in org.apache.iceberg">DeleteFile</a> file)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Add a specific delete file to be deleted in the new snapshot.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#deleteByRowFilter(org.apache.iceberg.expressions.Expression)" class="member-name-link">deleteByRowFilter</a><wbr>(<a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a> expr)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Add a filter to match files to delete.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="StreamingDelete.html" title="class in org.apache.iceberg">StreamingDelete</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#deleteFile(java.lang.CharSequence)" class="member-name-link">deleteFile</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/CharSequence.html" title="class or interface in java.lang" class="external-link">CharSequence</a> path)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Delete a file path from the underlying table.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#deleteFile(java.lang.String)" class="member-name-link">deleteFile</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> path)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="StreamingDelete.html" title="class in org.apache.iceberg">StreamingDelete</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#deleteFile(org.apache.iceberg.DataFile)" class="member-name-link">deleteFile</a><wbr>(<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a> file)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Delete a file tracked by a <a href="DataFile.html" title="interface in org.apache.iceberg"><code>DataFile</code></a> from the underlying table.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="StreamingDelete.html" title="class in org.apache.iceberg">StreamingDelete</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#deleteFromRowFilter(org.apache.iceberg.expressions.Expression)" class="member-name-link">deleteFromRowFilter</a><wbr>(<a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a> expr)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Delete files that match an <a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions"><code>Expression</code></a> on data rows from the table.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#deletesDataFiles()" class="member-name-link">deletesDataFiles</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#deletesDeleteFiles()" class="member-name-link">deletesDeleteFiles</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#deleteUncommitted(java.util.Collection,java.util.Set,boolean)" class="member-name-link">deleteUncommitted</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>> manifests, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</a><<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>> committed, |
| boolean clearManifests)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#deleteWith(java.util.function.Consumer)" class="member-name-link">deleteWith</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/function/Consumer.html" title="class or interface in java.util.function" class="external-link">Consumer</a><<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>> deleteCallback)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Set a callback to delete files instead of the table's default.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#dropPartition(int,org.apache.iceberg.StructLike)" class="member-name-link">dropPartition</a><wbr>(int specId, |
| <a href="StructLike.html" title="interface in org.apache.iceberg">StructLike</a> partition)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Add a partition tuple to drop from the table during the delete phase.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#failAnyDelete()" class="member-name-link">failAnyDelete</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#failMissingDeletePaths()" class="member-name-link">failMissingDeletePaths</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isCaseSensitive()" class="member-name-link">isCaseSensitive</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="io/OutputFile.html" title="interface in org.apache.iceberg.io">OutputFile</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#manifestListPath()" class="member-name-link">manifestListPath</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="ManifestReader.html" title="class in org.apache.iceberg">ManifestReader</a><wbr><<a href="DeleteFile.html" title="interface in org.apache.iceberg">DeleteFile</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#newDeleteManifestReader(org.apache.iceberg.ManifestFile)" class="member-name-link">newDeleteManifestReader</a><wbr>(<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a> manifest)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="ManifestWriter.html" title="class in org.apache.iceberg">ManifestWriter</a><wbr><<a href="DeleteFile.html" title="interface in org.apache.iceberg">DeleteFile</a>></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#newDeleteManifestWriter(org.apache.iceberg.PartitionSpec)" class="member-name-link">newDeleteManifestWriter</a><wbr>(<a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a> spec)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="encryption/EncryptedOutputFile.html" title="interface in org.apache.iceberg.encryption">EncryptedOutputFile</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#newManifestOutputFile()" class="member-name-link">newManifestOutputFile</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="ManifestReader.html" title="class in org.apache.iceberg">ManifestReader</a><wbr><<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a>></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#newManifestReader(org.apache.iceberg.ManifestFile)" class="member-name-link">newManifestReader</a><wbr>(<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a> manifest)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="ManifestWriter.html" title="class in org.apache.iceberg">ManifestWriter</a><wbr><<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#newManifestWriter(org.apache.iceberg.PartitionSpec)" class="member-name-link">newManifestWriter</a><wbr>(<a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a> spec)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="RollingManifestWriter.html" title="class in org.apache.iceberg">RollingManifestWriter</a><wbr><<a href="DeleteFile.html" title="interface in org.apache.iceberg">DeleteFile</a>></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#newRollingDeleteManifestWriter(org.apache.iceberg.PartitionSpec)" class="member-name-link">newRollingDeleteManifestWriter</a><wbr>(<a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a> spec)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="RollingManifestWriter.html" title="class in org.apache.iceberg">RollingManifestWriter</a><wbr><<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#newRollingManifestWriter(org.apache.iceberg.PartitionSpec)" class="member-name-link">newRollingManifestWriter</a><wbr>(<a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a> spec)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#operation()" class="member-name-link">operation</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">A string that describes the action that produced the new snapshot.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="TableOperations.html" title="interface in org.apache.iceberg">TableOperations</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#ops()" class="member-name-link">ops</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#refresh()" class="member-name-link">refresh</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#reportWith(org.apache.iceberg.metrics.MetricsReporter)" class="member-name-link">reportWith</a><wbr>(<a href="metrics/MetricsReporter.html" title="interface in org.apache.iceberg.metrics">MetricsReporter</a> newReporter)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#rowFilter()" class="member-name-link">rowFilter</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#scanManifestsWith(java.util.concurrent.ExecutorService)" class="member-name-link">scanManifestsWith</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/concurrent/ExecutorService.html" title="class or interface in java.util.concurrent" class="external-link">ExecutorService</a> executorService)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Use a particular executor to scan manifests.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#self()" class="member-name-link">self</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#set(java.lang.String,java.lang.String)" class="member-name-link">set</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> property, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Set a summary property in the snapshot produced by this update.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setNewDataFilesDataSequenceNumber(long)" class="member-name-link">setNewDataFilesDataSequenceNumber</a><wbr>(long sequenceNumber)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected long</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#snapshotId()" class="member-name-link">snapshotId</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#stageOnly()" class="member-name-link">stageOnly</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Called to stage a snapshot in table metadata, but not update the current snapshot id.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><wbr><<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>,<wbr><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#summary()" class="member-name-link">summary</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#targetBranch()" class="member-name-link">targetBranch</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#targetBranch(java.lang.String)" class="member-name-link">targetBranch</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> branch)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">A setter for the target branch on which snapshot producer operation should be performed</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="StreamingDelete.html" title="class in org.apache.iceberg">StreamingDelete</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#toBranch(java.lang.String)" class="member-name-link">toBranch</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> branch)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Perform operations on a particular branch</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#updateEvent()" class="member-name-link">updateEvent</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Generates update event to notify about metadata changes</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#validate(org.apache.iceberg.TableMetadata,org.apache.iceberg.Snapshot)" class="member-name-link">validate</a><wbr>(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Validate the current metadata.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#validateAddedDataFiles(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.expressions.Expression,org.apache.iceberg.Snapshot)" class="member-name-link">validateAddedDataFiles</a><wbr>(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a> conflictDetectionFilter, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Validates that no files matching a filter have been added to the table since a starting |
| snapshot.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#validateAddedDataFiles(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.util.PartitionSet,org.apache.iceberg.Snapshot)" class="member-name-link">validateAddedDataFiles</a><wbr>(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="util/PartitionSet.html" title="class in org.apache.iceberg.util">PartitionSet</a> partitionSet, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Validates that no files matching given partitions have been added to the table since a starting |
| snapshot.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#validateAddedDVs(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.expressions.Expression,org.apache.iceberg.Snapshot)" class="member-name-link">validateAddedDVs</a><wbr>(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a> conflictDetectionFilter, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#validateDataFilesExist(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.util.CharSequenceSet,boolean,org.apache.iceberg.expressions.Expression,org.apache.iceberg.Snapshot)" class="member-name-link">validateDataFilesExist</a><wbr>(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="util/CharSequenceSet.html" title="class in org.apache.iceberg.util">CharSequenceSet</a> requiredDataFiles, |
| boolean skipDeletes, |
| <a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a> conflictDetectionFilter, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#validateDeletedDataFiles(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.expressions.Expression,org.apache.iceberg.Snapshot)" class="member-name-link">validateDeletedDataFiles</a><wbr>(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a> dataFilter, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Validates that no files matching a filter have been deleted from the table since a starting |
| snapshot.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#validateDeletedDataFiles(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.util.PartitionSet,org.apache.iceberg.Snapshot)" class="member-name-link">validateDeletedDataFiles</a><wbr>(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="util/PartitionSet.html" title="class in org.apache.iceberg.util">PartitionSet</a> partitionSet, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Validates that no files matching a filter have been deleted from the table since a starting |
| snapshot.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#validateFilesExist()" class="member-name-link">validateFilesExist</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Enables validation that any files that are part of the deletion still exist when committing the |
| operation.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#validateNewDeleteFile(org.apache.iceberg.DeleteFile)" class="member-name-link">validateNewDeleteFile</a><wbr>(<a href="DeleteFile.html" title="interface in org.apache.iceberg">DeleteFile</a> file)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#validateNoNewDeleteFiles(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.expressions.Expression,org.apache.iceberg.Snapshot)" class="member-name-link">validateNoNewDeleteFiles</a><wbr>(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a> dataFilter, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Validates that no delete files matching a filter have been added to the table since a starting |
| snapshot.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#validateNoNewDeleteFiles(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.util.PartitionSet,org.apache.iceberg.Snapshot)" class="member-name-link">validateNoNewDeleteFiles</a><wbr>(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="util/PartitionSet.html" title="class in org.apache.iceberg.util">PartitionSet</a> partitionSet, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Validates that no delete files matching a partition set have been added to the table since a |
| starting snapshot.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#validateNoNewDeletesForDataFiles(org.apache.iceberg.TableMetadata,java.lang.Long,java.lang.Iterable,org.apache.iceberg.Snapshot)" class="member-name-link">validateNoNewDeletesForDataFiles</a><wbr>(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a>> dataFiles, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Validates that no new delete files that must be applied to the given data files have been added |
| to the table since a starting snapshot.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#validateNoNewDeletesForDataFiles(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.expressions.Expression,java.lang.Iterable,org.apache.iceberg.Snapshot)" class="member-name-link">validateNoNewDeletesForDataFiles</a><wbr>(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a> dataFilter, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a>> dataFiles, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Validates that no new delete files that must be applied to the given data files have been added |
| to the table since a starting snapshot.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#validateWith(org.apache.iceberg.SnapshotAncestryValidator)" class="member-name-link">validateWith</a><wbr>(<a href="SnapshotAncestryValidator.html" title="interface in org.apache.iceberg">SnapshotAncestryValidator</a> validator)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Set a validator to check snapshot ancestry before committing changes.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/concurrent/ExecutorService.html" title="class or interface in java.util.concurrent" class="external-link">ExecutorService</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#workerPool()" class="member-name-link">workerPool</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><wbr><<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#writeDataManifests(java.util.Collection,java.lang.Long,org.apache.iceberg.PartitionSpec)" class="member-name-link">writeDataManifests</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a>> files, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> dataSeq, |
| <a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a> spec)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><wbr><<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#writeDataManifests(java.util.Collection,org.apache.iceberg.PartitionSpec)" class="member-name-link">writeDataManifests</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a>> files, |
| <a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a> spec)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><wbr><<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#writeDeleteManifests(java.util.Collection,org.apache.iceberg.PartitionSpec)" class="member-name-link">writeDeleteManifests</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="DeleteFile.html" title="interface in org.apache.iceberg">DeleteFile</a>> files, |
| <a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a> spec)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| </div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.apache.iceberg.DeleteFiles">Methods inherited from interface org.apache.iceberg.<a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></h3> |
| <code><a href="DeleteFiles.html#caseSensitive(boolean)">caseSensitive</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.apache.iceberg.PendingUpdate">Methods inherited from interface org.apache.iceberg.<a href="PendingUpdate.html" title="interface in org.apache.iceberg">PendingUpdate</a></h3> |
| <code><a href="PendingUpdate.html#apply()">apply</a>, <a href="PendingUpdate.html#commit()">commit</a>, <a href="PendingUpdate.html#updateEvent()">updateEvent</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.apache.iceberg.SnapshotUpdate">Methods inherited from interface org.apache.iceberg.<a href="SnapshotUpdate.html" title="interface in org.apache.iceberg">SnapshotUpdate</a></h3> |
| <code><a href="SnapshotUpdate.html#deleteWith(java.util.function.Consumer)">deleteWith</a>, <a href="SnapshotUpdate.html#scanManifestsWith(java.util.concurrent.ExecutorService)">scanManifestsWith</a>, <a href="SnapshotUpdate.html#set(java.lang.String,java.lang.String)">set</a>, <a href="SnapshotUpdate.html#stageOnly()">stageOnly</a>, <a href="SnapshotUpdate.html#validateWith(org.apache.iceberg.SnapshotAncestryValidator)">validateWith</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li> |
| <section class="constructor-details" id="constructor-detail"> |
| <h2>Constructor Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="<init>(java.lang.String,org.apache.iceberg.TableOperations)"> |
| <h3>StreamingDelete</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="element-name">StreamingDelete</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> tableName, |
| <a href="TableOperations.html" title="interface in org.apache.iceberg">TableOperations</a> ops)</span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method-detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="self()"> |
| <h3>self</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></span> <span class="element-name">self</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="operation()"> |
| <h3>operation</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name">operation</span>()</div> |
| <div class="block">A string that describes the action that produced the new snapshot.</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>a string operation</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="deleteFile(java.lang.CharSequence)"> |
| <h3>deleteFile</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="StreamingDelete.html" title="class in org.apache.iceberg">StreamingDelete</a></span> <span class="element-name">deleteFile</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/CharSequence.html" title="class or interface in java.lang" class="external-link">CharSequence</a> path)</span></div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="DeleteFiles.html#deleteFile(java.lang.CharSequence)">DeleteFiles</a></code></span></div> |
| <div class="block">Delete a file path from the underlying table. |
| |
| <p>To remove a file from the table, this path must equal a path in the table's metadata. Paths |
| that are different but equivalent will not be removed. For example, file:/path/file.avro is |
| equivalent to file:///path/file.avro, but would not remove the latter path from the table.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="DeleteFiles.html#deleteFile(java.lang.CharSequence)">deleteFile</a></code> in interface <code><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>path</code> - a fully-qualified file path to remove from the table</dd> |
| <dt>Returns:</dt> |
| <dd>this for method chaining</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="deleteFile(org.apache.iceberg.DataFile)"> |
| <h3>deleteFile</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="StreamingDelete.html" title="class in org.apache.iceberg">StreamingDelete</a></span> <span class="element-name">deleteFile</span><wbr><span class="parameters">(<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a> file)</span></div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="DeleteFiles.html#deleteFile(org.apache.iceberg.DataFile)">DeleteFiles</a></code></span></div> |
| <div class="block">Delete a file tracked by a <a href="DataFile.html" title="interface in org.apache.iceberg"><code>DataFile</code></a> from the underlying table.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="DeleteFiles.html#deleteFile(org.apache.iceberg.DataFile)">deleteFile</a></code> in interface <code><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>file</code> - a DataFile to remove from the table</dd> |
| <dt>Returns:</dt> |
| <dd>this for method chaining</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="deleteFromRowFilter(org.apache.iceberg.expressions.Expression)"> |
| <h3>deleteFromRowFilter</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="StreamingDelete.html" title="class in org.apache.iceberg">StreamingDelete</a></span> <span class="element-name">deleteFromRowFilter</span><wbr><span class="parameters">(<a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a> expr)</span></div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="DeleteFiles.html#deleteFromRowFilter(org.apache.iceberg.expressions.Expression)">DeleteFiles</a></code></span></div> |
| <div class="block">Delete files that match an <a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions"><code>Expression</code></a> on data rows from the table. |
| |
| <p>A file is selected to be deleted by the expression if it could contain any rows that match |
| the expression (candidate files are selected using an <a href="expressions/Projections.html#inclusive(org.apache.iceberg.PartitionSpec)"><code>inclusive projection</code></a>). These candidate files are deleted |
| if all of the rows in the file must match the expression (the partition data matches the |
| expression's <a href="expressions/Projections.html#strict(org.apache.iceberg.PartitionSpec)"><code>Projections.strict(PartitionSpec)</code></a> strict projection}). This guarantees |
| that files are deleted if and only if all rows in the file must match the expression. |
| |
| <p>Files that may contain some rows that match the expression and some rows that do not will |
| result in a <a href="exceptions/ValidationException.html" title="class in org.apache.iceberg.exceptions"><code>ValidationException</code></a>.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="DeleteFiles.html#deleteFromRowFilter(org.apache.iceberg.expressions.Expression)">deleteFromRowFilter</a></code> in interface <code><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>expr</code> - an expression on rows in the table</dd> |
| <dt>Returns:</dt> |
| <dd>this for method chaining</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="validateFilesExist()"> |
| <h3>validateFilesExist</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></span> <span class="element-name">validateFilesExist</span>()</div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="DeleteFiles.html#validateFilesExist()">DeleteFiles</a></code></span></div> |
| <div class="block">Enables validation that any files that are part of the deletion still exist when committing the |
| operation.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="DeleteFiles.html#validateFilesExist()">validateFilesExist</a></code> in interface <code><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>this for method chaining</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="toBranch(java.lang.String)"> |
| <h3>toBranch</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="StreamingDelete.html" title="class in org.apache.iceberg">StreamingDelete</a></span> <span class="element-name">toBranch</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> branch)</span></div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="SnapshotUpdate.html#toBranch(java.lang.String)">SnapshotUpdate</a></code></span></div> |
| <div class="block">Perform operations on a particular branch</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="SnapshotUpdate.html#toBranch(java.lang.String)">toBranch</a></code> in interface <code><a href="SnapshotUpdate.html" title="interface in org.apache.iceberg">SnapshotUpdate</a><<a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a>></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>branch</code> - which is name of SnapshotRef of type branch.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="validate(org.apache.iceberg.TableMetadata,org.apache.iceberg.Snapshot)"> |
| <h3>validate</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">validate</span><wbr><span class="parameters">(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</span></div> |
| <div class="block">Validate the current metadata. |
| |
| <p>Child operations can override this to add custom validation.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>base</code> - current table metadata to validate</dd> |
| <dd><code>parent</code> - ending snapshot on the lineage which is being validated</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="set(java.lang.String,java.lang.String)"> |
| <h3>set</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></span> <span class="element-name">set</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> property, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</span></div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="SnapshotUpdate.html#set(java.lang.String,java.lang.String)">SnapshotUpdate</a></code></span></div> |
| <div class="block">Set a summary property in the snapshot produced by this update.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>property</code> - a String property name</dd> |
| <dd><code>value</code> - a String property value</dd> |
| <dt>Returns:</dt> |
| <dd>this for method chaining</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="caseSensitive(boolean)"> |
| <h3>caseSensitive</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></span> <span class="element-name">caseSensitive</span><wbr><span class="parameters">(boolean isCaseSensitive)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isCaseSensitive()"> |
| <h3>isCaseSensitive</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">boolean</span> <span class="element-name">isCaseSensitive</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="dataSpec()"> |
| <h3>dataSpec</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a></span> <span class="element-name">dataSpec</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="rowFilter()"> |
| <h3>rowFilter</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a></span> <span class="element-name">rowFilter</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="addedDataFiles()"> |
| <h3>addedDataFiles</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a>></span> <span class="element-name">addedDataFiles</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="failAnyDelete()"> |
| <h3>failAnyDelete</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">failAnyDelete</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="failMissingDeletePaths()"> |
| <h3>failMissingDeletePaths</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">failMissingDeletePaths</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="deleteByRowFilter(org.apache.iceberg.expressions.Expression)"> |
| <h3>deleteByRowFilter</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">deleteByRowFilter</span><wbr><span class="parameters">(<a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a> expr)</span></div> |
| <div class="block">Add a filter to match files to delete. A file will be deleted if all of the rows it contains |
| match this or any other filter passed to this method.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>expr</code> - an expression to match rows.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="dropPartition(int,org.apache.iceberg.StructLike)"> |
| <h3>dropPartition</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">dropPartition</span><wbr><span class="parameters">(int specId, |
| <a href="StructLike.html" title="interface in org.apache.iceberg">StructLike</a> partition)</span></div> |
| <div class="block">Add a partition tuple to drop from the table during the delete phase.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="delete(org.apache.iceberg.DataFile)"> |
| <h3>delete</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">delete</span><wbr><span class="parameters">(<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a> file)</span></div> |
| <div class="block">Add a specific data file to be deleted in the new snapshot.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="delete(org.apache.iceberg.DeleteFile)"> |
| <h3>delete</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">delete</span><wbr><span class="parameters">(<a href="DeleteFile.html" title="interface in org.apache.iceberg">DeleteFile</a> file)</span></div> |
| <div class="block">Add a specific delete file to be deleted in the new snapshot.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="delete(java.lang.CharSequence)"> |
| <h3>delete</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">delete</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/CharSequence.html" title="class or interface in java.lang" class="external-link">CharSequence</a> path)</span></div> |
| <div class="block">Add a specific data path to be deleted in the new snapshot.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="deletesDataFiles()"> |
| <h3>deletesDataFiles</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">boolean</span> <span class="element-name">deletesDataFiles</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="deletesDeleteFiles()"> |
| <h3>deletesDeleteFiles</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">boolean</span> <span class="element-name">deletesDeleteFiles</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="addsDataFiles()"> |
| <h3>addsDataFiles</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">boolean</span> <span class="element-name">addsDataFiles</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="addsDeleteFiles()"> |
| <h3>addsDeleteFiles</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">boolean</span> <span class="element-name">addsDeleteFiles</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="add(org.apache.iceberg.DataFile)"> |
| <h3>add</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">add</span><wbr><span class="parameters">(<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a> file)</span></div> |
| <div class="block">Add a data file to the new snapshot.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="add(org.apache.iceberg.DeleteFile)"> |
| <h3>add</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">add</span><wbr><span class="parameters">(<a href="DeleteFile.html" title="interface in org.apache.iceberg">DeleteFile</a> file)</span></div> |
| <div class="block">Add a delete file to the new snapshot.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="add(org.apache.iceberg.DeleteFile,long)"> |
| <h3>add</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">add</span><wbr><span class="parameters">(<a href="DeleteFile.html" title="interface in org.apache.iceberg">DeleteFile</a> file, |
| long dataSequenceNumber)</span></div> |
| <div class="block">Add a delete file to the new snapshot.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="validateNewDeleteFile(org.apache.iceberg.DeleteFile)"> |
| <h3>validateNewDeleteFile</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">validateNewDeleteFile</span><wbr><span class="parameters">(<a href="DeleteFile.html" title="interface in org.apache.iceberg">DeleteFile</a> file)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="add(org.apache.iceberg.ManifestFile)"> |
| <h3>add</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">add</span><wbr><span class="parameters">(<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a> manifest)</span></div> |
| <div class="block">Add all files in a manifest to the new snapshot.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="validateAddedDataFiles(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.util.PartitionSet,org.apache.iceberg.Snapshot)"> |
| <h3>validateAddedDataFiles</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">validateAddedDataFiles</span><wbr><span class="parameters">(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="util/PartitionSet.html" title="class in org.apache.iceberg.util">PartitionSet</a> partitionSet, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</span></div> |
| <div class="block">Validates that no files matching given partitions have been added to the table since a starting |
| snapshot.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>base</code> - table metadata to validate</dd> |
| <dd><code>startingSnapshotId</code> - id of the snapshot current at the start of the operation</dd> |
| <dd><code>partitionSet</code> - a set of partitions to filter new conflicting data files</dd> |
| <dd><code>parent</code> - ending snapshot on the lineage being validated</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="validateAddedDataFiles(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.expressions.Expression,org.apache.iceberg.Snapshot)"> |
| <h3>validateAddedDataFiles</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">validateAddedDataFiles</span><wbr><span class="parameters">(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a> conflictDetectionFilter, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</span></div> |
| <div class="block">Validates that no files matching a filter have been added to the table since a starting |
| snapshot.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>base</code> - table metadata to validate</dd> |
| <dd><code>startingSnapshotId</code> - id of the snapshot current at the start of the operation</dd> |
| <dd><code>conflictDetectionFilter</code> - an expression used to find new conflicting data files</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="validateNoNewDeletesForDataFiles(org.apache.iceberg.TableMetadata,java.lang.Long,java.lang.Iterable,org.apache.iceberg.Snapshot)"> |
| <h3>validateNoNewDeletesForDataFiles</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">validateNoNewDeletesForDataFiles</span><wbr><span class="parameters">(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a>> dataFiles, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</span></div> |
| <div class="block">Validates that no new delete files that must be applied to the given data files have been added |
| to the table since a starting snapshot.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>base</code> - table metadata to validate</dd> |
| <dd><code>startingSnapshotId</code> - id of the snapshot current at the start of the operation</dd> |
| <dd><code>dataFiles</code> - data files to validate have no new row deletes</dd> |
| <dd><code>parent</code> - ending snapshot on the branch being validated</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="validateNoNewDeletesForDataFiles(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.expressions.Expression,java.lang.Iterable,org.apache.iceberg.Snapshot)"> |
| <h3>validateNoNewDeletesForDataFiles</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">validateNoNewDeletesForDataFiles</span><wbr><span class="parameters">(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a> dataFilter, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a>> dataFiles, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</span></div> |
| <div class="block">Validates that no new delete files that must be applied to the given data files have been added |
| to the table since a starting snapshot.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>base</code> - table metadata to validate</dd> |
| <dd><code>startingSnapshotId</code> - id of the snapshot current at the start of the operation</dd> |
| <dd><code>dataFilter</code> - a data filter</dd> |
| <dd><code>dataFiles</code> - data files to validate have no new row deletes</dd> |
| <dd><code>parent</code> - ending snapshot on the branch being validated</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="validateNoNewDeleteFiles(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.expressions.Expression,org.apache.iceberg.Snapshot)"> |
| <h3>validateNoNewDeleteFiles</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">validateNoNewDeleteFiles</span><wbr><span class="parameters">(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a> dataFilter, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</span></div> |
| <div class="block">Validates that no delete files matching a filter have been added to the table since a starting |
| snapshot.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>base</code> - table metadata to validate</dd> |
| <dd><code>startingSnapshotId</code> - id of the snapshot current at the start of the operation</dd> |
| <dd><code>dataFilter</code> - an expression used to find new conflicting delete files</dd> |
| <dd><code>parent</code> - ending snapshot on the branch being validated</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="validateNoNewDeleteFiles(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.util.PartitionSet,org.apache.iceberg.Snapshot)"> |
| <h3>validateNoNewDeleteFiles</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">validateNoNewDeleteFiles</span><wbr><span class="parameters">(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="util/PartitionSet.html" title="class in org.apache.iceberg.util">PartitionSet</a> partitionSet, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</span></div> |
| <div class="block">Validates that no delete files matching a partition set have been added to the table since a |
| starting snapshot.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>base</code> - table metadata to validate</dd> |
| <dd><code>startingSnapshotId</code> - id of the snapshot current at the start of the operation</dd> |
| <dd><code>partitionSet</code> - a partition set used to find new conflicting delete files</dd> |
| <dd><code>parent</code> - ending snapshot on the branch being validated</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="addedDeleteFiles(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.expressions.Expression,org.apache.iceberg.util.PartitionSet,org.apache.iceberg.Snapshot)"> |
| <h3>addedDeleteFiles</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">org.apache.iceberg.DeleteFileIndex</span> <span class="element-name">addedDeleteFiles</span><wbr><span class="parameters">(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a> dataFilter, |
| <a href="util/PartitionSet.html" title="class in org.apache.iceberg.util">PartitionSet</a> partitionSet, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</span></div> |
| <div class="block">Returns matching delete files have been added to the table since a starting snapshot.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>base</code> - table metadata to validate</dd> |
| <dd><code>startingSnapshotId</code> - id of the snapshot current at the start of the operation</dd> |
| <dd><code>dataFilter</code> - an expression used to find delete files</dd> |
| <dd><code>partitionSet</code> - a partition set used to find delete files</dd> |
| <dd><code>parent</code> - parent snapshot of the branch</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="validateDeletedDataFiles(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.expressions.Expression,org.apache.iceberg.Snapshot)"> |
| <h3>validateDeletedDataFiles</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">validateDeletedDataFiles</span><wbr><span class="parameters">(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a> dataFilter, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</span></div> |
| <div class="block">Validates that no files matching a filter have been deleted from the table since a starting |
| snapshot.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>base</code> - table metadata to validate</dd> |
| <dd><code>startingSnapshotId</code> - id of the snapshot current at the start of the operation</dd> |
| <dd><code>dataFilter</code> - an expression used to find deleted data files</dd> |
| <dd><code>parent</code> - ending snapshot on the branch being validated</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="validateDeletedDataFiles(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.util.PartitionSet,org.apache.iceberg.Snapshot)"> |
| <h3>validateDeletedDataFiles</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">validateDeletedDataFiles</span><wbr><span class="parameters">(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="util/PartitionSet.html" title="class in org.apache.iceberg.util">PartitionSet</a> partitionSet, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</span></div> |
| <div class="block">Validates that no files matching a filter have been deleted from the table since a starting |
| snapshot.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>base</code> - table metadata to validate</dd> |
| <dd><code>startingSnapshotId</code> - id of the snapshot current at the start of the operation</dd> |
| <dd><code>partitionSet</code> - a partition set used to find deleted data files</dd> |
| <dd><code>parent</code> - ending snapshot on the branch being validated</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setNewDataFilesDataSequenceNumber(long)"> |
| <h3>setNewDataFilesDataSequenceNumber</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">setNewDataFilesDataSequenceNumber</span><wbr><span class="parameters">(long sequenceNumber)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="validateDataFilesExist(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.util.CharSequenceSet,boolean,org.apache.iceberg.expressions.Expression,org.apache.iceberg.Snapshot)"> |
| <h3>validateDataFilesExist</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">validateDataFilesExist</span><wbr><span class="parameters">(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="util/CharSequenceSet.html" title="class in org.apache.iceberg.util">CharSequenceSet</a> requiredDataFiles, |
| boolean skipDeletes, |
| <a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a> conflictDetectionFilter, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="validateAddedDVs(org.apache.iceberg.TableMetadata,java.lang.Long,org.apache.iceberg.expressions.Expression,org.apache.iceberg.Snapshot)"> |
| <h3>validateAddedDVs</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">validateAddedDVs</span><wbr><span class="parameters">(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> startingSnapshotId, |
| <a href="expressions/Expression.html" title="interface in org.apache.iceberg.expressions">Expression</a> conflictDetectionFilter, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> parent)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="summary()"> |
| <h3>summary</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>,<wbr><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>></span> <span class="element-name">summary</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="apply(org.apache.iceberg.TableMetadata,org.apache.iceberg.Snapshot)"> |
| <h3>apply</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>></span> <span class="element-name">apply</span><wbr><span class="parameters">(<a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> base, |
| <a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a> snapshot)</span></div> |
| <div class="block">Apply the update's changes to the given metadata and snapshot. Return the new manifest list.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>base</code> - the base table metadata to apply changes to</dd> |
| <dd><code>snapshot</code> - snapshot to apply the changes to</dd> |
| <dt>Returns:</dt> |
| <dd>a manifest list for the new snapshot.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="updateEvent()"> |
| <h3>updateEvent</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span> <span class="element-name">updateEvent</span>()</div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="PendingUpdate.html#updateEvent()">PendingUpdate</a></code></span></div> |
| <div class="block">Generates update event to notify about metadata changes</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>the generated event</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="cleanUncommitted(java.util.Set)"> |
| <h3>cleanUncommitted</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">cleanUncommitted</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</a><<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>> committed)</span></div> |
| <div class="block">Clean up any uncommitted manifests that were created. |
| |
| <p>Manifests may not be committed if apply is called more because a commit conflict has |
| occurred. Implementations may keep around manifests because the same changes will be made by |
| both apply calls. This method instructs the implementation to clean up those manifests and |
| passes the paths of the manifests that were actually committed.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>committed</code> - a set of manifest paths that were actually committed</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="stageOnly()"> |
| <h3>stageOnly</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></span> <span class="element-name">stageOnly</span>()</div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="SnapshotUpdate.html#stageOnly()">SnapshotUpdate</a></code></span></div> |
| <div class="block">Called to stage a snapshot in table metadata, but not update the current snapshot id.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="SnapshotUpdate.html#stageOnly()">stageOnly</a></code> in interface <code><a href="SnapshotUpdate.html" title="interface in org.apache.iceberg">SnapshotUpdate</a><ThisT></code></dd> |
| <dt>Returns:</dt> |
| <dd>this for method chaining</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="scanManifestsWith(java.util.concurrent.ExecutorService)"> |
| <h3>scanManifestsWith</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></span> <span class="element-name">scanManifestsWith</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/concurrent/ExecutorService.html" title="class or interface in java.util.concurrent" class="external-link">ExecutorService</a> executorService)</span></div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="SnapshotUpdate.html#scanManifestsWith(java.util.concurrent.ExecutorService)">SnapshotUpdate</a></code></span></div> |
| <div class="block">Use a particular executor to scan manifests. The default worker pool will be used by default.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="SnapshotUpdate.html#scanManifestsWith(java.util.concurrent.ExecutorService)">scanManifestsWith</a></code> in interface <code><a href="SnapshotUpdate.html" title="interface in org.apache.iceberg">SnapshotUpdate</a><ThisT></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>executorService</code> - the provided executor</dd> |
| <dt>Returns:</dt> |
| <dd>this for method chaining</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="validateWith(org.apache.iceberg.SnapshotAncestryValidator)"> |
| <h3>validateWith</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></span> <span class="element-name">validateWith</span><wbr><span class="parameters">(<a href="SnapshotAncestryValidator.html" title="interface in org.apache.iceberg">SnapshotAncestryValidator</a> validator)</span></div> |
| <div class="block">Set a validator to check snapshot ancestry before committing changes. |
| |
| <p>If there is no parent snapshot, an empty iterable will be supplied to the validator.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="SnapshotUpdate.html#validateWith(org.apache.iceberg.SnapshotAncestryValidator)">validateWith</a></code> in interface <code><a href="SnapshotUpdate.html" title="interface in org.apache.iceberg">SnapshotUpdate</a><ThisT></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>validator</code> - a validator to check snapshot ancestry validity</dd> |
| <dt>Returns:</dt> |
| <dd>this for method chaining</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="ops()"> |
| <h3>ops</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="TableOperations.html" title="interface in org.apache.iceberg">TableOperations</a></span> <span class="element-name">ops</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="commitMetrics()"> |
| <h3>commitMetrics</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="metrics/CommitMetrics.html" title="class in org.apache.iceberg.metrics">CommitMetrics</a></span> <span class="element-name">commitMetrics</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="reportWith(org.apache.iceberg.metrics.MetricsReporter)"> |
| <h3>reportWith</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></span> <span class="element-name">reportWith</span><wbr><span class="parameters">(<a href="metrics/MetricsReporter.html" title="interface in org.apache.iceberg.metrics">MetricsReporter</a> newReporter)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="targetBranch(java.lang.String)"> |
| <h3>targetBranch</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">targetBranch</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> branch)</span></div> |
| <div class="block">A setter for the target branch on which snapshot producer operation should be performed</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>branch</code> - to set as target branch</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="targetBranch()"> |
| <h3>targetBranch</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name">targetBranch</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="workerPool()"> |
| <h3>workerPool</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/concurrent/ExecutorService.html" title="class or interface in java.util.concurrent" class="external-link">ExecutorService</a></span> <span class="element-name">workerPool</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="deleteWith(java.util.function.Consumer)"> |
| <h3>deleteWith</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></span> <span class="element-name">deleteWith</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/function/Consumer.html" title="class or interface in java.util.function" class="external-link">Consumer</a><<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>> deleteCallback)</span></div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="SnapshotUpdate.html#deleteWith(java.util.function.Consumer)">SnapshotUpdate</a></code></span></div> |
| <div class="block">Set a callback to delete files instead of the table's default.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="SnapshotUpdate.html#deleteWith(java.util.function.Consumer)">deleteWith</a></code> in interface <code><a href="SnapshotUpdate.html" title="interface in org.apache.iceberg">SnapshotUpdate</a><ThisT></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>deleteCallback</code> - a String consumer used to delete locations.</dd> |
| <dt>Returns:</dt> |
| <dd>this for method chaining</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="apply()"> |
| <h3>apply</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a></span> <span class="element-name">apply</span>()</div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="PendingUpdate.html#apply()">PendingUpdate</a></code></span></div> |
| <div class="block">Apply the pending changes and return the uncommitted changes for validation. |
| |
| <p>This does not result in a permanent update.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="PendingUpdate.html#apply()">apply</a></code> in interface <code><a href="PendingUpdate.html" title="interface in org.apache.iceberg">PendingUpdate</a><ThisT></code></dd> |
| <dt>Returns:</dt> |
| <dd>the uncommitted changes that would be committed by calling <a href="PendingUpdate.html#commit()"><code>PendingUpdate.commit()</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="current()"> |
| <h3>current</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a></span> <span class="element-name">current</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="refresh()"> |
| <h3>refresh</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a></span> <span class="element-name">refresh</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="commit()"> |
| <h3>commit</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">commit</span>()</div> |
| <div class="block"><span class="description-from-type-label">Description copied from interface: <code><a href="PendingUpdate.html#commit()">PendingUpdate</a></code></span></div> |
| <div class="block">Apply the pending changes and commit. |
| |
| <p>Changes are committed by calling the underlying table's commit method. |
| |
| <p>Once the commit is successful, the updated table will be refreshed.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="PendingUpdate.html#commit()">commit</a></code> in interface <code><a href="PendingUpdate.html" title="interface in org.apache.iceberg">PendingUpdate</a><ThisT></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="cleanAll()"> |
| <h3>cleanAll</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">cleanAll</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="deleteFile(java.lang.String)"> |
| <h3>deleteFile</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">deleteFile</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> path)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="manifestListPath()"> |
| <h3>manifestListPath</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="io/OutputFile.html" title="interface in org.apache.iceberg.io">OutputFile</a></span> <span class="element-name">manifestListPath</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="newManifestOutputFile()"> |
| <h3>newManifestOutputFile</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="encryption/EncryptedOutputFile.html" title="interface in org.apache.iceberg.encryption">EncryptedOutputFile</a></span> <span class="element-name">newManifestOutputFile</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="newManifestWriter(org.apache.iceberg.PartitionSpec)"> |
| <h3>newManifestWriter</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="ManifestWriter.html" title="class in org.apache.iceberg">ManifestWriter</a><<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a>></span> <span class="element-name">newManifestWriter</span><wbr><span class="parameters">(<a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a> spec)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="newDeleteManifestWriter(org.apache.iceberg.PartitionSpec)"> |
| <h3>newDeleteManifestWriter</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="ManifestWriter.html" title="class in org.apache.iceberg">ManifestWriter</a><<a href="DeleteFile.html" title="interface in org.apache.iceberg">DeleteFile</a>></span> <span class="element-name">newDeleteManifestWriter</span><wbr><span class="parameters">(<a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a> spec)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="newRollingManifestWriter(org.apache.iceberg.PartitionSpec)"> |
| <h3>newRollingManifestWriter</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="RollingManifestWriter.html" title="class in org.apache.iceberg">RollingManifestWriter</a><<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a>></span> <span class="element-name">newRollingManifestWriter</span><wbr><span class="parameters">(<a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a> spec)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="newRollingDeleteManifestWriter(org.apache.iceberg.PartitionSpec)"> |
| <h3>newRollingDeleteManifestWriter</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="RollingManifestWriter.html" title="class in org.apache.iceberg">RollingManifestWriter</a><<a href="DeleteFile.html" title="interface in org.apache.iceberg">DeleteFile</a>></span> <span class="element-name">newRollingDeleteManifestWriter</span><wbr><span class="parameters">(<a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a> spec)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="newManifestReader(org.apache.iceberg.ManifestFile)"> |
| <h3>newManifestReader</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="ManifestReader.html" title="class in org.apache.iceberg">ManifestReader</a><<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a>></span> <span class="element-name">newManifestReader</span><wbr><span class="parameters">(<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a> manifest)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="newDeleteManifestReader(org.apache.iceberg.ManifestFile)"> |
| <h3>newDeleteManifestReader</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="ManifestReader.html" title="class in org.apache.iceberg">ManifestReader</a><<a href="DeleteFile.html" title="interface in org.apache.iceberg">DeleteFile</a>></span> <span class="element-name">newDeleteManifestReader</span><wbr><span class="parameters">(<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a> manifest)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="snapshotId()"> |
| <h3>snapshotId</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">long</span> <span class="element-name">snapshotId</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="canInheritSnapshotId()"> |
| <h3>canInheritSnapshotId</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">boolean</span> <span class="element-name">canInheritSnapshotId</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="cleanupAfterCommit()"> |
| <h3>cleanupAfterCommit</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">boolean</span> <span class="element-name">cleanupAfterCommit</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="buildManifestCountSummary(java.util.List,int)"> |
| <h3>buildManifestCountSummary</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="SnapshotSummary.Builder.html" title="class in org.apache.iceberg">SnapshotSummary.Builder</a></span> <span class="element-name">buildManifestCountSummary</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>> manifests, |
| int replacedManifestsCount)</span></div> |
| <div class="block">Builds a snapshot summary with manifest counts.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>manifests</code> - the list of manifests in the new snapshot</dd> |
| <dd><code>replacedManifestsCount</code> - the count of manifests that were replaced (rewritten)</dd> |
| <dt>Returns:</dt> |
| <dd>a summary builder with manifest count metrics set</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="writeDataManifests(java.util.Collection,org.apache.iceberg.PartitionSpec)"> |
| <h3>writeDataManifests</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>></span> <span class="element-name">writeDataManifests</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a>> files, |
| <a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a> spec)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="writeDataManifests(java.util.Collection,java.lang.Long,org.apache.iceberg.PartitionSpec)"> |
| <h3>writeDataManifests</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>></span> <span class="element-name">writeDataManifests</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="DataFile.html" title="interface in org.apache.iceberg">DataFile</a>> files, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a> dataSeq, |
| <a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a> spec)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="deleteUncommitted(java.util.Collection,java.util.Set,boolean)"> |
| <h3>deleteUncommitted</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">deleteUncommitted</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>> manifests, |
| <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</a><<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>> committed, |
| boolean clearManifests)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="writeDeleteManifests(java.util.Collection,org.apache.iceberg.PartitionSpec)"> |
| <h3>writeDeleteManifests</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>></span> <span class="element-name">writeDeleteManifests</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="DeleteFile.html" title="interface in org.apache.iceberg">DeleteFile</a>> files, |
| <a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a> spec)</span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| </div> |
| </div> |
| </body> |
| </html> |