blob: 59a206810ab3d6995ca121e056f78f6d7d22b5e6 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>TableMetadata.Builder</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="TableMetadata.Builder";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/apache/iceberg/TableMetadata.html" title="class in org.apache.iceberg"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../org/apache/iceberg/TableMetadata.MetadataLogEntry.html" title="class in org.apache.iceberg"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/apache/iceberg/TableMetadata.Builder.html" target="_top">Frames</a></li>
<li><a href="TableMetadata.Builder.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.iceberg</div>
<h2 title="Class TableMetadata.Builder" class="title">Class TableMetadata.Builder</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.iceberg.TableMetadata.Builder</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Enclosing class:</dt>
<dd><a href="../../../org/apache/iceberg/TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a></dd>
</dl>
<hr>
<br>
<pre>public static class <span class="typeNameLabel">TableMetadata.Builder</span>
extends java.lang.Object</pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#addPartitionSpec-org.apache.iceberg.PartitionSpec-">addPartitionSpec</a></span>(<a href="../../../org/apache/iceberg/PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#addPartitionSpec-org.apache.iceberg.UnboundPartitionSpec-">addPartitionSpec</a></span>(<a href="../../../org/apache/iceberg/UnboundPartitionSpec.html" title="class in org.apache.iceberg">UnboundPartitionSpec</a>&nbsp;spec)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#addSchema-org.apache.iceberg.Schema-int-">addSchema</a></span>(<a href="../../../org/apache/iceberg/Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
int&nbsp;newLastColumnId)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#addSnapshot-org.apache.iceberg.Snapshot-">addSnapshot</a></span>(<a href="../../../org/apache/iceberg/Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a>&nbsp;snapshot)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#addSortOrder-org.apache.iceberg.SortOrder-">addSortOrder</a></span>(<a href="../../../org/apache/iceberg/SortOrder.html" title="class in org.apache.iceberg">SortOrder</a>&nbsp;order)</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#addSortOrder-org.apache.iceberg.UnboundSortOrder-">addSortOrder</a></span>(<a href="../../../org/apache/iceberg/UnboundSortOrder.html" title="class in org.apache.iceberg">UnboundSortOrder</a>&nbsp;order)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#assignUUID--">assignUUID</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#assignUUID-java.lang.String-">assignUUID</a></span>(java.lang.String&nbsp;newUuid)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#build--">build</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#discardChanges--">discardChanges</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#removePartitionStatistics-long-">removePartitionStatistics</a></span>(long&nbsp;snapshotId)</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#removeProperties-java.util.Set-">removeProperties</a></span>(java.util.Set&lt;java.lang.String&gt;&nbsp;removed)</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#removeRef-java.lang.String-">removeRef</a></span>(java.lang.String&nbsp;name)</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#removeSnapshots-java.util.Collection-">removeSnapshots</a></span>(java.util.Collection&lt;java.lang.Long&gt;&nbsp;idsToRemove)</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#removeSnapshots-java.util.List-">removeSnapshots</a></span>(java.util.List&lt;<a href="../../../org/apache/iceberg/Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a>&gt;&nbsp;snapshotsToRemove)</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#removeStatistics-long-">removeStatistics</a></span>(long&nbsp;snapshotId)</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#setBranchSnapshot-long-java.lang.String-">setBranchSnapshot</a></span>(long&nbsp;snapshotId,
java.lang.String&nbsp;branch)</code>&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#setBranchSnapshot-org.apache.iceberg.Snapshot-java.lang.String-">setBranchSnapshot</a></span>(<a href="../../../org/apache/iceberg/Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a>&nbsp;snapshot,
java.lang.String&nbsp;branch)</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#setCurrentSchema-int-">setCurrentSchema</a></span>(int&nbsp;schemaId)</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#setCurrentSchema-org.apache.iceberg.Schema-int-">setCurrentSchema</a></span>(<a href="../../../org/apache/iceberg/Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;newSchema,
int&nbsp;newLastColumnId)</code>&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#setDefaultPartitionSpec-int-">setDefaultPartitionSpec</a></span>(int&nbsp;specId)</code>&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#setDefaultPartitionSpec-org.apache.iceberg.PartitionSpec-">setDefaultPartitionSpec</a></span>(<a href="../../../org/apache/iceberg/PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec)</code>&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#setDefaultSortOrder-int-">setDefaultSortOrder</a></span>(int&nbsp;sortOrderId)</code>&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#setDefaultSortOrder-org.apache.iceberg.SortOrder-">setDefaultSortOrder</a></span>(<a href="../../../org/apache/iceberg/SortOrder.html" title="class in org.apache.iceberg">SortOrder</a>&nbsp;order)</code>&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#setLocation-java.lang.String-">setLocation</a></span>(java.lang.String&nbsp;newLocation)</code>&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#setPartitionStatistics-org.apache.iceberg.PartitionStatisticsFile-">setPartitionStatistics</a></span>(<a href="../../../org/apache/iceberg/PartitionStatisticsFile.html" title="interface in org.apache.iceberg">PartitionStatisticsFile</a>&nbsp;file)</code>&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#setPreviousFileLocation-java.lang.String-">setPreviousFileLocation</a></span>(java.lang.String&nbsp;previousFileLocation)</code>&nbsp;</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#setProperties-java.util.Map-">setProperties</a></span>(java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;updated)</code>&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#setRef-java.lang.String-org.apache.iceberg.SnapshotRef-">setRef</a></span>(java.lang.String&nbsp;name,
<a href="../../../org/apache/iceberg/SnapshotRef.html" title="class in org.apache.iceberg">SnapshotRef</a>&nbsp;ref)</code>&nbsp;</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#setSnapshotsSupplier-org.apache.iceberg.util.SerializableSupplier-">setSnapshotsSupplier</a></span>(<a href="../../../org/apache/iceberg/util/SerializableSupplier.html" title="interface in org.apache.iceberg.util">SerializableSupplier</a>&lt;java.util.List&lt;<a href="../../../org/apache/iceberg/Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a>&gt;&gt;&nbsp;snapshotsSupplier)</code>&nbsp;</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#setStatistics-long-org.apache.iceberg.StatisticsFile-">setStatistics</a></span>(long&nbsp;snapshotId,
<a href="../../../org/apache/iceberg/StatisticsFile.html" title="interface in org.apache.iceberg">StatisticsFile</a>&nbsp;statisticsFile)</code>&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#suppressHistoricalSnapshots--">suppressHistoricalSnapshots</a></span>()</code>
<div class="block">Suppresses snapshots that are historical, removing the metadata for lazy snapshot loading.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#upgradeFormatVersion-int-">upgradeFormatVersion</a></span>(int&nbsp;newFormatVersion)</code>&nbsp;</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/iceberg/TableMetadata.Builder.html#withMetadataLocation-java.lang.String-">withMetadataLocation</a></span>(java.lang.String&nbsp;newMetadataLocation)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="withMetadataLocation-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withMetadataLocation</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;withMetadataLocation(java.lang.String&nbsp;newMetadataLocation)</pre>
</li>
</ul>
<a name="assignUUID--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assignUUID</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;assignUUID()</pre>
</li>
</ul>
<a name="assignUUID-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assignUUID</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;assignUUID(java.lang.String&nbsp;newUuid)</pre>
</li>
</ul>
<a name="upgradeFormatVersion-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>upgradeFormatVersion</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;upgradeFormatVersion(int&nbsp;newFormatVersion)</pre>
</li>
</ul>
<a name="setCurrentSchema-org.apache.iceberg.Schema-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCurrentSchema</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;setCurrentSchema(<a href="../../../org/apache/iceberg/Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;newSchema,
int&nbsp;newLastColumnId)</pre>
</li>
</ul>
<a name="setCurrentSchema-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCurrentSchema</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;setCurrentSchema(int&nbsp;schemaId)</pre>
</li>
</ul>
<a name="addSchema-org.apache.iceberg.Schema-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addSchema</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;addSchema(<a href="../../../org/apache/iceberg/Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
int&nbsp;newLastColumnId)</pre>
</li>
</ul>
<a name="setDefaultPartitionSpec-org.apache.iceberg.PartitionSpec-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultPartitionSpec</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;setDefaultPartitionSpec(<a href="../../../org/apache/iceberg/PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec)</pre>
</li>
</ul>
<a name="setDefaultPartitionSpec-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultPartitionSpec</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;setDefaultPartitionSpec(int&nbsp;specId)</pre>
</li>
</ul>
<a name="addPartitionSpec-org.apache.iceberg.UnboundPartitionSpec-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addPartitionSpec</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;addPartitionSpec(<a href="../../../org/apache/iceberg/UnboundPartitionSpec.html" title="class in org.apache.iceberg">UnboundPartitionSpec</a>&nbsp;spec)</pre>
</li>
</ul>
<a name="addPartitionSpec-org.apache.iceberg.PartitionSpec-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addPartitionSpec</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;addPartitionSpec(<a href="../../../org/apache/iceberg/PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec)</pre>
</li>
</ul>
<a name="setDefaultSortOrder-org.apache.iceberg.SortOrder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultSortOrder</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;setDefaultSortOrder(<a href="../../../org/apache/iceberg/SortOrder.html" title="class in org.apache.iceberg">SortOrder</a>&nbsp;order)</pre>
</li>
</ul>
<a name="setDefaultSortOrder-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultSortOrder</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;setDefaultSortOrder(int&nbsp;sortOrderId)</pre>
</li>
</ul>
<a name="addSortOrder-org.apache.iceberg.UnboundSortOrder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addSortOrder</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;addSortOrder(<a href="../../../org/apache/iceberg/UnboundSortOrder.html" title="class in org.apache.iceberg">UnboundSortOrder</a>&nbsp;order)</pre>
</li>
</ul>
<a name="addSortOrder-org.apache.iceberg.SortOrder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addSortOrder</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;addSortOrder(<a href="../../../org/apache/iceberg/SortOrder.html" title="class in org.apache.iceberg">SortOrder</a>&nbsp;order)</pre>
</li>
</ul>
<a name="addSnapshot-org.apache.iceberg.Snapshot-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addSnapshot</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;addSnapshot(<a href="../../../org/apache/iceberg/Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a>&nbsp;snapshot)</pre>
</li>
</ul>
<a name="setSnapshotsSupplier-org.apache.iceberg.util.SerializableSupplier-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSnapshotsSupplier</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;setSnapshotsSupplier(<a href="../../../org/apache/iceberg/util/SerializableSupplier.html" title="interface in org.apache.iceberg.util">SerializableSupplier</a>&lt;java.util.List&lt;<a href="../../../org/apache/iceberg/Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a>&gt;&gt;&nbsp;snapshotsSupplier)</pre>
</li>
</ul>
<a name="setBranchSnapshot-org.apache.iceberg.Snapshot-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBranchSnapshot</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;setBranchSnapshot(<a href="../../../org/apache/iceberg/Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a>&nbsp;snapshot,
java.lang.String&nbsp;branch)</pre>
</li>
</ul>
<a name="setBranchSnapshot-long-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBranchSnapshot</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;setBranchSnapshot(long&nbsp;snapshotId,
java.lang.String&nbsp;branch)</pre>
</li>
</ul>
<a name="setRef-java.lang.String-org.apache.iceberg.SnapshotRef-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRef</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;setRef(java.lang.String&nbsp;name,
<a href="../../../org/apache/iceberg/SnapshotRef.html" title="class in org.apache.iceberg">SnapshotRef</a>&nbsp;ref)</pre>
</li>
</ul>
<a name="removeRef-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeRef</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;removeRef(java.lang.String&nbsp;name)</pre>
</li>
</ul>
<a name="setStatistics-long-org.apache.iceberg.StatisticsFile-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStatistics</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;setStatistics(long&nbsp;snapshotId,
<a href="../../../org/apache/iceberg/StatisticsFile.html" title="interface in org.apache.iceberg">StatisticsFile</a>&nbsp;statisticsFile)</pre>
</li>
</ul>
<a name="removeStatistics-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeStatistics</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;removeStatistics(long&nbsp;snapshotId)</pre>
</li>
</ul>
<a name="suppressHistoricalSnapshots--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>suppressHistoricalSnapshots</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;suppressHistoricalSnapshots()</pre>
<div class="block">Suppresses snapshots that are historical, removing the metadata for lazy snapshot loading.
<p>Note that the snapshots are not considered removed from metadata and no RemoveSnapshot
changes are created.
<p>A snapshot is historical if no ref directly references its ID.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this for method chaining</dd>
</dl>
</li>
</ul>
<a name="setPartitionStatistics-org.apache.iceberg.PartitionStatisticsFile-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPartitionStatistics</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;setPartitionStatistics(<a href="../../../org/apache/iceberg/PartitionStatisticsFile.html" title="interface in org.apache.iceberg">PartitionStatisticsFile</a>&nbsp;file)</pre>
</li>
</ul>
<a name="removePartitionStatistics-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removePartitionStatistics</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;removePartitionStatistics(long&nbsp;snapshotId)</pre>
</li>
</ul>
<a name="removeSnapshots-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeSnapshots</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;removeSnapshots(java.util.List&lt;<a href="../../../org/apache/iceberg/Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a>&gt;&nbsp;snapshotsToRemove)</pre>
</li>
</ul>
<a name="removeSnapshots-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeSnapshots</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;removeSnapshots(java.util.Collection&lt;java.lang.Long&gt;&nbsp;idsToRemove)</pre>
</li>
</ul>
<a name="setProperties-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setProperties</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;setProperties(java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;updated)</pre>
</li>
</ul>
<a name="removeProperties-java.util.Set-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeProperties</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;removeProperties(java.util.Set&lt;java.lang.String&gt;&nbsp;removed)</pre>
</li>
</ul>
<a name="setLocation-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLocation</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;setLocation(java.lang.String&nbsp;newLocation)</pre>
</li>
</ul>
<a name="discardChanges--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>discardChanges</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;discardChanges()</pre>
</li>
</ul>
<a name="setPreviousFileLocation-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPreviousFileLocation</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.Builder.html" title="class in org.apache.iceberg">TableMetadata.Builder</a>&nbsp;setPreviousFileLocation(java.lang.String&nbsp;previousFileLocation)</pre>
</li>
</ul>
<a name="build--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>build</h4>
<pre>public&nbsp;<a href="../../../org/apache/iceberg/TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a>&nbsp;build()</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/apache/iceberg/TableMetadata.html" title="class in org.apache.iceberg"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../org/apache/iceberg/TableMetadata.MetadataLogEntry.html" title="class in org.apache.iceberg"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/apache/iceberg/TableMetadata.Builder.html" target="_top">Frames</a></li>
<li><a href="TableMetadata.Builder.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>