blob: 70f5749900812f96fbdd1d7b981ec40e4f64c1e6 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Catalog</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Catalog";
}
}
catch(err) {
}
//-->
var data = {"i0":18,"i1":18,"i2":18,"i3":18,"i4":18,"i5":18,"i6":6,"i7":18,"i8":18,"i9":6,"i10":6,"i11":18,"i12":18,"i13":18,"i14":18,"i15":18,"i16":18,"i17":18,"i18":18,"i19":18,"i20":18,"i21":6,"i22":18};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&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.catalog</a></div>
<h2 title="Interface Catalog" class="title">Interface Catalog</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="../BaseMetastoreCatalog.html" title="class in org.apache.iceberg">BaseMetastoreCatalog</a></code>, <code><a href="BaseSessionCatalog.AsCatalog.html" title="class in org.apache.iceberg.catalog">BaseSessionCatalog.AsCatalog</a></code>, <code><a href="../CachingCatalog.html" title="class in org.apache.iceberg">CachingCatalog</a></code>, <code><a href="../aws/dynamodb/DynamoDbCatalog.html" title="class in org.apache.iceberg.aws.dynamodb">DynamoDbCatalog</a></code>, <code><a href="../dell/ecs/EcsCatalog.html" title="class in org.apache.iceberg.dell.ecs">EcsCatalog</a></code>, <code><a href="../aws/glue/GlueCatalog.html" title="class in org.apache.iceberg.aws.glue">GlueCatalog</a></code>, <code><a href="../hadoop/HadoopCatalog.html" title="class in org.apache.iceberg.hadoop">HadoopCatalog</a></code>, <code><a href="../hive/HiveCatalog.html" title="class in org.apache.iceberg.hive">HiveCatalog</a></code>, <code><a href="../jdbc/JdbcCatalog.html" title="class in org.apache.iceberg.jdbc">JdbcCatalog</a></code>, <code><a href="../nessie/NessieCatalog.html" title="class in org.apache.iceberg.nessie">NessieCatalog</a></code>, <code><a href="../rest/RESTCatalog.html" title="class in org.apache.iceberg.rest">RESTCatalog</a></code></dd>
</dl>
<hr>
<pre>public interface <span class="typeNameLabel">Catalog</span></pre>
<div class="block">A Catalog API for table create, drop, and load operations.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Interface</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Catalog.TableBuilder.html" title="interface in org.apache.iceberg.catalog">Catalog.TableBuilder</a></span></code></th>
<td class="colLast">
<div class="block">A builder used to create valid <a href="../Table.html" title="interface in org.apache.iceberg"><code>tables</code></a> or start create/replace <a href="../Transaction.html" title="interface in org.apache.iceberg"><code>transactions</code></a>.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>default <a href="Catalog.TableBuilder.html" title="interface in org.apache.iceberg.catalog">Catalog.TableBuilder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#buildTable(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema)">buildTable</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema)</code></th>
<td class="colLast">
<div class="block">/**
Instantiate a builder to either create a table or start a create/replace transaction.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>default <a href="../Table.html" title="interface in org.apache.iceberg">Table</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTable(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema)">createTable</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema)</code></th>
<td class="colLast">
<div class="block">Create an unpartitioned table.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>default <a href="../Table.html" title="interface in org.apache.iceberg">Table</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTable(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec)">createTable</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
<a href="../PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec)</code></th>
<td class="colLast">
<div class="block">Create a table.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>default <a href="../Table.html" title="interface in org.apache.iceberg">Table</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTable(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,java.lang.String,java.util.Map)">createTable</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
<a href="../PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec,
java.lang.String&nbsp;location,
java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;properties)</code></th>
<td class="colLast">
<div class="block">Create a table.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>default <a href="../Table.html" title="interface in org.apache.iceberg">Table</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTable(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,java.util.Map)">createTable</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
<a href="../PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec,
java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;properties)</code></th>
<td class="colLast">
<div class="block">Create a table.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>default boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dropTable(org.apache.iceberg.catalog.TableIdentifier)">dropTable</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier)</code></th>
<td class="colLast">
<div class="block">Drop a table and delete all data and metadata files.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dropTable(org.apache.iceberg.catalog.TableIdentifier,boolean)">dropTable</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
boolean&nbsp;purge)</code></th>
<td class="colLast">
<div class="block">Drop a table; optionally delete data and metadata files.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#initialize(java.lang.String,java.util.Map)">initialize</a></span>&#8203;(java.lang.String&nbsp;name,
java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;properties)</code></th>
<td class="colLast">
<div class="block">Initialize a catalog given a custom name and a map of catalog properties.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#invalidateTable(org.apache.iceberg.catalog.TableIdentifier)">invalidateTable</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier)</code></th>
<td class="colLast">
<div class="block">Invalidate cached table metadata from current catalog.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#listTables(org.apache.iceberg.catalog.Namespace)">listTables</a></span>&#8203;(<a href="Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a>&nbsp;namespace)</code></th>
<td class="colLast">
<div class="block">Return all the identifiers under this namespace.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../Table.html" title="interface in org.apache.iceberg">Table</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#loadTable(org.apache.iceberg.catalog.TableIdentifier)">loadTable</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier)</code></th>
<td class="colLast">
<div class="block">Load a table.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>default java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#name()">name</a></span>()</code></th>
<td class="colLast">
<div class="block">Return the name for this catalog.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>default <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="#newCreateTableTransaction(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema)">newCreateTableTransaction</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema)</code></th>
<td class="colLast">
<div class="block">Start a transaction to create a table.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>default <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="#newCreateTableTransaction(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec)">newCreateTableTransaction</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
<a href="../PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec)</code></th>
<td class="colLast">
<div class="block">Start a transaction to create a table.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>default <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="#newCreateTableTransaction(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,java.lang.String,java.util.Map)">newCreateTableTransaction</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
<a href="../PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec,
java.lang.String&nbsp;location,
java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;properties)</code></th>
<td class="colLast">
<div class="block">Start a transaction to create a table.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>default <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="#newCreateTableTransaction(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,java.util.Map)">newCreateTableTransaction</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
<a href="../PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec,
java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;properties)</code></th>
<td class="colLast">
<div class="block">Start a transaction to create a table.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>default <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="#newReplaceTableTransaction(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,boolean)">newReplaceTableTransaction</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
boolean&nbsp;orCreate)</code></th>
<td class="colLast">
<div class="block">Start a transaction to replace a table.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>default <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="#newReplaceTableTransaction(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,boolean)">newReplaceTableTransaction</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
<a href="../PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec,
boolean&nbsp;orCreate)</code></th>
<td class="colLast">
<div class="block">Start a transaction to replace a table.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>default <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="#newReplaceTableTransaction(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,java.lang.String,java.util.Map,boolean)">newReplaceTableTransaction</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
<a href="../PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec,
java.lang.String&nbsp;location,
java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;properties,
boolean&nbsp;orCreate)</code></th>
<td class="colLast">
<div class="block">Start a transaction to replace a table.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>default <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="#newReplaceTableTransaction(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,java.util.Map,boolean)">newReplaceTableTransaction</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
<a href="../PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec,
java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;properties,
boolean&nbsp;orCreate)</code></th>
<td class="colLast">
<div class="block">Start a transaction to replace a table.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>default <a href="../Table.html" title="interface in org.apache.iceberg">Table</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#registerTable(org.apache.iceberg.catalog.TableIdentifier,java.lang.String)">registerTable</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
java.lang.String&nbsp;metadataFileLocation)</code></th>
<td class="colLast">
<div class="block">Register a table with the catalog if it does not exist.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#renameTable(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.catalog.TableIdentifier)">renameTable</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;from,
<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;to)</code></th>
<td class="colLast">
<div class="block">Rename a table.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>default boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#tableExists(org.apache.iceberg.catalog.TableIdentifier)">tableExists</a></span>&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier)</code></th>
<td class="colLast">
<div class="block">Check whether table exists.</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="name()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>name</h4>
<pre class="methodSignature">default&nbsp;java.lang.String&nbsp;name()</pre>
<div class="block">Return the name for this catalog.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this catalog's name</dd>
</dl>
</li>
</ul>
<a id="listTables(org.apache.iceberg.catalog.Namespace)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listTables</h4>
<pre class="methodSignature">java.util.List&lt;<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&gt;&nbsp;listTables&#8203;(<a href="Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a>&nbsp;namespace)</pre>
<div class="block">Return all the identifiers under this namespace.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>namespace</code> - a namespace</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a list of identifiers for tables</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../exceptions/NotFoundException.html" title="class in org.apache.iceberg.exceptions">NotFoundException</a></code> - if the namespace is not found</dd>
</dl>
</li>
</ul>
<a id="createTable(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,java.lang.String,java.util.Map)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTable</h4>
<pre class="methodSignature">default&nbsp;<a href="../Table.html" title="interface in org.apache.iceberg">Table</a>&nbsp;createTable&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
<a href="../PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec,
java.lang.String&nbsp;location,
java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;properties)</pre>
<div class="block">Create a table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>identifier</code> - a table identifier</dd>
<dd><code>schema</code> - a schema</dd>
<dd><code>spec</code> - a partition spec</dd>
<dd><code>location</code> - a location for the table; leave null if unspecified</dd>
<dd><code>properties</code> - a string map of table properties</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a Table instance</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../exceptions/AlreadyExistsException.html" title="class in org.apache.iceberg.exceptions">AlreadyExistsException</a></code> - if the table already exists</dd>
</dl>
</li>
</ul>
<a id="createTable(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,java.util.Map)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTable</h4>
<pre class="methodSignature">default&nbsp;<a href="../Table.html" title="interface in org.apache.iceberg">Table</a>&nbsp;createTable&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
<a href="../PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec,
java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;properties)</pre>
<div class="block">Create a table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>identifier</code> - a table identifier</dd>
<dd><code>schema</code> - a schema</dd>
<dd><code>spec</code> - a partition spec</dd>
<dd><code>properties</code> - a string map of table properties</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a Table instance</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../exceptions/AlreadyExistsException.html" title="class in org.apache.iceberg.exceptions">AlreadyExistsException</a></code> - if the table already exists</dd>
</dl>
</li>
</ul>
<a id="createTable(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTable</h4>
<pre class="methodSignature">default&nbsp;<a href="../Table.html" title="interface in org.apache.iceberg">Table</a>&nbsp;createTable&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
<a href="../PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec)</pre>
<div class="block">Create a table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>identifier</code> - a table identifier</dd>
<dd><code>schema</code> - a schema</dd>
<dd><code>spec</code> - a partition spec</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a Table instance</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../exceptions/AlreadyExistsException.html" title="class in org.apache.iceberg.exceptions">AlreadyExistsException</a></code> - if the table already exists</dd>
</dl>
</li>
</ul>
<a id="createTable(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTable</h4>
<pre class="methodSignature">default&nbsp;<a href="../Table.html" title="interface in org.apache.iceberg">Table</a>&nbsp;createTable&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema)</pre>
<div class="block">Create an unpartitioned table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>identifier</code> - a table identifier</dd>
<dd><code>schema</code> - a schema</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a Table instance</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../exceptions/AlreadyExistsException.html" title="class in org.apache.iceberg.exceptions">AlreadyExistsException</a></code> - if the table already exists</dd>
</dl>
</li>
</ul>
<a id="newCreateTableTransaction(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,java.lang.String,java.util.Map)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newCreateTableTransaction</h4>
<pre class="methodSignature">default&nbsp;<a href="../Transaction.html" title="interface in org.apache.iceberg">Transaction</a>&nbsp;newCreateTableTransaction&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
<a href="../PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec,
java.lang.String&nbsp;location,
java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;properties)</pre>
<div class="block">Start a transaction to create a table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>identifier</code> - a table identifier</dd>
<dd><code>schema</code> - a schema</dd>
<dd><code>spec</code> - a partition spec</dd>
<dd><code>location</code> - a location for the table; leave null if unspecified</dd>
<dd><code>properties</code> - a string map of table properties</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="../Transaction.html" title="interface in org.apache.iceberg"><code>Transaction</code></a> to create the table</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../exceptions/AlreadyExistsException.html" title="class in org.apache.iceberg.exceptions">AlreadyExistsException</a></code> - if the table already exists</dd>
</dl>
</li>
</ul>
<a id="newCreateTableTransaction(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,java.util.Map)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newCreateTableTransaction</h4>
<pre class="methodSignature">default&nbsp;<a href="../Transaction.html" title="interface in org.apache.iceberg">Transaction</a>&nbsp;newCreateTableTransaction&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
<a href="../PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec,
java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;properties)</pre>
<div class="block">Start a transaction to create a table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>identifier</code> - a table identifier</dd>
<dd><code>schema</code> - a schema</dd>
<dd><code>spec</code> - a partition spec</dd>
<dd><code>properties</code> - a string map of table properties</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="../Transaction.html" title="interface in org.apache.iceberg"><code>Transaction</code></a> to create the table</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../exceptions/AlreadyExistsException.html" title="class in org.apache.iceberg.exceptions">AlreadyExistsException</a></code> - if the table already exists</dd>
</dl>
</li>
</ul>
<a id="newCreateTableTransaction(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newCreateTableTransaction</h4>
<pre class="methodSignature">default&nbsp;<a href="../Transaction.html" title="interface in org.apache.iceberg">Transaction</a>&nbsp;newCreateTableTransaction&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
<a href="../PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec)</pre>
<div class="block">Start a transaction to create a table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>identifier</code> - a table identifier</dd>
<dd><code>schema</code> - a schema</dd>
<dd><code>spec</code> - a partition spec</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="../Transaction.html" title="interface in org.apache.iceberg"><code>Transaction</code></a> to create the table</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../exceptions/AlreadyExistsException.html" title="class in org.apache.iceberg.exceptions">AlreadyExistsException</a></code> - if the table already exists</dd>
</dl>
</li>
</ul>
<a id="newCreateTableTransaction(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newCreateTableTransaction</h4>
<pre class="methodSignature">default&nbsp;<a href="../Transaction.html" title="interface in org.apache.iceberg">Transaction</a>&nbsp;newCreateTableTransaction&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema)</pre>
<div class="block">Start a transaction to create a table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>identifier</code> - a table identifier</dd>
<dd><code>schema</code> - a schema</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="../Transaction.html" title="interface in org.apache.iceberg"><code>Transaction</code></a> to create the table</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../exceptions/AlreadyExistsException.html" title="class in org.apache.iceberg.exceptions">AlreadyExistsException</a></code> - if the table already exists</dd>
</dl>
</li>
</ul>
<a id="newReplaceTableTransaction(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,java.lang.String,java.util.Map,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newReplaceTableTransaction</h4>
<pre class="methodSignature">default&nbsp;<a href="../Transaction.html" title="interface in org.apache.iceberg">Transaction</a>&nbsp;newReplaceTableTransaction&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
<a href="../PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec,
java.lang.String&nbsp;location,
java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;properties,
boolean&nbsp;orCreate)</pre>
<div class="block">Start a transaction to replace a table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>identifier</code> - a table identifier</dd>
<dd><code>schema</code> - a schema</dd>
<dd><code>spec</code> - a partition spec</dd>
<dd><code>location</code> - a location for the table; leave null if unspecified</dd>
<dd><code>properties</code> - a string map of table properties</dd>
<dd><code>orCreate</code> - whether to create the table if not exists</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="../Transaction.html" title="interface in org.apache.iceberg"><code>Transaction</code></a> to replace the table</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../exceptions/NoSuchTableException.html" title="class in org.apache.iceberg.exceptions">NoSuchTableException</a></code> - if the table doesn't exist and orCreate is false</dd>
</dl>
</li>
</ul>
<a id="newReplaceTableTransaction(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,java.util.Map,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newReplaceTableTransaction</h4>
<pre class="methodSignature">default&nbsp;<a href="../Transaction.html" title="interface in org.apache.iceberg">Transaction</a>&nbsp;newReplaceTableTransaction&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
<a href="../PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec,
java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;properties,
boolean&nbsp;orCreate)</pre>
<div class="block">Start a transaction to replace a table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>identifier</code> - a table identifier</dd>
<dd><code>schema</code> - a schema</dd>
<dd><code>spec</code> - a partition spec</dd>
<dd><code>properties</code> - a string map of table properties</dd>
<dd><code>orCreate</code> - whether to create the table if not exists</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="../Transaction.html" title="interface in org.apache.iceberg"><code>Transaction</code></a> to replace the table</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../exceptions/NoSuchTableException.html" title="class in org.apache.iceberg.exceptions">NoSuchTableException</a></code> - if the table doesn't exist and orCreate is false</dd>
</dl>
</li>
</ul>
<a id="newReplaceTableTransaction(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newReplaceTableTransaction</h4>
<pre class="methodSignature">default&nbsp;<a href="../Transaction.html" title="interface in org.apache.iceberg">Transaction</a>&nbsp;newReplaceTableTransaction&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
<a href="../PartitionSpec.html" title="class in org.apache.iceberg">PartitionSpec</a>&nbsp;spec,
boolean&nbsp;orCreate)</pre>
<div class="block">Start a transaction to replace a table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>identifier</code> - a table identifier</dd>
<dd><code>schema</code> - a schema</dd>
<dd><code>spec</code> - a partition spec</dd>
<dd><code>orCreate</code> - whether to create the table if not exists</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="../Transaction.html" title="interface in org.apache.iceberg"><code>Transaction</code></a> to replace the table</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../exceptions/NoSuchTableException.html" title="class in org.apache.iceberg.exceptions">NoSuchTableException</a></code> - if the table doesn't exist and orCreate is false</dd>
</dl>
</li>
</ul>
<a id="newReplaceTableTransaction(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newReplaceTableTransaction</h4>
<pre class="methodSignature">default&nbsp;<a href="../Transaction.html" title="interface in org.apache.iceberg">Transaction</a>&nbsp;newReplaceTableTransaction&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema,
boolean&nbsp;orCreate)</pre>
<div class="block">Start a transaction to replace a table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>identifier</code> - a table identifier</dd>
<dd><code>schema</code> - a schema</dd>
<dd><code>orCreate</code> - whether to create the table if not exists</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="../Transaction.html" title="interface in org.apache.iceberg"><code>Transaction</code></a> to replace the table</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../exceptions/NoSuchTableException.html" title="class in org.apache.iceberg.exceptions">NoSuchTableException</a></code> - if the table doesn't exist and orCreate is false</dd>
</dl>
</li>
</ul>
<a id="tableExists(org.apache.iceberg.catalog.TableIdentifier)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tableExists</h4>
<pre class="methodSignature">default&nbsp;boolean&nbsp;tableExists&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier)</pre>
<div class="block">Check whether table exists.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>identifier</code> - a table identifier</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the table exists, false otherwise</dd>
</dl>
</li>
</ul>
<a id="dropTable(org.apache.iceberg.catalog.TableIdentifier)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropTable</h4>
<pre class="methodSignature">default&nbsp;boolean&nbsp;dropTable&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier)</pre>
<div class="block">Drop a table and delete all data and metadata files.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>identifier</code> - a table identifier</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the table was dropped, false if the table did not exist</dd>
</dl>
</li>
</ul>
<a id="dropTable(org.apache.iceberg.catalog.TableIdentifier,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropTable</h4>
<pre class="methodSignature">boolean&nbsp;dropTable&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
boolean&nbsp;purge)</pre>
<div class="block">Drop a table; optionally delete data and metadata files.
<p>
If purge is set to true the implementation should delete all data and metadata files.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>identifier</code> - a table identifier</dd>
<dd><code>purge</code> - if true, delete all data and metadata files in the table</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the table was dropped, false if the table did not exist</dd>
</dl>
</li>
</ul>
<a id="renameTable(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.catalog.TableIdentifier)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>renameTable</h4>
<pre class="methodSignature">void&nbsp;renameTable&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;from,
<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;to)</pre>
<div class="block">Rename a table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>from</code> - identifier of the table to rename</dd>
<dd><code>to</code> - new table name</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../exceptions/NoSuchTableException.html" title="class in org.apache.iceberg.exceptions">NoSuchTableException</a></code> - if the from table does not exist</dd>
<dd><code><a href="../exceptions/AlreadyExistsException.html" title="class in org.apache.iceberg.exceptions">AlreadyExistsException</a></code> - if the to table already exists</dd>
</dl>
</li>
</ul>
<a id="loadTable(org.apache.iceberg.catalog.TableIdentifier)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loadTable</h4>
<pre class="methodSignature"><a href="../Table.html" title="interface in org.apache.iceberg">Table</a>&nbsp;loadTable&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier)</pre>
<div class="block">Load a table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>identifier</code> - a table identifier</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>instance of <a href="../Table.html" title="interface in org.apache.iceberg"><code>Table</code></a> implementation referred by <code>tableIdentifier</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../exceptions/NoSuchTableException.html" title="class in org.apache.iceberg.exceptions">NoSuchTableException</a></code> - if the table does not exist</dd>
</dl>
</li>
</ul>
<a id="invalidateTable(org.apache.iceberg.catalog.TableIdentifier)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>invalidateTable</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;invalidateTable&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier)</pre>
<div class="block">Invalidate cached table metadata from current catalog.
<p>
If the table is already loaded or cached, drop cached data. If the table does not exist or is
not cached, do nothing.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>identifier</code> - a table identifier</dd>
</dl>
</li>
</ul>
<a id="registerTable(org.apache.iceberg.catalog.TableIdentifier,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>registerTable</h4>
<pre class="methodSignature">default&nbsp;<a href="../Table.html" title="interface in org.apache.iceberg">Table</a>&nbsp;registerTable&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
java.lang.String&nbsp;metadataFileLocation)</pre>
<div class="block">Register a table with the catalog if it does not exist.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>identifier</code> - a table identifier</dd>
<dd><code>metadataFileLocation</code> - the location of a metadata file</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a Table instance</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../exceptions/AlreadyExistsException.html" title="class in org.apache.iceberg.exceptions">AlreadyExistsException</a></code> - if the table already exists in the catalog.</dd>
</dl>
</li>
</ul>
<a id="buildTable(org.apache.iceberg.catalog.TableIdentifier,org.apache.iceberg.Schema)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>buildTable</h4>
<pre class="methodSignature">default&nbsp;<a href="Catalog.TableBuilder.html" title="interface in org.apache.iceberg.catalog">Catalog.TableBuilder</a>&nbsp;buildTable&#8203;(<a href="TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>&nbsp;identifier,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema)</pre>
<div class="block">/**
Instantiate a builder to either create a table or start a create/replace transaction.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>identifier</code> - a table identifier</dd>
<dd><code>schema</code> - a schema</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the builder to create a table or start a create/replace transaction</dd>
</dl>
</li>
</ul>
<a id="initialize(java.lang.String,java.util.Map)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>initialize</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;initialize&#8203;(java.lang.String&nbsp;name,
java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;properties)</pre>
<div class="block">Initialize a catalog given a custom name and a map of catalog properties.
<p>
A custom Catalog implementation must have a no-arg constructor.
A compute engine like Spark or Flink will first initialize the catalog without any arguments,
and then call this method to complete catalog initialization with properties passed into the engine.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - a custom name for the catalog</dd>
<dd><code>properties</code> - catalog properties</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><a href="#nested.class.summary">Nested</a>&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>