blob: f1296983fcefb6c9eedb7263de19e6c89f7fa2f0 [file]
<!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::DefaultLocationProvider 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_1DefaultLocationProvider.html">DefaultLocationProvider</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_1DefaultLocationProvider-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">iceberg::DefaultLocationProvider Class Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for iceberg::DefaultLocationProvider:</div>
<div class="dyncontent">
<div class="center">
<img src="classiceberg_1_1DefaultLocationProvider.png" usemap="#iceberg::DefaultLocationProvider_map" alt=""/>
<map id="iceberg::DefaultLocationProvider_map" name="iceberg::DefaultLocationProvider_map">
<area href="classiceberg_1_1LocationProvider.html" title="Interface for providing data file locations." alt="iceberg::LocationProvider" shape="rect" coords="0,0,198,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:a9ddd6dd3f7bbc2143b13565d74f4253c" id="r_a9ddd6dd3f7bbc2143b13565d74f4253c"><td class="memItemLeft" align="right" valign="top"><a id="a9ddd6dd3f7bbc2143b13565d74f4253c" name="a9ddd6dd3f7bbc2143b13565d74f4253c"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>DefaultLocationProvider</b> (std::string_view location, const <a class="el" href="classiceberg_1_1TableProperties.html">TableProperties</a> &amp;properties)</td></tr>
<tr class="separator:a9ddd6dd3f7bbc2143b13565d74f4253c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c6622552ce784fc157c47259df49cca" id="r_a2c6622552ce784fc157c47259df49cca"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classiceberg_1_1DefaultLocationProvider.html#a2c6622552ce784fc157c47259df49cca">NewDataLocation</a> (std::string_view filename) override</td></tr>
<tr class="memdesc:a2c6622552ce784fc157c47259df49cca"><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:a2c6622552ce784fc157c47259df49cca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31bb13bd46bf313d806045d1aa499a34" id="r_a31bb13bd46bf313d806045d1aa499a34"><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_1DefaultLocationProvider.html#a31bb13bd46bf313d806045d1aa499a34">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:a31bb13bd46bf313d806045d1aa499a34"><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:a31bb13bd46bf313d806045d1aa499a34"><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="a31bb13bd46bf313d806045d1aa499a34" name="a31bb13bd46bf313d806045d1aa499a34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31bb13bd46bf313d806045d1aa499a34">&#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::DefaultLocationProvider::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="a2c6622552ce784fc157c47259df49cca" name="a2c6622552ce784fc157c47259df49cca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c6622552ce784fc157c47259df49cca">&#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::DefaultLocationProvider::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>