blob: a474159e15f0ddf92851c9150f7bc0482b4e1383 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>HadoopTables</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="HadoopTables";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":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";
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><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&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.hadoop</a></div>
<h2 title="Class HadoopTables" class="title">Class HadoopTables</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.iceberg.hadoop.HadoopTables</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code>org.apache.hadoop.conf.Configurable</code>, <code><a href="../Tables.html" title="interface in org.apache.iceberg">Tables</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">HadoopTables</span>
extends java.lang.Object
implements <a href="../Tables.html" title="interface in org.apache.iceberg">Tables</a>, org.apache.hadoop.conf.Configurable</pre>
<div class="block">Implementation of Iceberg tables that uses the Hadoop FileSystem to store metadata and manifests.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LOCK_PROPERTY_PREFIX">LOCK_PROPERTY_PREFIX</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">HadoopTables</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.apache.hadoop.conf.Configuration)">HadoopTables</a></span>&#8203;(org.apache.hadoop.conf.Configuration&nbsp;conf)</code></th>
<td class="colLast">&nbsp;</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="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="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../catalog/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(java.lang.String,org.apache.iceberg.Schema)">buildTable</a></span>&#8203;(java.lang.String&nbsp;location,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../Table.html" title="interface in org.apache.iceberg">Table</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#create(org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,org.apache.iceberg.SortOrder,java.util.Map,java.lang.String)">create</a></span>&#8203;(<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,
<a href="../SortOrder.html" title="class in org.apache.iceberg">SortOrder</a>&nbsp;order,
java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;properties,
java.lang.String&nbsp;location)</code></th>
<td class="colLast">
<div class="block">Create a table using the FileSystem implementation resolve from location.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dropTable(java.lang.String)">dropTable</a></span>&#8203;(java.lang.String&nbsp;location)</code></th>
<td class="colLast">
<div class="block">Drop a table and delete all data and metadata files.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dropTable(java.lang.String,boolean)">dropTable</a></span>&#8203;(java.lang.String&nbsp;location,
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="i4" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#exists(java.lang.String)">exists</a></span>&#8203;(java.lang.String&nbsp;location)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>org.apache.hadoop.conf.Configuration</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getConf()">getConf</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" 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="#load(java.lang.String)">load</a></span>&#8203;(java.lang.String&nbsp;location)</code></th>
<td class="colLast">
<div class="block">Loads the table location from a FileSystem path location.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<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="#newCreateTableTransaction(java.lang.String,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,java.util.Map)">newCreateTableTransaction</a></span>&#8203;(java.lang.String&nbsp;location,
<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="i8" 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="#newReplaceTableTransaction(java.lang.String,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,java.util.Map,boolean)">newReplaceTableTransaction</a></span>&#8203;(java.lang.String&nbsp;location,
<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="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setConf(org.apache.hadoop.conf.Configuration)">setConf</a></span>&#8203;(org.apache.hadoop.conf.Configuration&nbsp;conf)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="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>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.iceberg.Tables">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.iceberg.<a href="../Tables.html" title="interface in org.apache.iceberg">Tables</a></h3>
<code><a href="../Tables.html#create(org.apache.iceberg.Schema,java.lang.String)">create</a>, <a href="../Tables.html#create(org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,java.lang.String)">create</a>, <a href="../Tables.html#create(org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,java.util.Map,java.lang.String)">create</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="LOCK_PROPERTY_PREFIX">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>LOCK_PROPERTY_PREFIX</h4>
<pre>public static final&nbsp;java.lang.String LOCK_PROPERTY_PREFIX</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.iceberg.hadoop.HadoopTables.LOCK_PROPERTY_PREFIX">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HadoopTables</h4>
<pre>public&nbsp;HadoopTables()</pre>
</li>
</ul>
<a id="&lt;init&gt;(org.apache.hadoop.conf.Configuration)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>HadoopTables</h4>
<pre>public&nbsp;HadoopTables&#8203;(org.apache.hadoop.conf.Configuration&nbsp;conf)</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="load(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>load</h4>
<pre class="methodSignature">public&nbsp;<a href="../Table.html" title="interface in org.apache.iceberg">Table</a>&nbsp;load&#8203;(java.lang.String&nbsp;location)</pre>
<div class="block">Loads the table location from a FileSystem path location.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../Tables.html#load(java.lang.String)">load</a></code>&nbsp;in interface&nbsp;<code><a href="../Tables.html" title="interface in org.apache.iceberg">Tables</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>location</code> - a path URI (e.g. hdfs:///warehouse/my_table/)</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>table implementation</dd>
</dl>
</li>
</ul>
<a id="exists(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exists</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;exists&#8203;(java.lang.String&nbsp;location)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../Tables.html#exists(java.lang.String)">exists</a></code>&nbsp;in interface&nbsp;<code><a href="../Tables.html" title="interface in org.apache.iceberg">Tables</a></code></dd>
</dl>
</li>
</ul>
<a id="create(org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,org.apache.iceberg.SortOrder,java.util.Map,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>create</h4>
<pre class="methodSignature">public&nbsp;<a href="../Table.html" title="interface in org.apache.iceberg">Table</a>&nbsp;create&#8203;(<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,
<a href="../SortOrder.html" title="class in org.apache.iceberg">SortOrder</a>&nbsp;order,
java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;properties,
java.lang.String&nbsp;location)</pre>
<div class="block">Create a table using the FileSystem implementation resolve from location.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../Tables.html#create(org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,org.apache.iceberg.SortOrder,java.util.Map,java.lang.String)">create</a></code>&nbsp;in interface&nbsp;<code><a href="../Tables.html" title="interface in org.apache.iceberg">Tables</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>schema</code> - iceberg schema used to create the table</dd>
<dd><code>spec</code> - partitioning spec, if null the table will be unpartitioned</dd>
<dd><code>properties</code> - a string map of table properties, initialized to empty if null</dd>
<dd><code>location</code> - a path URI (e.g. hdfs:///warehouse/my_table)</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>newly created table implementation</dd>
</dl>
</li>
</ul>
<a id="dropTable(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropTable</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;dropTable&#8203;(java.lang.String&nbsp;location)</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>location</code> - a path URI (e.g. hdfs:///warehouse/my_table)</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the table was dropped, false if it did not exist</dd>
</dl>
</li>
</ul>
<a id="dropTable(java.lang.String,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropTable</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;dropTable&#8203;(java.lang.String&nbsp;location,
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>location</code> - a path URI (e.g. hdfs:///warehouse/my_table)</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 it did not exist</dd>
</dl>
</li>
</ul>
<a id="newCreateTableTransaction(java.lang.String,org.apache.iceberg.Schema,org.apache.iceberg.PartitionSpec,java.util.Map)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newCreateTableTransaction</h4>
<pre class="methodSignature">public&nbsp;<a href="../Transaction.html" title="interface in org.apache.iceberg">Transaction</a>&nbsp;newCreateTableTransaction&#8203;(java.lang.String&nbsp;location,
<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>location</code> - a location for the table</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="newReplaceTableTransaction(java.lang.String,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">public&nbsp;<a href="../Transaction.html" title="interface in org.apache.iceberg">Transaction</a>&nbsp;newReplaceTableTransaction&#8203;(java.lang.String&nbsp;location,
<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>location</code> - a location for the table</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="buildTable(java.lang.String,org.apache.iceberg.Schema)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>buildTable</h4>
<pre class="methodSignature">public&nbsp;<a href="../catalog/Catalog.TableBuilder.html" title="interface in org.apache.iceberg.catalog">Catalog.TableBuilder</a>&nbsp;buildTable&#8203;(java.lang.String&nbsp;location,
<a href="../Schema.html" title="class in org.apache.iceberg">Schema</a>&nbsp;schema)</pre>
</li>
</ul>
<a id="setConf(org.apache.hadoop.conf.Configuration)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setConf</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setConf&#8203;(org.apache.hadoop.conf.Configuration&nbsp;conf)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>setConf</code>&nbsp;in interface&nbsp;<code>org.apache.hadoop.conf.Configurable</code></dd>
</dl>
</li>
</ul>
<a id="getConf()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getConf</h4>
<pre class="methodSignature">public&nbsp;org.apache.hadoop.conf.Configuration&nbsp;getConf()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getConf</code>&nbsp;in interface&nbsp;<code>org.apache.hadoop.conf.Configurable</code></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><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&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>