blob: 7776634683460e3996ce6836863326927bf7307c [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::ObjectStoreLocationProvider 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_1ObjectStoreLocationProvider.html">ObjectStoreLocationProvider</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classiceberg_1_1ObjectStoreLocationProvider-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">iceberg::ObjectStoreLocationProvider Class Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for iceberg::ObjectStoreLocationProvider:</div>
<div class="dyncontent">
<div class="center">
<img src="classiceberg_1_1ObjectStoreLocationProvider.png" usemap="#iceberg::ObjectStoreLocationProvider_map" alt=""/>
<map id="iceberg::ObjectStoreLocationProvider_map" name="iceberg::ObjectStoreLocationProvider_map">
<area href="classiceberg_1_1LocationProvider.html" title="Interface for providing data file locations." alt="iceberg::LocationProvider" shape="rect" coords="0,0,225,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa92d8b871876b70ee65187119f7e2d92" id="r_aa92d8b871876b70ee65187119f7e2d92"><td class="memItemLeft" align="right" valign="top"><a id="aa92d8b871876b70ee65187119f7e2d92" name="aa92d8b871876b70ee65187119f7e2d92"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ObjectStoreLocationProvider</b> (std::string_view location, const <a class="el" href="classiceberg_1_1TableProperties.html">TableProperties</a> &amp;properties)</td></tr>
<tr class="separator:aa92d8b871876b70ee65187119f7e2d92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7566d2f945d3ec0f7219626c88ed2a6d" id="r_a7566d2f945d3ec0f7219626c88ed2a6d"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classiceberg_1_1ObjectStoreLocationProvider.html#a7566d2f945d3ec0f7219626c88ed2a6d">NewDataLocation</a> (std::string_view filename) override</td></tr>
<tr class="memdesc:a7566d2f945d3ec0f7219626c88ed2a6d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a fully-qualified data file location for the given filename. <br /></td></tr>
<tr class="separator:a7566d2f945d3ec0f7219626c88ed2a6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59d7a7cb7361a4078bddd321ef2e6970" id="r_a59d7a7cb7361a4078bddd321ef2e6970"><td class="memItemLeft" align="right" valign="top">Result&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classiceberg_1_1ObjectStoreLocationProvider.html#a59d7a7cb7361a4078bddd321ef2e6970">NewDataLocation</a> (const <a class="el" href="classiceberg_1_1PartitionSpec.html">PartitionSpec</a> &amp;spec, const <a class="el" href="classiceberg_1_1PartitionValues.html">PartitionValues</a> &amp;partition, std::string_view filename) override</td></tr>
<tr class="memdesc:a59d7a7cb7361a4078bddd321ef2e6970"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a fully-qualified data file location for the given partition and filename. <br /></td></tr>
<tr class="separator:a59d7a7cb7361a4078bddd321ef2e6970"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classiceberg_1_1LocationProvider"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classiceberg_1_1LocationProvider')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classiceberg_1_1LocationProvider.html">iceberg::LocationProvider</a></td></tr>
<tr class="memitem:a82530b5f5a5eb0c2bbc799851e268e39 inherit pub_static_methods_classiceberg_1_1LocationProvider" id="r_a82530b5f5a5eb0c2bbc799851e268e39"><td class="memItemLeft" align="right" valign="top">static Result&lt; std::unique_ptr&lt; <a class="el" href="classiceberg_1_1LocationProvider.html">LocationProvider</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classiceberg_1_1LocationProvider.html#a82530b5f5a5eb0c2bbc799851e268e39">Make</a> (std::string_view location, const <a class="el" href="classiceberg_1_1TableProperties.html">TableProperties</a> &amp;properties)</td></tr>
<tr class="memdesc:a82530b5f5a5eb0c2bbc799851e268e39 inherit pub_static_methods_classiceberg_1_1LocationProvider"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a <a class="el" href="classiceberg_1_1LocationProvider.html" title="Interface for providing data file locations.">LocationProvider</a> for the given table location and properties. <br /></td></tr>
<tr class="separator:a82530b5f5a5eb0c2bbc799851e268e39 inherit pub_static_methods_classiceberg_1_1LocationProvider"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a59d7a7cb7361a4078bddd321ef2e6970" name="a59d7a7cb7361a4078bddd321ef2e6970"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59d7a7cb7361a4078bddd321ef2e6970">&#9670;&#160;</a></span>NewDataLocation() <span class="overload">[1/2]</span></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::string &gt; iceberg::ObjectStoreLocationProvider::NewDataLocation </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classiceberg_1_1PartitionSpec.html">PartitionSpec</a> &amp;&#160;</td>
<td class="paramname"><em>spec</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classiceberg_1_1PartitionValues.html">PartitionValues</a> &amp;&#160;</td>
<td class="paramname"><em>partition</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::string_view&#160;</td>
<td class="paramname"><em>filename</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return a fully-qualified data file location for the given partition and filename. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">spec</td><td>partition spec </td></tr>
<tr><td class="paramname">partition</td><td>a tuple of partition values matching the given spec </td></tr>
<tr><td class="paramname">filename</td><td>file name </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a fully-qualified location URI for a data file </dd></dl>
<p>Implements <a class="el" href="classiceberg_1_1LocationProvider.html#a4d887eeb0124f7221e8e062afd602609">iceberg::LocationProvider</a>.</p>
</div>
</div>
<a id="a7566d2f945d3ec0f7219626c88ed2a6d" name="a7566d2f945d3ec0f7219626c88ed2a6d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7566d2f945d3ec0f7219626c88ed2a6d">&#9670;&#160;</a></span>NewDataLocation() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::string iceberg::ObjectStoreLocationProvider::NewDataLocation </td>
<td>(</td>
<td class="paramtype">std::string_view&#160;</td>
<td class="paramname"><em>filename</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return a fully-qualified data file location for the given filename. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">filename</td><td>file name to get location </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a fully-qualified location URI for a data file </dd></dl>
<p>Implements <a class="el" href="classiceberg_1_1LocationProvider.html#a0d29eedea9a2149c98cd304d24e35400">iceberg::LocationProvider</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>iceberg/<b>location_provider.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>