blob: cc77ed3d5e0621e0bbf6e7ec1ea15b2a4699678f [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>iceberg-cpp: iceberg::InheritableMetadataFactory Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">iceberg-cpp
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><b>iceberg</b></li><li class="navelem"><a class="el" href="classiceberg_1_1InheritableMetadataFactory.html">InheritableMetadataFactory</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classiceberg_1_1InheritableMetadataFactory-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">iceberg::InheritableMetadataFactory Class Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Factory for creating <a class="el" href="classiceberg_1_1InheritableMetadata.html" title="Interface for applying inheritable metadata to manifest entries.">InheritableMetadata</a> instances.
<a href="classiceberg_1_1InheritableMetadataFactory.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="inheritable__metadata_8h_source.html">inheritable_metadata.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ab2e66f0d56ee88c5c5be93d850a7619c" id="r_ab2e66f0d56ee88c5c5be93d850a7619c"><td class="memItemLeft" align="right" valign="top"><a id="ab2e66f0d56ee88c5c5be93d850a7619c" name="ab2e66f0d56ee88c5c5be93d850a7619c"></a>
static Result&lt; std::unique_ptr&lt; <a class="el" href="classiceberg_1_1InheritableMetadata.html">InheritableMetadata</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Empty</b> ()</td></tr>
<tr class="memdesc:ab2e66f0d56ee88c5c5be93d850a7619c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an empty metadata instance that applies no inheritance. <br /></td></tr>
<tr class="separator:ab2e66f0d56ee88c5c5be93d850a7619c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43c9ace6eff5289d10fe791cd942a2be" id="r_a43c9ace6eff5289d10fe791cd942a2be"><td class="memItemLeft" align="right" valign="top">static Result&lt; std::unique_ptr&lt; <a class="el" href="classiceberg_1_1InheritableMetadata.html">InheritableMetadata</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classiceberg_1_1InheritableMetadataFactory.html#a43c9ace6eff5289d10fe791cd942a2be">FromManifest</a> (const <a class="el" href="structiceberg_1_1ManifestFile.html">ManifestFile</a> &amp;manifest)</td></tr>
<tr class="memdesc:a43c9ace6eff5289d10fe791cd942a2be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create metadata instance from a manifest file. <br /></td></tr>
<tr class="separator:a43c9ace6eff5289d10fe791cd942a2be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bd33a8d9058f4c955928ae627f3842c" id="r_a1bd33a8d9058f4c955928ae627f3842c"><td class="memItemLeft" align="right" valign="top">static Result&lt; std::unique_ptr&lt; <a class="el" href="classiceberg_1_1InheritableMetadata.html">InheritableMetadata</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classiceberg_1_1InheritableMetadataFactory.html#a1bd33a8d9058f4c955928ae627f3842c">ForCopy</a> (int64_t snapshot_id)</td></tr>
<tr class="memdesc:a1bd33a8d9058f4c955928ae627f3842c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create metadata instance for rewriting a manifest before commit. <br /></td></tr>
<tr class="separator:a1bd33a8d9058f4c955928ae627f3842c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Factory for creating <a class="el" href="classiceberg_1_1InheritableMetadata.html" title="Interface for applying inheritable metadata to manifest entries.">InheritableMetadata</a> instances. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a1bd33a8d9058f4c955928ae627f3842c" name="a1bd33a8d9058f4c955928ae627f3842c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1bd33a8d9058f4c955928ae627f3842c">&#9670;&#160;</a></span>ForCopy()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Result&lt; std::unique_ptr&lt; <a class="el" href="classiceberg_1_1InheritableMetadata.html">InheritableMetadata</a> &gt; &gt; iceberg::InheritableMetadataFactory::ForCopy </td>
<td>(</td>
<td class="paramtype">int64_t&#160;</td>
<td class="paramname"><em>snapshot_id</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create metadata instance for rewriting a manifest before commit. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">snapshot_id</td><td>The snapshot ID for the copy operation. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Inheritable metadata for copying. </dd></dl>
</div>
</div>
<a id="a43c9ace6eff5289d10fe791cd942a2be" name="a43c9ace6eff5289d10fe791cd942a2be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43c9ace6eff5289d10fe791cd942a2be">&#9670;&#160;</a></span>FromManifest()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Result&lt; std::unique_ptr&lt; <a class="el" href="classiceberg_1_1InheritableMetadata.html">InheritableMetadata</a> &gt; &gt; iceberg::InheritableMetadataFactory::FromManifest </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structiceberg_1_1ManifestFile.html">ManifestFile</a> &amp;&#160;</td>
<td class="paramname"><em>manifest</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create metadata instance from a manifest file. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">manifest</td><td>The manifest file to extract metadata from. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Inheritable metadata based on the manifest. </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>iceberg/<a class="el" href="inheritable__metadata_8h_source.html">inheritable_metadata.h</a></li>
<li>iceberg/<b>inheritable_metadata.cc</b></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>