blob: 374fcd93cdcb72097650223b13468de54d4e2506 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>GenericManifestFile</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="GenericManifestFile";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"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};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.iceberg</a></div>
<h2 title="Class GenericManifestFile" class="title">Class GenericManifestFile</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.iceberg.GenericManifestFile</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code>java.io.Serializable</code>, <code>org.apache.avro.generic.GenericContainer</code>, <code>org.apache.avro.generic.IndexedRecord</code>, <code>org.apache.avro.specific.SpecificData.SchemaConstructable</code>, <code><a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></code>, <code><a href="StructLike.html" title="interface in org.apache.iceberg">StructLike</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">GenericManifestFile</span>
extends java.lang.Object
implements <a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>, <a href="StructLike.html" title="interface in org.apache.iceberg">StructLike</a>, org.apache.avro.generic.IndexedRecord, org.apache.avro.specific.SpecificData.SchemaConstructable, java.io.Serializable</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../serialized-form.html#org.apache.iceberg.GenericManifestFile">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="GenericManifestFile.CopyBuilder.html" title="class in org.apache.iceberg">GenericManifestFile.CopyBuilder</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.apache.iceberg.ManifestFile">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.apache.iceberg.<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></h3>
<code><a href="ManifestFile.PartitionFieldSummary.html" title="interface in org.apache.iceberg">ManifestFile.PartitionFieldSummary</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>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.iceberg.ManifestFile">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.apache.iceberg.<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></h3>
<code><a href="ManifestFile.html#ADDED_FILES_COUNT">ADDED_FILES_COUNT</a>, <a href="ManifestFile.html#ADDED_ROWS_COUNT">ADDED_ROWS_COUNT</a>, <a href="ManifestFile.html#DELETED_FILES_COUNT">DELETED_FILES_COUNT</a>, <a href="ManifestFile.html#DELETED_ROWS_COUNT">DELETED_ROWS_COUNT</a>, <a href="ManifestFile.html#EXISTING_FILES_COUNT">EXISTING_FILES_COUNT</a>, <a href="ManifestFile.html#EXISTING_ROWS_COUNT">EXISTING_ROWS_COUNT</a>, <a href="ManifestFile.html#KEY_METADATA">KEY_METADATA</a>, <a href="ManifestFile.html#LENGTH">LENGTH</a>, <a href="ManifestFile.html#MANIFEST_CONTENT">MANIFEST_CONTENT</a>, <a href="ManifestFile.html#MIN_SEQUENCE_NUMBER">MIN_SEQUENCE_NUMBER</a>, <a href="ManifestFile.html#PARTITION_SUMMARIES">PARTITION_SUMMARIES</a>, <a href="ManifestFile.html#PARTITION_SUMMARY_TYPE">PARTITION_SUMMARY_TYPE</a>, <a href="ManifestFile.html#PATH">PATH</a>, <a href="ManifestFile.html#SCHEMA">SCHEMA</a>, <a href="ManifestFile.html#SEQUENCE_NUMBER">SEQUENCE_NUMBER</a>, <a href="ManifestFile.html#SNAPSHOT_ID">SNAPSHOT_ID</a>, <a href="ManifestFile.html#SPEC_ID">SPEC_ID</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String,long,int,org.apache.iceberg.ManifestContent,long,long,java.lang.Long,int,long,int,long,int,long,java.util.List,java.nio.ByteBuffer)">GenericManifestFile</a></span>&#8203;(java.lang.String&nbsp;path,
long&nbsp;length,
int&nbsp;specId,
<a href="ManifestContent.html" title="enum in org.apache.iceberg">ManifestContent</a>&nbsp;content,
long&nbsp;sequenceNumber,
long&nbsp;minSequenceNumber,
java.lang.Long&nbsp;snapshotId,
int&nbsp;addedFilesCount,
long&nbsp;addedRowsCount,
int&nbsp;existingFilesCount,
long&nbsp;existingRowsCount,
int&nbsp;deletedFilesCount,
long&nbsp;deletedRowsCount,
java.util.List&lt;<a href="ManifestFile.PartitionFieldSummary.html" title="interface in org.apache.iceberg">ManifestFile.PartitionFieldSummary</a>&gt;&nbsp;partitions,
java.nio.ByteBuffer&nbsp;keyMetadata)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.apache.avro.Schema)">GenericManifestFile</a></span>&#8203;(org.apache.avro.Schema&nbsp;avroSchema)</code></th>
<td class="colLast">
<div class="block">Used by Avro reflection to instantiate this class when reading manifest files.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>java.lang.Integer</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addedFilesCount()">addedFilesCount</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the number of data files with status ADDED in the manifest file.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>java.lang.Long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addedRowsCount()">addedRowsCount</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the total number of rows in all data files with status ADDED in the manifest file.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="ManifestContent.html" title="enum in org.apache.iceberg">ManifestContent</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#content()">content</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the content stored in the manifest; either DATA or DELETES.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#copy()">copy</a></span>()</code></th>
<td class="colLast">
<div class="block">Copies this <a href="ManifestFile.html" title="interface in org.apache.iceberg"><code>manifest file</code></a>.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static <a href="GenericManifestFile.CopyBuilder.html" title="class in org.apache.iceberg">GenericManifestFile.CopyBuilder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#copyOf(org.apache.iceberg.ManifestFile)">copyOf</a></span>&#8203;(<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>&nbsp;manifestFile)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.Integer</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deletedFilesCount()">deletedFilesCount</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the number of data files with status DELETED in the manifest file.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.Long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deletedRowsCount()">deletedRowsCount</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the total number of rows in all data files with status DELETED in the manifest file.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#equals(java.lang.Object)">equals</a></span>&#8203;(java.lang.Object&nbsp;other)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.lang.Integer</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#existingFilesCount()">existingFilesCount</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the number of data files with status EXISTING in the manifest file.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>java.lang.Long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#existingRowsCount()">existingRowsCount</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the total number of rows in all data files with status EXISTING in the manifest file.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#get(int)">get</a></span>&#8203;(int&nbsp;i)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#get(int,java.lang.Class)">get</a></span>&#8203;(int&nbsp;pos,
java.lang.Class&lt;T&gt;&nbsp;javaClass)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>org.apache.avro.Schema</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSchema()">getSchema</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hashCode()">hashCode</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>java.nio.ByteBuffer</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#keyMetadata()">keyMetadata</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns metadata about how this manifest file is encrypted, or null if the file is stored in
plain text.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>java.lang.Long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lazyLength()">lazyLength</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#length()">length</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns length of the manifest file.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#minSequenceNumber()">minSequenceNumber</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the lowest data sequence number of any live file in the manifest.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="ManifestFile.PartitionFieldSummary.html" title="interface in org.apache.iceberg">ManifestFile.PartitionFieldSummary</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#partitions()">partitions</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a list of <a href="ManifestFile.PartitionFieldSummary.html" title="interface in org.apache.iceberg"><code>partition field summaries</code></a>.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#partitionSpecId()">partitionSpecId</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns iD of the <a href="PartitionSpec.html" title="class in org.apache.iceberg"><code>PartitionSpec</code></a> used to write the manifest file.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#path()">path</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns fully qualified path to the file, suitable for constructing a Hadoop Path.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#put(int,java.lang.Object)">put</a></span>&#8203;(int&nbsp;i,
java.lang.Object&nbsp;v)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sequenceNumber()">sequenceNumber</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the sequence number of the commit that added the manifest file.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#set(int,T)">set</a></span>&#8203;(int&nbsp;i,
T&nbsp;value)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#size()">size</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>java.lang.Long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#snapshotId()">snapshotId</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns iD of the snapshot that added the manifest file to table metadata.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.iceberg.ManifestFile">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.iceberg.<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></h3>
<code><a href="ManifestFile.html#hasAddedFiles()">hasAddedFiles</a>, <a href="ManifestFile.html#hasDeletedFiles()">hasDeletedFiles</a>, <a href="ManifestFile.html#hasExistingFiles()">hasExistingFiles</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(org.apache.avro.Schema)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>GenericManifestFile</h4>
<pre>public&nbsp;GenericManifestFile&#8203;(org.apache.avro.Schema&nbsp;avroSchema)</pre>
<div class="block">Used by Avro reflection to instantiate this class when reading manifest files.</div>
</li>
</ul>
<a id="&lt;init&gt;(java.lang.String,long,int,org.apache.iceberg.ManifestContent,long,long,java.lang.Long,int,long,int,long,int,long,java.util.List,java.nio.ByteBuffer)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>GenericManifestFile</h4>
<pre>public&nbsp;GenericManifestFile&#8203;(java.lang.String&nbsp;path,
long&nbsp;length,
int&nbsp;specId,
<a href="ManifestContent.html" title="enum in org.apache.iceberg">ManifestContent</a>&nbsp;content,
long&nbsp;sequenceNumber,
long&nbsp;minSequenceNumber,
java.lang.Long&nbsp;snapshotId,
int&nbsp;addedFilesCount,
long&nbsp;addedRowsCount,
int&nbsp;existingFilesCount,
long&nbsp;existingRowsCount,
int&nbsp;deletedFilesCount,
long&nbsp;deletedRowsCount,
java.util.List&lt;<a href="ManifestFile.PartitionFieldSummary.html" title="interface in org.apache.iceberg">ManifestFile.PartitionFieldSummary</a>&gt;&nbsp;partitions,
java.nio.ByteBuffer&nbsp;keyMetadata)</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="path()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>path</h4>
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;path()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ManifestFile.html#path()">ManifestFile</a></code></span></div>
<div class="block">Returns fully qualified path to the file, suitable for constructing a Hadoop Path.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ManifestFile.html#path()">path</a></code>&nbsp;in interface&nbsp;<code><a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></code></dd>
</dl>
</li>
</ul>
<a id="lazyLength()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lazyLength</h4>
<pre class="methodSignature">public&nbsp;java.lang.Long&nbsp;lazyLength()</pre>
</li>
</ul>
<a id="length()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>length</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;length()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ManifestFile.html#length()">ManifestFile</a></code></span></div>
<div class="block">Returns length of the manifest file.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ManifestFile.html#length()">length</a></code>&nbsp;in interface&nbsp;<code><a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></code></dd>
</dl>
</li>
</ul>
<a id="partitionSpecId()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>partitionSpecId</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;partitionSpecId()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ManifestFile.html#partitionSpecId()">ManifestFile</a></code></span></div>
<div class="block">Returns iD of the <a href="PartitionSpec.html" title="class in org.apache.iceberg"><code>PartitionSpec</code></a> used to write the manifest file.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ManifestFile.html#partitionSpecId()">partitionSpecId</a></code>&nbsp;in interface&nbsp;<code><a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></code></dd>
</dl>
</li>
</ul>
<a id="content()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>content</h4>
<pre class="methodSignature">public&nbsp;<a href="ManifestContent.html" title="enum in org.apache.iceberg">ManifestContent</a>&nbsp;content()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ManifestFile.html#content()">ManifestFile</a></code></span></div>
<div class="block">Returns the content stored in the manifest; either DATA or DELETES.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ManifestFile.html#content()">content</a></code>&nbsp;in interface&nbsp;<code><a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></code></dd>
</dl>
</li>
</ul>
<a id="sequenceNumber()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sequenceNumber</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;sequenceNumber()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ManifestFile.html#sequenceNumber()">ManifestFile</a></code></span></div>
<div class="block">Returns the sequence number of the commit that added the manifest file.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ManifestFile.html#sequenceNumber()">sequenceNumber</a></code>&nbsp;in interface&nbsp;<code><a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></code></dd>
</dl>
</li>
</ul>
<a id="minSequenceNumber()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minSequenceNumber</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;minSequenceNumber()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ManifestFile.html#minSequenceNumber()">ManifestFile</a></code></span></div>
<div class="block">Returns the lowest data sequence number of any live file in the manifest.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ManifestFile.html#minSequenceNumber()">minSequenceNumber</a></code>&nbsp;in interface&nbsp;<code><a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></code></dd>
</dl>
</li>
</ul>
<a id="snapshotId()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>snapshotId</h4>
<pre class="methodSignature">public&nbsp;java.lang.Long&nbsp;snapshotId()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ManifestFile.html#snapshotId()">ManifestFile</a></code></span></div>
<div class="block">Returns iD of the snapshot that added the manifest file to table metadata.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ManifestFile.html#snapshotId()">snapshotId</a></code>&nbsp;in interface&nbsp;<code><a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></code></dd>
</dl>
</li>
</ul>
<a id="addedFilesCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addedFilesCount</h4>
<pre class="methodSignature">public&nbsp;java.lang.Integer&nbsp;addedFilesCount()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ManifestFile.html#addedFilesCount()">ManifestFile</a></code></span></div>
<div class="block">Returns the number of data files with status ADDED in the manifest file.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ManifestFile.html#addedFilesCount()">addedFilesCount</a></code>&nbsp;in interface&nbsp;<code><a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></code></dd>
</dl>
</li>
</ul>
<a id="addedRowsCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addedRowsCount</h4>
<pre class="methodSignature">public&nbsp;java.lang.Long&nbsp;addedRowsCount()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ManifestFile.html#addedRowsCount()">ManifestFile</a></code></span></div>
<div class="block">Returns the total number of rows in all data files with status ADDED in the manifest file.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ManifestFile.html#addedRowsCount()">addedRowsCount</a></code>&nbsp;in interface&nbsp;<code><a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></code></dd>
</dl>
</li>
</ul>
<a id="existingFilesCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>existingFilesCount</h4>
<pre class="methodSignature">public&nbsp;java.lang.Integer&nbsp;existingFilesCount()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ManifestFile.html#existingFilesCount()">ManifestFile</a></code></span></div>
<div class="block">Returns the number of data files with status EXISTING in the manifest file.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ManifestFile.html#existingFilesCount()">existingFilesCount</a></code>&nbsp;in interface&nbsp;<code><a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></code></dd>
</dl>
</li>
</ul>
<a id="existingRowsCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>existingRowsCount</h4>
<pre class="methodSignature">public&nbsp;java.lang.Long&nbsp;existingRowsCount()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ManifestFile.html#existingRowsCount()">ManifestFile</a></code></span></div>
<div class="block">Returns the total number of rows in all data files with status EXISTING in the manifest file.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ManifestFile.html#existingRowsCount()">existingRowsCount</a></code>&nbsp;in interface&nbsp;<code><a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></code></dd>
</dl>
</li>
</ul>
<a id="deletedFilesCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deletedFilesCount</h4>
<pre class="methodSignature">public&nbsp;java.lang.Integer&nbsp;deletedFilesCount()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ManifestFile.html#deletedFilesCount()">ManifestFile</a></code></span></div>
<div class="block">Returns the number of data files with status DELETED in the manifest file.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ManifestFile.html#deletedFilesCount()">deletedFilesCount</a></code>&nbsp;in interface&nbsp;<code><a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></code></dd>
</dl>
</li>
</ul>
<a id="deletedRowsCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deletedRowsCount</h4>
<pre class="methodSignature">public&nbsp;java.lang.Long&nbsp;deletedRowsCount()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ManifestFile.html#deletedRowsCount()">ManifestFile</a></code></span></div>
<div class="block">Returns the total number of rows in all data files with status DELETED in the manifest file.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ManifestFile.html#deletedRowsCount()">deletedRowsCount</a></code>&nbsp;in interface&nbsp;<code><a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></code></dd>
</dl>
</li>
</ul>
<a id="partitions()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>partitions</h4>
<pre class="methodSignature">public&nbsp;java.util.List&lt;<a href="ManifestFile.PartitionFieldSummary.html" title="interface in org.apache.iceberg">ManifestFile.PartitionFieldSummary</a>&gt;&nbsp;partitions()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ManifestFile.html#partitions()">ManifestFile</a></code></span></div>
<div class="block">Returns a list of <a href="ManifestFile.PartitionFieldSummary.html" title="interface in org.apache.iceberg"><code>partition field summaries</code></a>.
<p>Each summary corresponds to a field in the manifest file's partition spec, by ordinal. For
example, the partition spec [ ts_day=date(ts), type=identity(type) ] will have 2 summaries. The
first summary is for the ts_day partition field and the second is for the type partition field.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ManifestFile.html#partitions()">partitions</a></code>&nbsp;in interface&nbsp;<code><a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a list of partition field summaries, one for each field in the manifest's spec</dd>
</dl>
</li>
</ul>
<a id="keyMetadata()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>keyMetadata</h4>
<pre class="methodSignature">public&nbsp;java.nio.ByteBuffer&nbsp;keyMetadata()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ManifestFile.html#keyMetadata()">ManifestFile</a></code></span></div>
<div class="block">Returns metadata about how this manifest file is encrypted, or null if the file is stored in
plain text.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ManifestFile.html#keyMetadata()">keyMetadata</a></code>&nbsp;in interface&nbsp;<code><a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></code></dd>
</dl>
</li>
</ul>
<a id="size()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>size</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;size()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="StructLike.html#size()">size</a></code>&nbsp;in interface&nbsp;<code><a href="StructLike.html" title="interface in org.apache.iceberg">StructLike</a></code></dd>
</dl>
</li>
</ul>
<a id="get(int,java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre class="methodSignature">public&nbsp;&lt;T&gt;&nbsp;T&nbsp;get&#8203;(int&nbsp;pos,
java.lang.Class&lt;T&gt;&nbsp;javaClass)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="StructLike.html#get(int,java.lang.Class)">get</a></code>&nbsp;in interface&nbsp;<code><a href="StructLike.html" title="interface in org.apache.iceberg">StructLike</a></code></dd>
</dl>
</li>
</ul>
<a id="get(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre class="methodSignature">public&nbsp;java.lang.Object&nbsp;get&#8203;(int&nbsp;i)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>get</code>&nbsp;in interface&nbsp;<code>org.apache.avro.generic.IndexedRecord</code></dd>
</dl>
</li>
</ul>
<a id="set(int,java.lang.Object)">
<!-- -->
</a><a id="set(int,T)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre class="methodSignature">public&nbsp;&lt;T&gt;&nbsp;void&nbsp;set&#8203;(int&nbsp;i,
T&nbsp;value)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="StructLike.html#set(int,T)">set</a></code>&nbsp;in interface&nbsp;<code><a href="StructLike.html" title="interface in org.apache.iceberg">StructLike</a></code></dd>
</dl>
</li>
</ul>
<a id="put(int,java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;put&#8203;(int&nbsp;i,
java.lang.Object&nbsp;v)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>put</code>&nbsp;in interface&nbsp;<code>org.apache.avro.generic.IndexedRecord</code></dd>
</dl>
</li>
</ul>
<a id="copy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copy</h4>
<pre class="methodSignature">public&nbsp;<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>&nbsp;copy()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ManifestFile.html#copy()">ManifestFile</a></code></span></div>
<div class="block">Copies this <a href="ManifestFile.html" title="interface in org.apache.iceberg"><code>manifest file</code></a>. Readers can reuse manifest file instances; use
this method to make defensive copies.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ManifestFile.html#copy()">copy</a></code>&nbsp;in interface&nbsp;<code><a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a copy of this manifest file</dd>
</dl>
</li>
</ul>
<a id="getSchema()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSchema</h4>
<pre class="methodSignature">public&nbsp;org.apache.avro.Schema&nbsp;getSchema()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getSchema</code>&nbsp;in interface&nbsp;<code>org.apache.avro.generic.GenericContainer</code></dd>
</dl>
</li>
</ul>
<a id="equals(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;equals&#8203;(java.lang.Object&nbsp;other)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a id="hashCode()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a id="toString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a id="copyOf(org.apache.iceberg.ManifestFile)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>copyOf</h4>
<pre class="methodSignature">public static&nbsp;<a href="GenericManifestFile.CopyBuilder.html" title="class in org.apache.iceberg">GenericManifestFile.CopyBuilder</a>&nbsp;copyOf&#8203;(<a href="ManifestFile.html" title="interface in org.apache.iceberg">ManifestFile</a>&nbsp;manifestFile)</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&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
</footer>
</body>
</html>