blob: 1e3c3b17f61c18461ee645de8be6089c137cf777 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.7) on Tue Jul 14 14:13:05 PDT 2020 -->
<title>Table</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2020-07-14">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Table";
}
}
catch(err) {
}
//-->
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":18,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":38,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.iceberg</a></div>
<h2 title="Interface Table" class="title">Interface Table</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><code><a href="AllDataFilesTable.html" title="class in org.apache.iceberg">AllDataFilesTable</a></code>, <code><a href="AllEntriesTable.html" title="class in org.apache.iceberg">AllEntriesTable</a></code>, <code><a href="AllManifestsTable.html" title="class in org.apache.iceberg">AllManifestsTable</a></code>, <code><a href="BaseTable.html" title="class in org.apache.iceberg">BaseTable</a></code>, <code><a href="DataFilesTable.html" title="class in org.apache.iceberg">DataFilesTable</a></code>, <code><a href="HistoryTable.html" title="class in org.apache.iceberg">HistoryTable</a></code>, <code><a href="ManifestEntriesTable.html" title="class in org.apache.iceberg">ManifestEntriesTable</a></code>, <code><a href="ManifestsTable.html" title="class in org.apache.iceberg">ManifestsTable</a></code>, <code><a href="PartitionsTable.html" title="class in org.apache.iceberg">PartitionsTable</a></code>, <code><a href="SnapshotsTable.html" title="class in org.apache.iceberg">SnapshotsTable</a></code></dd>
</dl>
<hr>
<pre>public interface <span class="typeNameLabel">Table</span></pre>
<div class="block">Represents a table.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#currentSnapshot()">currentSnapshot</a></span>()</code></th>
<td class="colLast">
<div class="block">Get the current <a href="Snapshot.html" title="interface in org.apache.iceberg"><code>snapshot</code></a> for this table, or null if there are no snapshots.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="encryption/EncryptionManager.html" title="interface in org.apache.iceberg.encryption">EncryptionManager</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#encryption()">encryption</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="ExpireSnapshots.html" title="interface in org.apache.iceberg">ExpireSnapshots</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#expireSnapshots()">expireSnapshots</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="ExpireSnapshots.html" title="interface in org.apache.iceberg"><code>expire API</code></a> to manage snapshots in this table and commit.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="HistoryEntry.html" title="interface in org.apache.iceberg">HistoryEntry</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#history()">history</a></span>()</code></th>
<td class="colLast">
<div class="block">Get the snapshot history of this table.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="io/FileIO.html" title="interface in org.apache.iceberg.io">FileIO</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#io()">io</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#location()">location</a></span>()</code></th>
<td class="colLast">
<div class="block">Return the table's base location.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="io/LocationProvider.html" title="interface in org.apache.iceberg.io">LocationProvider</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#locationProvider()">locationProvider</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="ManageSnapshots.html" title="interface in org.apache.iceberg">ManageSnapshots</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#manageSnapshots()">manageSnapshots</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="ManageSnapshots.html" title="interface in org.apache.iceberg"><code>manage snapshots API</code></a> to manage snapshots in this table and commit.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="AppendFiles.html" title="interface in org.apache.iceberg">AppendFiles</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newAppend()">newAppend</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="AppendFiles.html" title="interface in org.apache.iceberg"><code>append API</code></a> to add files to this table and commit.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newDelete()">newDelete</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="DeleteFiles.html" title="interface in org.apache.iceberg"><code>delete API</code></a> to replace files in this table and commit.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>default <a href="AppendFiles.html" title="interface in org.apache.iceberg">AppendFiles</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newFastAppend()">newFastAppend</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="AppendFiles.html" title="interface in org.apache.iceberg"><code>append API</code></a> to add files to this table and commit.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="OverwriteFiles.html" title="interface in org.apache.iceberg">OverwriteFiles</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newOverwrite()">newOverwrite</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="OverwriteFiles.html" title="interface in org.apache.iceberg"><code>overwrite API</code></a> to overwrite files by a filter expression.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="ReplacePartitions.html" title="interface in org.apache.iceberg">ReplacePartitions</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newReplacePartitions()">newReplacePartitions</a></span>()</code></th>
<td class="colLast">
<div class="block">Not recommended: Create a new <a href="ReplacePartitions.html" title="interface in org.apache.iceberg"><code>replace partitions API</code></a> to dynamically
overwrite partitions in the table with new data.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="RewriteFiles.html" title="interface in org.apache.iceberg">RewriteFiles</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newRewrite()">newRewrite</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="RewriteFiles.html" title="interface in org.apache.iceberg"><code>rewrite API</code></a> to replace files in this table and commit.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="RowDelta.html" title="interface in org.apache.iceberg">RowDelta</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newRowDelta()">newRowDelta</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="RowDelta.html" title="interface in org.apache.iceberg"><code>row-level delta API</code></a> to remove or replace rows in existing data files.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="TableScan.html" title="interface in org.apache.iceberg">TableScan</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newScan()">newScan</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="TableScan.html" title="interface in org.apache.iceberg"><code>scan</code></a> for this table.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="Transaction.html" title="interface in org.apache.iceberg">Transaction</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newTransaction()">newTransaction</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="Transaction.html" title="interface in org.apache.iceberg"><code>transaction API</code></a> to commit multiple table operations at once.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#properties()">properties</a></span>()</code></th>
<td class="colLast">
<div class="block">Return a map of string properties for this table.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#refresh()">refresh</a></span>()</code></th>
<td class="colLast">
<div class="block">Refresh the current table metadata.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="RewriteManifests.html" title="interface in org.apache.iceberg">RewriteManifests</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rewriteManifests()">rewriteManifests</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="RewriteManifests.html" title="interface in org.apache.iceberg"><code>rewrite manifests API</code></a> to replace manifests for this
table and commit.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="Rollback.html" title="interface in org.apache.iceberg">Rollback</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rollback()">rollback</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Replaced by <a href="#manageSnapshots()"><code>manageSnapshots()</code></a></div>
</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="Schema.html" title="class in org.apache.iceberg">Schema</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#schema()">schema</a></span>()</code></th>
<td class="colLast">
<div class="block">Return the <a href="Schema.html" title="class in org.apache.iceberg"><code>schema</code></a> for this table.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#snapshot(long)">snapshot</a></span>&#8203;(long&nbsp;snapshotId)</code></th>
<td class="colLast">
<div class="block">Get the <a href="Snapshot.html" title="interface in org.apache.iceberg"><code>snapshot</code></a> of this table with the given id, or null if there is no
matching snapshot.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>java.lang.Iterable&lt;<a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#snapshots()">snapshots</a></span>()</code></th>
<td class="colLast">
<div class="block">Get the <a href="Snapshot.html" title="interface in org.apache.iceberg"><code>snapshots</code></a> of this table.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#spec()">spec</a></span>()</code></th>
<td class="colLast">
<div class="block">Return the <a href="PartitionSpec.html" title="class in org.apache.iceberg"><code>partition spec</code></a> for this table.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.Integer,&#8203;<a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#specs()">specs</a></span>()</code></th>
<td class="colLast">
<div class="block">Return a map of <a href="PartitionSpec.html" title="class in org.apache.iceberg"><code>partition specs</code></a> for this table.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="UpdateLocation.html" title="interface in org.apache.iceberg">UpdateLocation</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateLocation()">updateLocation</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="UpdateLocation.html" title="interface in org.apache.iceberg"><code>UpdateLocation</code></a> to update table location and commit the changes.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="UpdateProperties.html" title="interface in org.apache.iceberg">UpdateProperties</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateProperties()">updateProperties</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="UpdateProperties.html" title="interface in org.apache.iceberg"><code>UpdateProperties</code></a> to update table properties and commit the changes.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code><a href="UpdateSchema.html" title="interface in org.apache.iceberg">UpdateSchema</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateSchema()">updateSchema</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new <a href="UpdateSchema.html" title="interface in org.apache.iceberg"><code>UpdateSchema</code></a> to alter the columns of this table and commit the change.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="refresh()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>refresh</h4>
<pre class="methodSignature">void&nbsp;refresh()</pre>
<div class="block">Refresh the current table metadata.</div>
</li>
</ul>
<a id="newScan()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newScan</h4>
<pre class="methodSignature"><a href="TableScan.html" title="interface in org.apache.iceberg">TableScan</a>&nbsp;newScan()</pre>
<div class="block">Create a new <a href="TableScan.html" title="interface in org.apache.iceberg"><code>scan</code></a> for this table.
<p>
Once a table scan is created, it can be refined to project columns and filter data.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a table scan for this table</dd>
</dl>
</li>
</ul>
<a id="schema()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>schema</h4>
<pre class="methodSignature"><a href="Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema()</pre>
<div class="block">Return the <a href="Schema.html" title="class in org.apache.iceberg"><code>schema</code></a> for this table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this table's schema</dd>
</dl>
</li>
</ul>
<a id="spec()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>spec</h4>
<pre class="methodSignature"><a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec()</pre>
<div class="block">Return the <a href="PartitionSpec.html" title="class in org.apache.iceberg"><code>partition spec</code></a> for this table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this table's partition spec</dd>
</dl>
</li>
</ul>
<a id="specs()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>specs</h4>
<pre class="methodSignature">java.util.Map&lt;java.lang.Integer,&#8203;<a href="PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&gt;&nbsp;specs()</pre>
<div class="block">Return a map of <a href="PartitionSpec.html" title="class in org.apache.iceberg"><code>partition specs</code></a> for this table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this table's partition specs map</dd>
</dl>
</li>
</ul>
<a id="properties()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>properties</h4>
<pre class="methodSignature">java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;properties()</pre>
<div class="block">Return a map of string properties for this table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this table's properties map</dd>
</dl>
</li>
</ul>
<a id="location()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>location</h4>
<pre class="methodSignature">java.lang.String&nbsp;location()</pre>
<div class="block">Return the table's base location.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this table's location</dd>
</dl>
</li>
</ul>
<a id="currentSnapshot()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>currentSnapshot</h4>
<pre class="methodSignature"><a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a>&nbsp;currentSnapshot()</pre>
<div class="block">Get the current <a href="Snapshot.html" title="interface in org.apache.iceberg"><code>snapshot</code></a> for this table, or null if there are no snapshots.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the current table Snapshot.</dd>
</dl>
</li>
</ul>
<a id="snapshot(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>snapshot</h4>
<pre class="methodSignature"><a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a>&nbsp;snapshot&#8203;(long&nbsp;snapshotId)</pre>
<div class="block">Get the <a href="Snapshot.html" title="interface in org.apache.iceberg"><code>snapshot</code></a> of this table with the given id, or null if there is no
matching snapshot.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="Snapshot.html" title="interface in org.apache.iceberg"><code>Snapshot</code></a> with the given id.</dd>
</dl>
</li>
</ul>
<a id="snapshots()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>snapshots</h4>
<pre class="methodSignature">java.lang.Iterable&lt;<a href="Snapshot.html" title="interface in org.apache.iceberg">Snapshot</a>&gt;&nbsp;snapshots()</pre>
<div class="block">Get the <a href="Snapshot.html" title="interface in org.apache.iceberg"><code>snapshots</code></a> of this table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an Iterable of snapshots of this table.</dd>
</dl>
</li>
</ul>
<a id="history()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>history</h4>
<pre class="methodSignature">java.util.List&lt;<a href="HistoryEntry.html" title="interface in org.apache.iceberg">HistoryEntry</a>&gt;&nbsp;history()</pre>
<div class="block">Get the snapshot history of this table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a list of <a href="HistoryEntry.html" title="interface in org.apache.iceberg"><code>history entries</code></a></dd>
</dl>
</li>
</ul>
<a id="updateSchema()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateSchema</h4>
<pre class="methodSignature"><a href="UpdateSchema.html" title="interface in org.apache.iceberg">UpdateSchema</a>&nbsp;updateSchema()</pre>
<div class="block">Create a new <a href="UpdateSchema.html" title="interface in org.apache.iceberg"><code>UpdateSchema</code></a> to alter the columns of this table and commit the change.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="UpdateSchema.html" title="interface in org.apache.iceberg"><code>UpdateSchema</code></a></dd>
</dl>
</li>
</ul>
<a id="updateProperties()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateProperties</h4>
<pre class="methodSignature"><a href="UpdateProperties.html" title="interface in org.apache.iceberg">UpdateProperties</a>&nbsp;updateProperties()</pre>
<div class="block">Create a new <a href="UpdateProperties.html" title="interface in org.apache.iceberg"><code>UpdateProperties</code></a> to update table properties and commit the changes.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="UpdateProperties.html" title="interface in org.apache.iceberg"><code>UpdateProperties</code></a></dd>
</dl>
</li>
</ul>
<a id="updateLocation()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateLocation</h4>
<pre class="methodSignature"><a href="UpdateLocation.html" title="interface in org.apache.iceberg">UpdateLocation</a>&nbsp;updateLocation()</pre>
<div class="block">Create a new <a href="UpdateLocation.html" title="interface in org.apache.iceberg"><code>UpdateLocation</code></a> to update table location and commit the changes.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="UpdateLocation.html" title="interface in org.apache.iceberg"><code>UpdateLocation</code></a></dd>
</dl>
</li>
</ul>
<a id="newAppend()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newAppend</h4>
<pre class="methodSignature"><a href="AppendFiles.html" title="interface in org.apache.iceberg">AppendFiles</a>&nbsp;newAppend()</pre>
<div class="block">Create a new <a href="AppendFiles.html" title="interface in org.apache.iceberg"><code>append API</code></a> to add files to this table and commit.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="AppendFiles.html" title="interface in org.apache.iceberg"><code>AppendFiles</code></a></dd>
</dl>
</li>
</ul>
<a id="newFastAppend()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newFastAppend</h4>
<pre class="methodSignature">default&nbsp;<a href="AppendFiles.html" title="interface in org.apache.iceberg">AppendFiles</a>&nbsp;newFastAppend()</pre>
<div class="block">Create a new <a href="AppendFiles.html" title="interface in org.apache.iceberg"><code>append API</code></a> to add files to this table and commit.
<p>
Using this method signals to the underlying implementation that the append should not perform
extra work in order to commit quickly. Fast appends are not recommended for normal writes
because the fast commit may cause split planning to slow down over time.
<p>
Implementations may not support fast appends, in which case this will return the same appender
as <a href="#newAppend()"><code>newAppend()</code></a>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="AppendFiles.html" title="interface in org.apache.iceberg"><code>AppendFiles</code></a></dd>
</dl>
</li>
</ul>
<a id="newRewrite()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newRewrite</h4>
<pre class="methodSignature"><a href="RewriteFiles.html" title="interface in org.apache.iceberg">RewriteFiles</a>&nbsp;newRewrite()</pre>
<div class="block">Create a new <a href="RewriteFiles.html" title="interface in org.apache.iceberg"><code>rewrite API</code></a> to replace files in this table and commit.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="RewriteFiles.html" title="interface in org.apache.iceberg"><code>RewriteFiles</code></a></dd>
</dl>
</li>
</ul>
<a id="rewriteManifests()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rewriteManifests</h4>
<pre class="methodSignature"><a href="RewriteManifests.html" title="interface in org.apache.iceberg">RewriteManifests</a>&nbsp;rewriteManifests()</pre>
<div class="block">Create a new <a href="RewriteManifests.html" title="interface in org.apache.iceberg"><code>rewrite manifests API</code></a> to replace manifests for this
table and commit.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="RewriteManifests.html" title="interface in org.apache.iceberg"><code>RewriteManifests</code></a></dd>
</dl>
</li>
</ul>
<a id="newOverwrite()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newOverwrite</h4>
<pre class="methodSignature"><a href="OverwriteFiles.html" title="interface in org.apache.iceberg">OverwriteFiles</a>&nbsp;newOverwrite()</pre>
<div class="block">Create a new <a href="OverwriteFiles.html" title="interface in org.apache.iceberg"><code>overwrite API</code></a> to overwrite files by a filter expression.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="OverwriteFiles.html" title="interface in org.apache.iceberg"><code>OverwriteFiles</code></a></dd>
</dl>
</li>
</ul>
<a id="newRowDelta()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newRowDelta</h4>
<pre class="methodSignature"><a href="RowDelta.html" title="interface in org.apache.iceberg">RowDelta</a>&nbsp;newRowDelta()</pre>
<div class="block">Create a new <a href="RowDelta.html" title="interface in org.apache.iceberg"><code>row-level delta API</code></a> to remove or replace rows in existing data files.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="RowDelta.html" title="interface in org.apache.iceberg"><code>RowDelta</code></a></dd>
</dl>
</li>
</ul>
<a id="newReplacePartitions()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newReplacePartitions</h4>
<pre class="methodSignature"><a href="ReplacePartitions.html" title="interface in org.apache.iceberg">ReplacePartitions</a>&nbsp;newReplacePartitions()</pre>
<div class="block">Not recommended: Create a new <a href="ReplacePartitions.html" title="interface in org.apache.iceberg"><code>replace partitions API</code></a> to dynamically
overwrite partitions in the table with new data.
<p>
This is provided to implement SQL compatible with Hive table operations but is not recommended.
Instead, use the <a href="OverwriteFiles.html" title="interface in org.apache.iceberg"><code>overwrite API</code></a> to explicitly overwrite data.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="ReplacePartitions.html" title="interface in org.apache.iceberg"><code>ReplacePartitions</code></a></dd>
</dl>
</li>
</ul>
<a id="newDelete()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newDelete</h4>
<pre class="methodSignature"><a href="DeleteFiles.html" title="interface in org.apache.iceberg">DeleteFiles</a>&nbsp;newDelete()</pre>
<div class="block">Create a new <a href="DeleteFiles.html" title="interface in org.apache.iceberg"><code>delete API</code></a> to replace files in this table and commit.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="DeleteFiles.html" title="interface in org.apache.iceberg"><code>DeleteFiles</code></a></dd>
</dl>
</li>
</ul>
<a id="expireSnapshots()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>expireSnapshots</h4>
<pre class="methodSignature"><a href="ExpireSnapshots.html" title="interface in org.apache.iceberg">ExpireSnapshots</a>&nbsp;expireSnapshots()</pre>
<div class="block">Create a new <a href="ExpireSnapshots.html" title="interface in org.apache.iceberg"><code>expire API</code></a> to manage snapshots in this table and commit.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="ExpireSnapshots.html" title="interface in org.apache.iceberg"><code>ExpireSnapshots</code></a></dd>
</dl>
</li>
</ul>
<a id="rollback()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rollback</h4>
<pre class="methodSignature">@Deprecated
<a href="Rollback.html" title="interface in org.apache.iceberg">Rollback</a>&nbsp;rollback()</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Replaced by <a href="#manageSnapshots()"><code>manageSnapshots()</code></a></div>
</div>
<div class="block">Create a new <a href="Rollback.html" title="interface in org.apache.iceberg"><code>rollback API</code></a> to roll back to a previous snapshot and commit.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="Rollback.html" title="interface in org.apache.iceberg"><code>Rollback</code></a></dd>
</dl>
</li>
</ul>
<a id="manageSnapshots()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>manageSnapshots</h4>
<pre class="methodSignature"><a href="ManageSnapshots.html" title="interface in org.apache.iceberg">ManageSnapshots</a>&nbsp;manageSnapshots()</pre>
<div class="block">Create a new <a href="ManageSnapshots.html" title="interface in org.apache.iceberg"><code>manage snapshots API</code></a> to manage snapshots in this table and commit.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="ManageSnapshots.html" title="interface in org.apache.iceberg"><code>ManageSnapshots</code></a></dd>
</dl>
</li>
</ul>
<a id="newTransaction()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newTransaction</h4>
<pre class="methodSignature"><a href="Transaction.html" title="interface in org.apache.iceberg">Transaction</a>&nbsp;newTransaction()</pre>
<div class="block">Create a new <a href="Transaction.html" title="interface in org.apache.iceberg"><code>transaction API</code></a> to commit multiple table operations at once.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="Transaction.html" title="interface in org.apache.iceberg"><code>Transaction</code></a></dd>
</dl>
</li>
</ul>
<a id="io()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>io</h4>
<pre class="methodSignature"><a href="io/FileIO.html" title="interface in org.apache.iceberg.io">FileIO</a>&nbsp;io()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="io/FileIO.html" title="interface in org.apache.iceberg.io"><code>FileIO</code></a> to read and write table data and metadata files</dd>
</dl>
</li>
</ul>
<a id="encryption()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>encryption</h4>
<pre class="methodSignature"><a href="encryption/EncryptionManager.html" title="interface in org.apache.iceberg.encryption">EncryptionManager</a>&nbsp;encryption()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an <a href="encryption/EncryptionManager.html" title="interface in org.apache.iceberg.encryption"><code>EncryptionManager</code></a> to encrypt and decrypt
data files.</dd>
</dl>
</li>
</ul>
<a id="locationProvider()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>locationProvider</h4>
<pre class="methodSignature"><a href="io/LocationProvider.html" title="interface in org.apache.iceberg.io">LocationProvider</a>&nbsp;locationProvider()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="io/LocationProvider.html" title="interface in org.apache.iceberg.io"><code>LocationProvider</code></a> to provide locations for new data files</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
</footer>
</body>
</html>