| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>SessionCatalog</title> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="SessionCatalog"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":6,"i1":18,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":18,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":18,"i14":6,"i15":6,"i16":6,"i17":6,"i18":18,"i19":6}; |
| 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"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/iceberg/catalog/SessionCatalog.html" target="_top">Frames</a></li> |
| <li><a href="SessionCatalog.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.iceberg.catalog</div> |
| <h2 title="Interface SessionCatalog" class="title">Interface SessionCatalog</h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Known Implementing Classes:</dt> |
| <dd><a href="../../../../org/apache/iceberg/catalog/BaseSessionCatalog.html" title="class in org.apache.iceberg.catalog">BaseSessionCatalog</a>, <a href="../../../../org/apache/iceberg/rest/RESTSessionCatalog.html" title="class in org.apache.iceberg.rest">RESTSessionCatalog</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public interface <span class="typeNameLabel">SessionCatalog</span></pre> |
| <div class="block">A Catalog API for table and namespace operations that includes session context.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Interface and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a></span></code> |
| <div class="block">Context for a session.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/iceberg/catalog/Catalog.TableBuilder.html" title="interface in org.apache.iceberg.catalog">Catalog.TableBuilder</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#buildTable-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.TableIdentifier-org.apache.iceberg.Schema-">buildTable</a></span>(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a> ident, |
| <a href="../../../../org/apache/iceberg/Schema.html" title="class in org.apache.iceberg">Schema</a> schema)</code> |
| <div class="block">Create a builder to create a table or start a create/replace transaction.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>default void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#createNamespace-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.Namespace-">createNamespace</a></span>(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a> namespace)</code> |
| <div class="block">Create a namespace in the catalog.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#createNamespace-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.Namespace-java.util.Map-">createNamespace</a></span>(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a> namespace, |
| java.util.Map<java.lang.String,java.lang.String> metadata)</code> |
| <div class="block">Create a namespace in the catalog.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#dropNamespace-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.Namespace-">dropNamespace</a></span>(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a> namespace)</code> |
| <div class="block">Drop a namespace.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#dropTable-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.TableIdentifier-">dropTable</a></span>(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a> ident)</code> |
| <div class="block">Drop a table, without requesting that files are immediately deleted.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#initialize-java.lang.String-java.util.Map-">initialize</a></span>(java.lang.String name, |
| java.util.Map<java.lang.String,java.lang.String> properties)</code> |
| <div class="block">Initialize given a custom name and a map of catalog properties.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#invalidateTable-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.TableIdentifier-">invalidateTable</a></span>(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a> ident)</code> |
| <div class="block">Invalidate cached table metadata from current catalog.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>default java.util.List<<a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#listNamespaces-org.apache.iceberg.catalog.SessionCatalog.SessionContext-">listNamespaces</a></span>(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context)</code> |
| <div class="block">List top-level namespaces from the catalog.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>java.util.List<<a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#listNamespaces-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.Namespace-">listNamespaces</a></span>(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a> namespace)</code> |
| <div class="block">List namespaces from the namespace.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>java.util.List<<a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#listTables-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.Namespace-">listTables</a></span>(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a> namespace)</code> |
| <div class="block">Return all the identifiers under this namespace.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>java.util.Map<java.lang.String,java.lang.String></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#loadNamespaceMetadata-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.Namespace-">loadNamespaceMetadata</a></span>(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a> namespace)</code> |
| <div class="block">Load metadata properties for a namespace.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/iceberg/Table.html" title="interface in org.apache.iceberg">Table</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#loadTable-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.TableIdentifier-">loadTable</a></span>(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a> ident)</code> |
| <div class="block">Load a table.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#name--">name</a></span>()</code> |
| <div class="block">Return the name for this catalog.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#namespaceExists-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.Namespace-">namespaceExists</a></span>(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a> namespace)</code> |
| <div class="block">Checks whether the Namespace exists.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>java.util.Map<java.lang.String,java.lang.String></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#properties--">properties</a></span>()</code> |
| <div class="block">Return the properties for this catalog.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#purgeTable-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.TableIdentifier-">purgeTable</a></span>(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a> ident)</code> |
| <div class="block">Drop a table and request that files are immediately deleted.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/iceberg/Table.html" title="interface in org.apache.iceberg">Table</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#registerTable-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.TableIdentifier-java.lang.String-">registerTable</a></span>(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a> ident, |
| java.lang.String metadataFileLocation)</code> |
| <div class="block">Register a table if it does not exist.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#renameTable-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.TableIdentifier-org.apache.iceberg.catalog.TableIdentifier-">renameTable</a></span>(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a> from, |
| <a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a> to)</code> |
| <div class="block">Rename a table.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#tableExists-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.TableIdentifier-">tableExists</a></span>(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a> ident)</code> |
| <div class="block">Check whether table exists.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.html#updateNamespaceMetadata-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.Namespace-java.util.Map-java.util.Set-">updateNamespaceMetadata</a></span>(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a> namespace, |
| java.util.Map<java.lang.String,java.lang.String> updates, |
| java.util.Set<java.lang.String> removals)</code> |
| <div class="block">Set a collection of properties on a namespace in the catalog.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="initialize-java.lang.String-java.util.Map-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>initialize</h4> |
| <pre>void initialize(java.lang.String name, |
| java.util.Map<java.lang.String,java.lang.String> properties)</pre> |
| <div class="block">Initialize given a custom name and a map of catalog properties.</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> |
| <a name="name--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>name</h4> |
| <pre>java.lang.String 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 name="properties--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>properties</h4> |
| <pre>java.util.Map<java.lang.String,java.lang.String> properties()</pre> |
| <div class="block">Return the properties for this catalog.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this catalog's config properties</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="listTables-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.Namespace-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>listTables</h4> |
| <pre>java.util.List<<a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a>> listTables(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a> namespace)</pre> |
| <div class="block">Return all the identifiers under this namespace.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - session context</dd> |
| <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="../../../../org/apache/iceberg/exceptions/NoSuchNamespaceException.html" title="class in org.apache.iceberg.exceptions">NoSuchNamespaceException</a></code> - if the namespace does not exist</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="buildTable-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.TableIdentifier-org.apache.iceberg.Schema-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildTable</h4> |
| <pre><a href="../../../../org/apache/iceberg/catalog/Catalog.TableBuilder.html" title="interface in org.apache.iceberg.catalog">Catalog.TableBuilder</a> buildTable(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a> ident, |
| <a href="../../../../org/apache/iceberg/Schema.html" title="class in org.apache.iceberg">Schema</a> schema)</pre> |
| <div class="block">Create a builder to create a table or start a create/replace transaction.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - session context</dd> |
| <dd><code>ident</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 name="registerTable-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.TableIdentifier-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>registerTable</h4> |
| <pre><a href="../../../../org/apache/iceberg/Table.html" title="interface in org.apache.iceberg">Table</a> registerTable(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a> ident, |
| java.lang.String metadataFileLocation)</pre> |
| <div class="block">Register a table if it does not exist.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - session context</dd> |
| <dd><code>ident</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="../../../../org/apache/iceberg/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 name="tableExists-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.TableIdentifier-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>tableExists</h4> |
| <pre>default boolean tableExists(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a> ident)</pre> |
| <div class="block">Check whether table exists.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - session context</dd> |
| <dd><code>ident</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 name="loadTable-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.TableIdentifier-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>loadTable</h4> |
| <pre><a href="../../../../org/apache/iceberg/Table.html" title="interface in org.apache.iceberg">Table</a> loadTable(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a> ident)</pre> |
| <div class="block">Load a table.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - session context</dd> |
| <dd><code>ident</code> - a table identifier</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>instance of <a href="../../../../org/apache/iceberg/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="../../../../org/apache/iceberg/exceptions/NoSuchTableException.html" title="class in org.apache.iceberg.exceptions">NoSuchTableException</a></code> - if the table does not exist</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dropTable-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.TableIdentifier-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dropTable</h4> |
| <pre>boolean dropTable(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a> ident)</pre> |
| <div class="block">Drop a table, without requesting that files are immediately deleted. |
| |
| <p>Data and metadata files should be deleted according to the catalog's policy.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - session context</dd> |
| <dd><code>ident</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 name="purgeTable-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.TableIdentifier-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>purgeTable</h4> |
| <pre>boolean purgeTable(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a> ident)</pre> |
| <div class="block">Drop a table and request that files are immediately deleted.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - session context</dd> |
| <dd><code>ident</code> - a table identifier</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the table was dropped and purged, false if the table did not exist</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.UnsupportedOperationException</code> - if immediate delete is not supported</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="renameTable-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.TableIdentifier-org.apache.iceberg.catalog.TableIdentifier-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>renameTable</h4> |
| <pre>void renameTable(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a> from, |
| <a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a> to)</pre> |
| <div class="block">Rename a table.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - session context</dd> |
| <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="../../../../org/apache/iceberg/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="../../../../org/apache/iceberg/exceptions/AlreadyExistsException.html" title="class in org.apache.iceberg.exceptions">AlreadyExistsException</a></code> - if the to table already exists</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="invalidateTable-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.TableIdentifier-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>invalidateTable</h4> |
| <pre>void invalidateTable(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/TableIdentifier.html" title="class in org.apache.iceberg.catalog">TableIdentifier</a> ident)</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>context</code> - session context</dd> |
| <dd><code>ident</code> - a table identifier</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createNamespace-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.Namespace-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createNamespace</h4> |
| <pre>default void createNamespace(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a> namespace)</pre> |
| <div class="block">Create a namespace in the catalog.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - session context</dd> |
| <dd><code>namespace</code> - a <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog"><code>namespace</code></a></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/iceberg/exceptions/AlreadyExistsException.html" title="class in org.apache.iceberg.exceptions">AlreadyExistsException</a></code> - If the namespace already exists</dd> |
| <dd><code>java.lang.UnsupportedOperationException</code> - If create is not a supported operation</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createNamespace-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.Namespace-java.util.Map-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createNamespace</h4> |
| <pre>void createNamespace(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a> namespace, |
| java.util.Map<java.lang.String,java.lang.String> metadata)</pre> |
| <div class="block">Create a namespace in the catalog.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - session context</dd> |
| <dd><code>namespace</code> - a <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog"><code>namespace</code></a></dd> |
| <dd><code>metadata</code> - a string Map of properties for the given namespace</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/iceberg/exceptions/AlreadyExistsException.html" title="class in org.apache.iceberg.exceptions">AlreadyExistsException</a></code> - If the namespace already exists</dd> |
| <dd><code>java.lang.UnsupportedOperationException</code> - If create is not a supported operation</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="listNamespaces-org.apache.iceberg.catalog.SessionCatalog.SessionContext-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>listNamespaces</h4> |
| <pre>default java.util.List<<a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a>> listNamespaces(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context)</pre> |
| <div class="block">List top-level namespaces from the catalog. |
| |
| <p>If an object such as a table, view, or function exists, its parent namespaces must also |
| exist and must be returned by this discovery method. For example, if table a.b.t exists, this |
| method must return ["a"] in the result array.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - session context</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an List of namespace <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog"><code>Namespace</code></a> names</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="listNamespaces-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.Namespace-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>listNamespaces</h4> |
| <pre>java.util.List<<a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a>> listNamespaces(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a> namespace)</pre> |
| <div class="block">List namespaces from the namespace. |
| |
| <p>For example, if table a.b.t exists, use 'SELECT NAMESPACE IN a' this method must return |
| Namepace.of("a","b") <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog"><code>Namespace</code></a>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - session context</dd> |
| <dd><code>namespace</code> - a <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog"><code>namespace</code></a></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a List of namespace <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog"><code>Namespace</code></a> names</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/iceberg/exceptions/NoSuchNamespaceException.html" title="class in org.apache.iceberg.exceptions">NoSuchNamespaceException</a></code> - If the namespace does not exist (optional)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="loadNamespaceMetadata-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.Namespace-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>loadNamespaceMetadata</h4> |
| <pre>java.util.Map<java.lang.String,java.lang.String> loadNamespaceMetadata(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a> namespace)</pre> |
| <div class="block">Load metadata properties for a namespace.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - session context</dd> |
| <dd><code>namespace</code> - a <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog"><code>namespace</code></a></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a string map of properties for the given namespace</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/iceberg/exceptions/NoSuchNamespaceException.html" title="class in org.apache.iceberg.exceptions">NoSuchNamespaceException</a></code> - If the namespace does not exist (optional)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dropNamespace-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.Namespace-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dropNamespace</h4> |
| <pre>boolean dropNamespace(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a> namespace)</pre> |
| <div class="block">Drop a namespace. If the namespace exists and was dropped, this will return true.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - session context</dd> |
| <dd><code>namespace</code> - a <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog"><code>namespace</code></a></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the namespace was dropped, false otherwise.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/iceberg/exceptions/NamespaceNotEmptyException.html" title="class in org.apache.iceberg.exceptions">NamespaceNotEmptyException</a></code> - If the namespace is not empty</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="updateNamespaceMetadata-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.Namespace-java.util.Map-java.util.Set-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateNamespaceMetadata</h4> |
| <pre>boolean updateNamespaceMetadata(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a> namespace, |
| java.util.Map<java.lang.String,java.lang.String> updates, |
| java.util.Set<java.lang.String> removals)</pre> |
| <div class="block">Set a collection of properties on a namespace in the catalog. |
| |
| <p>Properties that are not in the given map are not modified or removed by this method.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - session context</dd> |
| <dd><code>namespace</code> - a <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog"><code>namespace</code></a></dd> |
| <dd><code>updates</code> - properties to set for the namespace</dd> |
| <dd><code>removals</code> - properties to remove from the namespace</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/iceberg/exceptions/NoSuchNamespaceException.html" title="class in org.apache.iceberg.exceptions">NoSuchNamespaceException</a></code> - If the namespace does not exist (optional)</dd> |
| <dd><code>java.lang.UnsupportedOperationException</code> - If namespace properties are not supported</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="namespaceExists-org.apache.iceberg.catalog.SessionCatalog.SessionContext-org.apache.iceberg.catalog.Namespace-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>namespaceExists</h4> |
| <pre>default boolean namespaceExists(<a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog">SessionCatalog.SessionContext</a> context, |
| <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog">Namespace</a> namespace)</pre> |
| <div class="block">Checks whether the Namespace exists.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - session context</dd> |
| <dd><code>namespace</code> - a <a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog"><code>namespace</code></a></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the Namespace exists, false otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/iceberg/catalog/Namespace.html" title="class in org.apache.iceberg.catalog"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/iceberg/catalog/SessionCatalog.SessionContext.html" title="class in org.apache.iceberg.catalog"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/iceberg/catalog/SessionCatalog.html" target="_top">Frames</a></li> |
| <li><a href="SessionCatalog.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </body> |
| </html> |