| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>SnapshotTableSparkAction</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="SnapshotTableSparkAction"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":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 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: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li>Constr | </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"> </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> <a href="package-summary.html">org.apache.iceberg.spark.actions</a></div> |
| <h2 title="Class SnapshotTableSparkAction" class="title">Class SnapshotTableSparkAction</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.iceberg.spark.actions.SnapshotTableSparkAction</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="../../actions/Action.html" title="interface in org.apache.iceberg.actions">Action</a><<a href="../../actions/SnapshotTable.html" title="interface in org.apache.iceberg.actions">SnapshotTable</a>,​<a href="../../actions/SnapshotTable.Result.html" title="interface in org.apache.iceberg.actions">SnapshotTable.Result</a>></code>, <code><a href="../../actions/SnapshotTable.html" title="interface in org.apache.iceberg.actions">SnapshotTable</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public class <span class="typeNameLabel">SnapshotTableSparkAction</span> |
| extends java.lang.Object |
| implements <a href="../../actions/SnapshotTable.html" title="interface in org.apache.iceberg.actions">SnapshotTable</a></pre> |
| <div class="block">Creates a new Iceberg table based on a source Spark table. The new Iceberg table will have a |
| different data and metadata directory allowing it to exist independently of the source table.</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> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.org.apache.iceberg.actions.SnapshotTable"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.apache.iceberg.actions.<a href="../../actions/SnapshotTable.html" title="interface in org.apache.iceberg.actions">SnapshotTable</a></h3> |
| <code><a href="../../actions/SnapshotTable.Result.html" title="interface in org.apache.iceberg.actions">SnapshotTable.Result</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- =========== 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"> </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>protected static org.apache.iceberg.relocated.com.google.common.base.Joiner</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#COMMA_JOINER">COMMA_JOINER</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected static org.apache.iceberg.relocated.com.google.common.base.Splitter</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#COMMA_SPLITTER">COMMA_SPLITTER</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected static java.util.List<java.lang.String></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#EXCLUDED_PROPERTIES">EXCLUDED_PROPERTIES</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FILE_PATH">FILE_PATH</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ICEBERG_METADATA_FOLDER">ICEBERG_METADATA_FOLDER</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LAST_MODIFIED">LAST_MODIFIED</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LOCATION">LOCATION</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MANIFEST">MANIFEST</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MANIFEST_LIST">MANIFEST_LIST</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OTHERS">OTHERS</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#STATISTICS_FILES">STATISTICS_FILES</a></span></code></th> |
| <td class="colLast"> </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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>protected java.util.Map<java.lang.String,​java.lang.String></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#additionalProperties()">additionalProperties</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>protected org.apache.spark.sql.Dataset<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allReachableOtherMetadataFileDS(org.apache.iceberg.Table)">allReachableOtherMetadataFileDS</a></span>​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="SnapshotTableSparkAction.html" title="class in org.apache.iceberg.spark.actions">SnapshotTableSparkAction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#as(java.lang.String)">as</a></span>​(java.lang.String ident)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the table identifier for the newly created Iceberg table.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>protected org.apache.spark.sql.connector.catalog.StagingTableCatalog</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkDestinationCatalog(org.apache.spark.sql.connector.catalog.CatalogPlugin)">checkDestinationCatalog</a></span>​(org.apache.spark.sql.connector.catalog.CatalogPlugin catalog)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>protected org.apache.spark.sql.connector.catalog.TableCatalog</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkSourceCatalog(org.apache.spark.sql.connector.catalog.CatalogPlugin)">checkSourceCatalog</a></span>​(org.apache.spark.sql.connector.catalog.CatalogPlugin catalog)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>protected org.apache.spark.sql.Dataset<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#contentFileDS(org.apache.iceberg.Table)">contentFileDS</a></span>​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>protected org.apache.spark.sql.Dataset<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#contentFileDS(org.apache.iceberg.Table,java.util.Set)">contentFileDS</a></span>​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table, |
| java.util.Set<java.lang.Long> snapshotIds)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>protected org.apache.iceberg.spark.actions.BaseSparkAction.DeleteSummary</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deleteFiles(java.util.concurrent.ExecutorService,java.util.function.Consumer,java.util.Iterator)">deleteFiles</a></span>​(java.util.concurrent.ExecutorService executorService, |
| java.util.function.Consumer<java.lang.String> deleteFunc, |
| java.util.Iterator<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>> files)</code></th> |
| <td class="colLast"> |
| <div class="block">Deletes files and keeps track of how many files were removed for each file type.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>protected org.apache.iceberg.spark.actions.BaseSparkAction.DeleteSummary</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deleteFiles(org.apache.iceberg.io.SupportsBulkOperations,java.util.Iterator)">deleteFiles</a></span>​(<a href="../../io/SupportsBulkOperations.html" title="interface in org.apache.iceberg.io">SupportsBulkOperations</a> io, |
| java.util.Iterator<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>> files)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>protected org.apache.spark.sql.connector.catalog.StagingTableCatalog</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#destCatalog()">destCatalog</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>protected org.apache.spark.sql.connector.catalog.Identifier</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#destTableIdent()">destTableIdent</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>protected java.util.Map<java.lang.String,​java.lang.String></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#destTableProps()">destTableProps</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ensureNameMappingPresent(org.apache.iceberg.Table)">ensureNameMappingPresent</a></span>​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="../../actions/SnapshotTable.Result.html" title="interface in org.apache.iceberg.actions">SnapshotTable.Result</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#execute()">execute</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Executes this action.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>protected java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMetadataLocation(org.apache.iceberg.Table)">getMetadataLocation</a></span>​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>protected org.apache.spark.sql.Dataset<org.apache.spark.sql.Row></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#loadMetadataTable(org.apache.iceberg.Table,org.apache.iceberg.MetadataTableType)">loadMetadataTable</a></span>​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table, |
| <a href="../../MetadataTableType.html" title="enum in org.apache.iceberg">MetadataTableType</a> type)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>protected org.apache.spark.sql.Dataset<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#manifestDS(org.apache.iceberg.Table)">manifestDS</a></span>​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>protected org.apache.spark.sql.Dataset<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#manifestDS(org.apache.iceberg.Table,java.util.Set)">manifestDS</a></span>​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table, |
| java.util.Set<java.lang.Long> snapshotIds)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>protected org.apache.spark.sql.Dataset<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#manifestListDS(org.apache.iceberg.Table)">manifestListDS</a></span>​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>protected org.apache.spark.sql.Dataset<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#manifestListDS(org.apache.iceberg.Table,java.util.Set)">manifestListDS</a></span>​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table, |
| java.util.Set<java.lang.Long> snapshotIds)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>protected <a href="../JobGroupInfo.html" title="class in org.apache.iceberg.spark">JobGroupInfo</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newJobGroupInfo(java.lang.String,java.lang.String)">newJobGroupInfo</a></span>​(java.lang.String groupId, |
| java.lang.String desc)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>protected <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="#newStaticTable(org.apache.iceberg.TableMetadata,org.apache.iceberg.io.FileIO)">newStaticTable</a></span>​(<a href="../../TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> metadata, |
| <a href="../../io/FileIO.html" title="interface in org.apache.iceberg.io">FileIO</a> io)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>ThisT</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#option(java.lang.String,java.lang.String)">option</a></span>​(java.lang.String name, |
| java.lang.String value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>protected java.util.Map<java.lang.String,​java.lang.String></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#options()">options</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>ThisT</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#options(java.util.Map)">options</a></span>​(java.util.Map<java.lang.String,​java.lang.String> newOptions)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>protected org.apache.spark.sql.Dataset<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#otherMetadataFileDS(org.apache.iceberg.Table)">otherMetadataFileDS</a></span>​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>protected <a href="SnapshotTableSparkAction.html" title="class in org.apache.iceberg.spark.actions">SnapshotTableSparkAction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#self()">self</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setProperties(java.util.Map)">setProperties</a></span>​(java.util.Map<java.lang.String,​java.lang.String> properties)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setProperty(java.lang.String,java.lang.String)">setProperty</a></span>​(java.lang.String key, |
| java.lang.String value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>protected org.apache.spark.sql.connector.catalog.TableCatalog</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sourceCatalog()">sourceCatalog</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>protected org.apache.spark.sql.connector.catalog.Identifier</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sourceTableIdent()">sourceTableIdent</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>protected java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sourceTableLocation()">sourceTableLocation</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>protected org.apache.spark.sql.SparkSession</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#spark()">spark</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>protected org.apache.spark.api.java.JavaSparkContext</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sparkContext()">sparkContext</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>protected <a href="../source/StagedSparkTable.html" title="class in org.apache.iceberg.spark.source">StagedSparkTable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stageDestTable()">stageDestTable</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>protected org.apache.spark.sql.Dataset<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#statisticsFileDS(org.apache.iceberg.Table,java.util.Set)">statisticsFileDS</a></span>​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table, |
| java.util.Set<java.lang.Long> snapshotIds)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code><a href="SnapshotTableSparkAction.html" title="class in org.apache.iceberg.spark.actions">SnapshotTableSparkAction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#tableLocation(java.lang.String)">tableLocation</a></span>​(java.lang.String location)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the table location for the newly created Iceberg table.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code><a href="SnapshotTableSparkAction.html" title="class in org.apache.iceberg.spark.actions">SnapshotTableSparkAction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#tableProperties(java.util.Map)">tableProperties</a></span>​(java.util.Map<java.lang.String,​java.lang.String> properties)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets table properties in the newly created Iceberg table.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code><a href="SnapshotTableSparkAction.html" title="class in org.apache.iceberg.spark.actions">SnapshotTableSparkAction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#tableProperty(java.lang.String,java.lang.String)">tableProperty</a></span>​(java.lang.String property, |
| java.lang.String value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a table property in the newly created Iceberg table.</div> |
| </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>protected org.apache.spark.sql.catalyst.catalog.CatalogTable</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#v1SourceTable()">v1SourceTable</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>protected <T> T</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withJobGroupInfo(org.apache.iceberg.spark.JobGroupInfo,java.util.function.Supplier)">withJobGroupInfo</a></span>​(<a href="../JobGroupInfo.html" title="class in org.apache.iceberg.spark">JobGroupInfo</a> info, |
| java.util.function.Supplier<T> supplier)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class 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.actions.Action"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.iceberg.actions.<a href="../../actions/Action.html" title="interface in org.apache.iceberg.actions">Action</a></h3> |
| <code><a href="../../actions/Action.html#option(java.lang.String,java.lang.String)">option</a>, <a href="../../actions/Action.html#options(java.util.Map)">options</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="LOCATION"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>LOCATION</h4> |
| <pre>protected static final java.lang.String LOCATION</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.iceberg.spark.actions.SnapshotTableSparkAction.LOCATION">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="ICEBERG_METADATA_FOLDER"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ICEBERG_METADATA_FOLDER</h4> |
| <pre>protected static final java.lang.String ICEBERG_METADATA_FOLDER</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.iceberg.spark.actions.SnapshotTableSparkAction.ICEBERG_METADATA_FOLDER">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="EXCLUDED_PROPERTIES"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>EXCLUDED_PROPERTIES</h4> |
| <pre>protected static final java.util.List<java.lang.String> EXCLUDED_PROPERTIES</pre> |
| </li> |
| </ul> |
| <a id="MANIFEST"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MANIFEST</h4> |
| <pre>protected static final java.lang.String MANIFEST</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.iceberg.spark.actions.SnapshotTableSparkAction.MANIFEST">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="MANIFEST_LIST"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MANIFEST_LIST</h4> |
| <pre>protected static final java.lang.String MANIFEST_LIST</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.iceberg.spark.actions.SnapshotTableSparkAction.MANIFEST_LIST">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="STATISTICS_FILES"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>STATISTICS_FILES</h4> |
| <pre>protected static final java.lang.String STATISTICS_FILES</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.iceberg.spark.actions.SnapshotTableSparkAction.STATISTICS_FILES">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="OTHERS"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>OTHERS</h4> |
| <pre>protected static final java.lang.String OTHERS</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.iceberg.spark.actions.SnapshotTableSparkAction.OTHERS">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="FILE_PATH"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>FILE_PATH</h4> |
| <pre>protected static final java.lang.String FILE_PATH</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.iceberg.spark.actions.SnapshotTableSparkAction.FILE_PATH">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="LAST_MODIFIED"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>LAST_MODIFIED</h4> |
| <pre>protected static final java.lang.String LAST_MODIFIED</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.iceberg.spark.actions.SnapshotTableSparkAction.LAST_MODIFIED">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="COMMA_SPLITTER"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>COMMA_SPLITTER</h4> |
| <pre>protected static final org.apache.iceberg.relocated.com.google.common.base.Splitter COMMA_SPLITTER</pre> |
| </li> |
| </ul> |
| <a id="COMMA_JOINER"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>COMMA_JOINER</h4> |
| <pre>protected static final org.apache.iceberg.relocated.com.google.common.base.Joiner COMMA_JOINER</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="self()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>self</h4> |
| <pre class="methodSignature">protected <a href="SnapshotTableSparkAction.html" title="class in org.apache.iceberg.spark.actions">SnapshotTableSparkAction</a> self()</pre> |
| </li> |
| </ul> |
| <a id="destCatalog()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>destCatalog</h4> |
| <pre class="methodSignature">protected org.apache.spark.sql.connector.catalog.StagingTableCatalog destCatalog()</pre> |
| </li> |
| </ul> |
| <a id="destTableIdent()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>destTableIdent</h4> |
| <pre class="methodSignature">protected org.apache.spark.sql.connector.catalog.Identifier destTableIdent()</pre> |
| </li> |
| </ul> |
| <a id="as(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>as</h4> |
| <pre class="methodSignature">public <a href="SnapshotTableSparkAction.html" title="class in org.apache.iceberg.spark.actions">SnapshotTableSparkAction</a> as​(java.lang.String ident)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../actions/SnapshotTable.html#as(java.lang.String)">SnapshotTable</a></code></span></div> |
| <div class="block">Sets the table identifier for the newly created Iceberg table.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../actions/SnapshotTable.html#as(java.lang.String)">as</a></code> in interface <code><a href="../../actions/SnapshotTable.html" title="interface in org.apache.iceberg.actions">SnapshotTable</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>ident</code> - the destination table identifier</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this for method chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="tableProperties(java.util.Map)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>tableProperties</h4> |
| <pre class="methodSignature">public <a href="SnapshotTableSparkAction.html" title="class in org.apache.iceberg.spark.actions">SnapshotTableSparkAction</a> tableProperties​(java.util.Map<java.lang.String,​java.lang.String> properties)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../actions/SnapshotTable.html#tableProperties(java.util.Map)">SnapshotTable</a></code></span></div> |
| <div class="block">Sets table properties in the newly created Iceberg table. Any properties with the same key name |
| will be overwritten.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../actions/SnapshotTable.html#tableProperties(java.util.Map)">tableProperties</a></code> in interface <code><a href="../../actions/SnapshotTable.html" title="interface in org.apache.iceberg.actions">SnapshotTable</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>properties</code> - a map of properties to be included</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this for method chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="tableProperty(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>tableProperty</h4> |
| <pre class="methodSignature">public <a href="SnapshotTableSparkAction.html" title="class in org.apache.iceberg.spark.actions">SnapshotTableSparkAction</a> tableProperty​(java.lang.String property, |
| java.lang.String value)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../actions/SnapshotTable.html#tableProperty(java.lang.String,java.lang.String)">SnapshotTable</a></code></span></div> |
| <div class="block">Sets a table property in the newly created Iceberg table. Any properties with the same key name |
| will be overwritten.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../actions/SnapshotTable.html#tableProperty(java.lang.String,java.lang.String)">tableProperty</a></code> in interface <code><a href="../../actions/SnapshotTable.html" title="interface in org.apache.iceberg.actions">SnapshotTable</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>property</code> - the key of the property to add</dd> |
| <dd><code>value</code> - the value of the property to add</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this for method chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="execute()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>execute</h4> |
| <pre class="methodSignature">public <a href="../../actions/SnapshotTable.Result.html" title="interface in org.apache.iceberg.actions">SnapshotTable.Result</a> execute()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../actions/Action.html#execute()">Action</a></code></span></div> |
| <div class="block">Executes this action.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../actions/Action.html#execute()">execute</a></code> in interface <code><a href="../../actions/Action.html" title="interface in org.apache.iceberg.actions">Action</a><<a href="../../actions/SnapshotTable.html" title="interface in org.apache.iceberg.actions">SnapshotTable</a>,​<a href="../../actions/SnapshotTable.Result.html" title="interface in org.apache.iceberg.actions">SnapshotTable.Result</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the result of this action</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="destTableProps()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>destTableProps</h4> |
| <pre class="methodSignature">protected java.util.Map<java.lang.String,​java.lang.String> destTableProps()</pre> |
| </li> |
| </ul> |
| <a id="checkSourceCatalog(org.apache.spark.sql.connector.catalog.CatalogPlugin)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkSourceCatalog</h4> |
| <pre class="methodSignature">protected org.apache.spark.sql.connector.catalog.TableCatalog checkSourceCatalog​(org.apache.spark.sql.connector.catalog.CatalogPlugin catalog)</pre> |
| </li> |
| </ul> |
| <a id="tableLocation(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>tableLocation</h4> |
| <pre class="methodSignature">public <a href="SnapshotTableSparkAction.html" title="class in org.apache.iceberg.spark.actions">SnapshotTableSparkAction</a> tableLocation​(java.lang.String location)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../actions/SnapshotTable.html#tableLocation(java.lang.String)">SnapshotTable</a></code></span></div> |
| <div class="block">Sets the table location for the newly created Iceberg table.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../actions/SnapshotTable.html#tableLocation(java.lang.String)">tableLocation</a></code> in interface <code><a href="../../actions/SnapshotTable.html" title="interface in org.apache.iceberg.actions">SnapshotTable</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>location</code> - a table location</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this for method chaining</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="sourceTableLocation()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sourceTableLocation</h4> |
| <pre class="methodSignature">protected java.lang.String sourceTableLocation()</pre> |
| </li> |
| </ul> |
| <a id="v1SourceTable()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>v1SourceTable</h4> |
| <pre class="methodSignature">protected org.apache.spark.sql.catalyst.catalog.CatalogTable v1SourceTable()</pre> |
| </li> |
| </ul> |
| <a id="sourceCatalog()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sourceCatalog</h4> |
| <pre class="methodSignature">protected org.apache.spark.sql.connector.catalog.TableCatalog sourceCatalog()</pre> |
| </li> |
| </ul> |
| <a id="sourceTableIdent()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sourceTableIdent</h4> |
| <pre class="methodSignature">protected org.apache.spark.sql.connector.catalog.Identifier sourceTableIdent()</pre> |
| </li> |
| </ul> |
| <a id="setProperties(java.util.Map)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setProperties</h4> |
| <pre class="methodSignature">protected void setProperties​(java.util.Map<java.lang.String,​java.lang.String> properties)</pre> |
| </li> |
| </ul> |
| <a id="setProperty(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setProperty</h4> |
| <pre class="methodSignature">protected void setProperty​(java.lang.String key, |
| java.lang.String value)</pre> |
| </li> |
| </ul> |
| <a id="additionalProperties()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>additionalProperties</h4> |
| <pre class="methodSignature">protected java.util.Map<java.lang.String,​java.lang.String> additionalProperties()</pre> |
| </li> |
| </ul> |
| <a id="checkDestinationCatalog(org.apache.spark.sql.connector.catalog.CatalogPlugin)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkDestinationCatalog</h4> |
| <pre class="methodSignature">protected org.apache.spark.sql.connector.catalog.StagingTableCatalog checkDestinationCatalog​(org.apache.spark.sql.connector.catalog.CatalogPlugin catalog)</pre> |
| </li> |
| </ul> |
| <a id="stageDestTable()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>stageDestTable</h4> |
| <pre class="methodSignature">protected <a href="../source/StagedSparkTable.html" title="class in org.apache.iceberg.spark.source">StagedSparkTable</a> stageDestTable()</pre> |
| </li> |
| </ul> |
| <a id="ensureNameMappingPresent(org.apache.iceberg.Table)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ensureNameMappingPresent</h4> |
| <pre class="methodSignature">protected void ensureNameMappingPresent​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table)</pre> |
| </li> |
| </ul> |
| <a id="getMetadataLocation(org.apache.iceberg.Table)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMetadataLocation</h4> |
| <pre class="methodSignature">protected java.lang.String getMetadataLocation​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table)</pre> |
| </li> |
| </ul> |
| <a id="spark()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>spark</h4> |
| <pre class="methodSignature">protected org.apache.spark.sql.SparkSession spark()</pre> |
| </li> |
| </ul> |
| <a id="sparkContext()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sparkContext</h4> |
| <pre class="methodSignature">protected org.apache.spark.api.java.JavaSparkContext sparkContext()</pre> |
| </li> |
| </ul> |
| <a id="option(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>option</h4> |
| <pre class="methodSignature">public ThisT option​(java.lang.String name, |
| java.lang.String value)</pre> |
| </li> |
| </ul> |
| <a id="options(java.util.Map)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>options</h4> |
| <pre class="methodSignature">public ThisT options​(java.util.Map<java.lang.String,​java.lang.String> newOptions)</pre> |
| </li> |
| </ul> |
| <a id="options()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>options</h4> |
| <pre class="methodSignature">protected java.util.Map<java.lang.String,​java.lang.String> options()</pre> |
| </li> |
| </ul> |
| <a id="withJobGroupInfo(org.apache.iceberg.spark.JobGroupInfo,java.util.function.Supplier)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withJobGroupInfo</h4> |
| <pre class="methodSignature">protected <T> T withJobGroupInfo​(<a href="../JobGroupInfo.html" title="class in org.apache.iceberg.spark">JobGroupInfo</a> info, |
| java.util.function.Supplier<T> supplier)</pre> |
| </li> |
| </ul> |
| <a id="newJobGroupInfo(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newJobGroupInfo</h4> |
| <pre class="methodSignature">protected <a href="../JobGroupInfo.html" title="class in org.apache.iceberg.spark">JobGroupInfo</a> newJobGroupInfo​(java.lang.String groupId, |
| java.lang.String desc)</pre> |
| </li> |
| </ul> |
| <a id="newStaticTable(org.apache.iceberg.TableMetadata,org.apache.iceberg.io.FileIO)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newStaticTable</h4> |
| <pre class="methodSignature">protected <a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> newStaticTable​(<a href="../../TableMetadata.html" title="class in org.apache.iceberg">TableMetadata</a> metadata, |
| <a href="../../io/FileIO.html" title="interface in org.apache.iceberg.io">FileIO</a> io)</pre> |
| </li> |
| </ul> |
| <a id="contentFileDS(org.apache.iceberg.Table)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>contentFileDS</h4> |
| <pre class="methodSignature">protected org.apache.spark.sql.Dataset<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>> contentFileDS​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table)</pre> |
| </li> |
| </ul> |
| <a id="contentFileDS(org.apache.iceberg.Table,java.util.Set)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>contentFileDS</h4> |
| <pre class="methodSignature">protected org.apache.spark.sql.Dataset<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>> contentFileDS​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table, |
| java.util.Set<java.lang.Long> snapshotIds)</pre> |
| </li> |
| </ul> |
| <a id="manifestDS(org.apache.iceberg.Table)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>manifestDS</h4> |
| <pre class="methodSignature">protected org.apache.spark.sql.Dataset<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>> manifestDS​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table)</pre> |
| </li> |
| </ul> |
| <a id="manifestDS(org.apache.iceberg.Table,java.util.Set)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>manifestDS</h4> |
| <pre class="methodSignature">protected org.apache.spark.sql.Dataset<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>> manifestDS​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table, |
| java.util.Set<java.lang.Long> snapshotIds)</pre> |
| </li> |
| </ul> |
| <a id="manifestListDS(org.apache.iceberg.Table)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>manifestListDS</h4> |
| <pre class="methodSignature">protected org.apache.spark.sql.Dataset<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>> manifestListDS​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table)</pre> |
| </li> |
| </ul> |
| <a id="manifestListDS(org.apache.iceberg.Table,java.util.Set)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>manifestListDS</h4> |
| <pre class="methodSignature">protected org.apache.spark.sql.Dataset<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>> manifestListDS​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table, |
| java.util.Set<java.lang.Long> snapshotIds)</pre> |
| </li> |
| </ul> |
| <a id="statisticsFileDS(org.apache.iceberg.Table,java.util.Set)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>statisticsFileDS</h4> |
| <pre class="methodSignature">protected org.apache.spark.sql.Dataset<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>> statisticsFileDS​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table, |
| java.util.Set<java.lang.Long> snapshotIds)</pre> |
| </li> |
| </ul> |
| <a id="otherMetadataFileDS(org.apache.iceberg.Table)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>otherMetadataFileDS</h4> |
| <pre class="methodSignature">protected org.apache.spark.sql.Dataset<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>> otherMetadataFileDS​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table)</pre> |
| </li> |
| </ul> |
| <a id="allReachableOtherMetadataFileDS(org.apache.iceberg.Table)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>allReachableOtherMetadataFileDS</h4> |
| <pre class="methodSignature">protected org.apache.spark.sql.Dataset<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>> allReachableOtherMetadataFileDS​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table)</pre> |
| </li> |
| </ul> |
| <a id="loadMetadataTable(org.apache.iceberg.Table,org.apache.iceberg.MetadataTableType)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>loadMetadataTable</h4> |
| <pre class="methodSignature">protected org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> loadMetadataTable​(<a href="../../Table.html" title="interface in org.apache.iceberg">Table</a> table, |
| <a href="../../MetadataTableType.html" title="enum in org.apache.iceberg">MetadataTableType</a> type)</pre> |
| </li> |
| </ul> |
| <a id="deleteFiles(java.util.concurrent.ExecutorService,java.util.function.Consumer,java.util.Iterator)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deleteFiles</h4> |
| <pre class="methodSignature">protected org.apache.iceberg.spark.actions.BaseSparkAction.DeleteSummary deleteFiles​(java.util.concurrent.ExecutorService executorService, |
| java.util.function.Consumer<java.lang.String> deleteFunc, |
| java.util.Iterator<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>> files)</pre> |
| <div class="block">Deletes files and keeps track of how many files were removed for each file type.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>executorService</code> - an executor service to use for parallel deletes</dd> |
| <dd><code>deleteFunc</code> - a delete func</dd> |
| <dd><code>files</code> - an iterator of Spark rows of the structure (path: String, type: String)</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>stats on which files were deleted</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="deleteFiles(org.apache.iceberg.io.SupportsBulkOperations,java.util.Iterator)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>deleteFiles</h4> |
| <pre class="methodSignature">protected org.apache.iceberg.spark.actions.BaseSparkAction.DeleteSummary deleteFiles​(<a href="../../io/SupportsBulkOperations.html" title="interface in org.apache.iceberg.io">SupportsBulkOperations</a> io, |
| java.util.Iterator<<a href="FileInfo.html" title="class in org.apache.iceberg.spark.actions">FileInfo</a>> files)</pre> |
| </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 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: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li>Constr | </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> |