| <!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/manifest/manifest_reader.h Source File</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&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&dn=expat.txt MIT */ |
| $(function() { |
| initMenu('',true,false,'search.php','Search'); |
| $(document).ready(function() { init_search(); }); |
| }); |
| /* @license-end */ |
| </script> |
| <div id="main-nav"></div> |
| <script type="text/javascript"> |
| /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ |
| $(document).ready(function() { init_codefold(0); }); |
| /* @license-end */ |
| </script> |
| <!-- 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"><a class="el" href="dir_51d145386ec5f52aa06ebf5e46944abc.html">iceberg</a></li><li class="navelem"><a class="el" href="dir_533ff46f32578e24c36e8622f02412db.html">manifest</a></li> </ul> |
| </div> |
| </div><!-- top --> |
| <div class="header"> |
| <div class="headertitle"><div class="title">manifest_reader.h</div></div> |
| </div><!--header--> |
| <div class="contents"> |
| <a href="manifest__reader_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/*</span></div> |
| <div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one</span></div> |
| <div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> * or more contributor license agreements. See the NOTICE file</span></div> |
| <div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> * distributed with this work for additional information</span></div> |
| <div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> * regarding copyright ownership. The ASF licenses this file</span></div> |
| <div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> * to you under the Apache License, Version 2.0 (the</span></div> |
| <div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"> * "License"); you may not use this file except in compliance</span></div> |
| <div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment"> * with the License. You may obtain a copy of the License at</span></div> |
| <div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment"> *</span></div> |
| <div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div> |
| <div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment"> *</span></div> |
| <div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment"> * Unless required by applicable law or agreed to in writing,</span></div> |
| <div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment"> * software distributed under the License is distributed on an</span></div> |
| <div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div> |
| <div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment"> * KIND, either express or implied. See the License for the</span></div> |
| <div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment"> * specific language governing permissions and limitations</span></div> |
| <div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment"> * under the License.</span></div> |
| <div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment"> */</span></div> |
| <div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div> |
| <div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#pragma once</span></div> |
| <div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div> |
| <div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div> |
| <div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include <cstdint></span></div> |
| <div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include <memory></span></div> |
| <div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include <optional></span></div> |
| <div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include <string></span></div> |
| <div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include <unordered_map></span></div> |
| <div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#include <vector></span></div> |
| <div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div> |
| <div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="preprocessor">#include "<a class="code" href="iceberg__export_8h.html">iceberg/iceberg_export.h</a>"</span></div> |
| <div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="preprocessor">#include "<a class="code" href="counter_8h.html">iceberg/metrics/counter.h</a>"</span></div> |
| <div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="preprocessor">#include "<a class="code" href="result_8h.html">iceberg/result.h</a>"</span></div> |
| <div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="preprocessor">#include "<a class="code" href="type__fwd_8h.html">iceberg/type_fwd.h</a>"</span></div> |
| <div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div> |
| <div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceiceberg.html">iceberg</a> {</div> |
| <div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> </div> |
| <div class="foldopen" id="foldopen00040" data-start="{" data-end="};"> |
| <div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="classiceberg_1_1ManifestReader.html"> 40</a></span><span class="keyword">class </span>ICEBERG_EXPORT <a class="code hl_class" href="classiceberg_1_1ManifestReader.html">ManifestReader</a> {</div> |
| <div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">public</span>:</div> |
| <div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">virtual</span> <a class="code hl_class" href="classiceberg_1_1ManifestReader.html">~ManifestReader</a>() = <span class="keywordflow">default</span>;</div> |
| <div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div> |
| <div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="classiceberg_1_1ManifestReader.html#a068079494a5e9143005e42f60cb39bcc"> 47</a></span> <span class="keyword">virtual</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result<std::vector<ManifestEntry></a>> <a class="code hl_function" href="classiceberg_1_1ManifestReader.html#a068079494a5e9143005e42f60cb39bcc">Entries</a>() = 0;</div> |
| <div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div> |
| <div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="classiceberg_1_1ManifestReader.html#ad33ef890dc38eb5640903cd4ec7ed961"> 50</a></span> <span class="keyword">virtual</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result<std::vector<ManifestEntry></a>> <a class="code hl_function" href="classiceberg_1_1ManifestReader.html#ad33ef890dc38eb5640903cd4ec7ed961">LiveEntries</a>() = 0;</div> |
| <div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div> |
| <div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="classiceberg_1_1ManifestReader.html#a77c8f0b9f3498979e486794ab03e93ca"> 56</a></span> <span class="keyword">virtual</span> <a class="code hl_class" href="classiceberg_1_1ManifestReader.html">ManifestReader</a>& <a class="code hl_function" href="classiceberg_1_1ManifestReader.html#a77c8f0b9f3498979e486794ab03e93ca">Select</a>(<span class="keyword">const</span> std::vector<std::string>& columns) = 0;</div> |
| <div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div> |
| <div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="classiceberg_1_1ManifestReader.html#a8f8ef9b4119bd5337f810ea35b101bf5"> 62</a></span> <span class="keyword">virtual</span> <a class="code hl_class" href="classiceberg_1_1ManifestReader.html">ManifestReader</a>& <a class="code hl_function" href="classiceberg_1_1ManifestReader.html#a8f8ef9b4119bd5337f810ea35b101bf5">FilterPartitions</a>(std::shared_ptr<Expression> expr) = 0;</div> |
| <div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div> |
| <div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="classiceberg_1_1ManifestReader.html#aaae76b985329c0bbd2b614515567cafa"> 65</a></span> <span class="keyword">virtual</span> <a class="code hl_class" href="classiceberg_1_1ManifestReader.html">ManifestReader</a>& <a class="code hl_function" href="classiceberg_1_1ManifestReader.html#aaae76b985329c0bbd2b614515567cafa">FilterPartitions</a>(</div> |
| <div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> std::shared_ptr<class PartitionSet> partition_set) = 0;</div> |
| <div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> </div> |
| <div class="line"><a id="l00072" name="l00072"></a><span class="lineno"><a class="line" href="classiceberg_1_1ManifestReader.html#a55a0f0a0348dc51ddb1cb29a5e0e91d1"> 72</a></span> <span class="keyword">virtual</span> <a class="code hl_class" href="classiceberg_1_1ManifestReader.html">ManifestReader</a>& <a class="code hl_function" href="classiceberg_1_1ManifestReader.html#a55a0f0a0348dc51ddb1cb29a5e0e91d1">FilterRows</a>(std::shared_ptr<Expression> expr) = 0;</div> |
| <div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> </div> |
| <div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="classiceberg_1_1ManifestReader.html#aab85a50e27e7d0809d4c5040ec1240c2"> 75</a></span> <span class="keyword">virtual</span> <a class="code hl_class" href="classiceberg_1_1ManifestReader.html">ManifestReader</a>& <a class="code hl_function" href="classiceberg_1_1ManifestReader.html#aab85a50e27e7d0809d4c5040ec1240c2">CaseSensitive</a>(<span class="keywordtype">bool</span> case_sensitive) = 0;</div> |
| <div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> </div> |
| <div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="classiceberg_1_1ManifestReader.html#ab21d9e39fb471ce55d424d8f142d790c"> 78</a></span> <span class="keyword">virtual</span> <a class="code hl_class" href="classiceberg_1_1ManifestReader.html">ManifestReader</a>& <a class="code hl_function" href="classiceberg_1_1ManifestReader.html#ab21d9e39fb471ce55d424d8f142d790c">TryDropStats</a>() = 0;</div> |
| <div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> </div> |
| <div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="classiceberg_1_1ManifestReader.html#a34d06b04e0c9d75c44b7b616fe45492b"> 81</a></span> <span class="keyword">virtual</span> <a class="code hl_class" href="classiceberg_1_1ManifestReader.html">ManifestReader</a>& <a class="code hl_function" href="classiceberg_1_1ManifestReader.html#a34d06b04e0c9d75c44b7b616fe45492b">SkipCounter</a>(std::shared_ptr<Counter> counter) = 0;</div> |
| <div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> </div> |
| <div class="line"><a id="l00087" name="l00087"></a><span class="lineno"><a class="line" href="classiceberg_1_1ManifestReader.html#a3ca85682fc65ee3e9c6f9c5407ad9741"> 87</a></span> <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classiceberg_1_1ManifestReader.html#a3ca85682fc65ee3e9c6f9c5407ad9741">ShouldDropStats</a>(<span class="keyword">const</span> std::vector<std::string>& columns);</div> |
| <div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> </div> |
| <div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="classiceberg_1_1ManifestReader.html#ae0f12e6aaf58008e8ea4a3f94b012d51"> 96</a></span> <span class="keyword">static</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result<std::unique_ptr<ManifestReader></a>> <a class="code hl_function" href="classiceberg_1_1ManifestReader.html#ae0f12e6aaf58008e8ea4a3f94b012d51">Make</a>(<span class="keyword">const</span> <a class="code hl_struct" href="structiceberg_1_1ManifestFile.html">ManifestFile</a>& manifest,</div> |
| <div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> std::shared_ptr<FileIO> file_io,</div> |
| <div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> std::shared_ptr<Schema> schema,</div> |
| <div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> std::shared_ptr<PartitionSpec> spec,</div> |
| <div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keywordtype">bool</span> is_committed = <span class="keyword">true</span>);</div> |
| <div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> </div> |
| <div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="classiceberg_1_1ManifestReader.html#a7a90f3c41d7799952a70d51358566f71"> 109</a></span> <span class="keyword">static</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result<std::unique_ptr<ManifestReader></a>> <a class="code hl_function" href="classiceberg_1_1ManifestReader.html#a7a90f3c41d7799952a70d51358566f71">Make</a>(</div> |
| <div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <span class="keyword">const</span> <a class="code hl_struct" href="structiceberg_1_1ManifestFile.html">ManifestFile</a>& manifest, std::shared_ptr<FileIO> file_io,</div> |
| <div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> std::shared_ptr<Schema> schema,</div> |
| <div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <span class="keyword">const</span> std::unordered_map<int32_t, std::shared_ptr<PartitionSpec>>& specs_by_id,</div> |
| <div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <span class="keywordtype">bool</span> is_committed = <span class="keyword">true</span>);</div> |
| <div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> </div> |
| <div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="classiceberg_1_1ManifestReader.html#a3fc4c79c65dde7ac846d353de92e6fb5"> 125</a></span> <span class="keyword">static</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result<std::unique_ptr<ManifestReader></a>> <a class="code hl_function" href="classiceberg_1_1ManifestReader.html#a3fc4c79c65dde7ac846d353de92e6fb5">Make</a>(</div> |
| <div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> std::string_view manifest_location, std::optional<int64_t> manifest_length,</div> |
| <div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> std::shared_ptr<FileIO> file_io, std::shared_ptr<Schema> schema,</div> |
| <div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> std::shared_ptr<PartitionSpec> spec,</div> |
| <div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> std::unique_ptr<InheritableMetadata> inheritable_metadata,</div> |
| <div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> std::optional<int64_t> first_row_id = std::nullopt, <span class="keywordtype">bool</span> is_committed = <span class="keyword">true</span>);</div> |
| <div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> </div> |
| <div class="line"><a id="l00133" name="l00133"></a><span class="lineno"><a class="line" href="classiceberg_1_1ManifestReader.html#a9b7a2e7a0c21492e3fafed9bc4f9b3a1"> 133</a></span> <span class="keyword">static</span> std::vector<std::string> <a class="code hl_function" href="classiceberg_1_1ManifestReader.html#a9b7a2e7a0c21492e3fafed9bc4f9b3a1">WithStatsColumns</a>(</div> |
| <div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <span class="keyword">const</span> std::vector<std::string>& columns);</div> |
| <div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span>};</div> |
| </div> |
| <div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> </div> |
| <div class="foldopen" id="foldopen00138" data-start="{" data-end="};"> |
| <div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="classiceberg_1_1ManifestListReader.html"> 138</a></span><span class="keyword">class </span>ICEBERG_EXPORT <a class="code hl_class" href="classiceberg_1_1ManifestListReader.html">ManifestListReader</a> {</div> |
| <div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <span class="keyword">public</span>:</div> |
| <div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="keyword">virtual</span> <a class="code hl_class" href="classiceberg_1_1ManifestListReader.html">~ManifestListReader</a>() = <span class="keywordflow">default</span>;</div> |
| <div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> </div> |
| <div class="line"><a id="l00143" name="l00143"></a><span class="lineno"><a class="line" href="classiceberg_1_1ManifestListReader.html#aff738346c62b86ecddb6ce60cb315eeb"> 143</a></span> <span class="keyword">virtual</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result<std::vector<ManifestFile></a>> <a class="code hl_function" href="classiceberg_1_1ManifestListReader.html#aff738346c62b86ecddb6ce60cb315eeb">Files</a>() <span class="keyword">const</span> = 0;</div> |
| <div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> </div> |
| <div class="line"><a id="l00146" name="l00146"></a><span class="lineno"><a class="line" href="classiceberg_1_1ManifestListReader.html#a95229134617d077aed8736dd06e3e6a3"> 146</a></span> <span class="keyword">virtual</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result<std::unordered_map<std::string, std::string></a>> <a class="code hl_function" href="classiceberg_1_1ManifestListReader.html#a95229134617d077aed8736dd06e3e6a3">Metadata</a>() <span class="keyword">const</span> = 0;</div> |
| <div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> </div> |
| <div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="classiceberg_1_1ManifestListReader.html#a524ad4c311559aa7641290b90f2a8126"> 152</a></span> <span class="keyword">static</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result<std::unique_ptr<ManifestListReader></a>> <a class="code hl_function" href="classiceberg_1_1ManifestListReader.html#a524ad4c311559aa7641290b90f2a8126">Make</a>(</div> |
| <div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> std::string_view manifest_list_location, std::shared_ptr<FileIO> file_io);</div> |
| <div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span>};</div> |
| </div> |
| <div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> </div> |
| <div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span>} <span class="comment">// namespace iceberg</span></div> |
| <div class="ttc" id="aclassiceberg_1_1ManifestListReader_html"><div class="ttname"><a href="classiceberg_1_1ManifestListReader.html">iceberg::ManifestListReader</a></div><div class="ttdoc">Read manifest files from a manifest list file.</div><div class="ttdef"><b>Definition</b> manifest_reader.h:138</div></div> |
| <div class="ttc" id="aclassiceberg_1_1ManifestListReader_html_a524ad4c311559aa7641290b90f2a8126"><div class="ttname"><a href="classiceberg_1_1ManifestListReader.html#a524ad4c311559aa7641290b90f2a8126">iceberg::ManifestListReader::Make</a></div><div class="ttdeci">static Result< std::unique_ptr< ManifestListReader > > Make(std::string_view manifest_list_location, std::shared_ptr< FileIO > file_io)</div><div class="ttdoc">Creates a reader for the manifest list.</div></div> |
| <div class="ttc" id="aclassiceberg_1_1ManifestListReader_html_a95229134617d077aed8736dd06e3e6a3"><div class="ttname"><a href="classiceberg_1_1ManifestListReader.html#a95229134617d077aed8736dd06e3e6a3">iceberg::ManifestListReader::Metadata</a></div><div class="ttdeci">virtual Result< std::unordered_map< std::string, std::string > > Metadata() const =0</div><div class="ttdoc">Get the metadata of the manifest list file.</div></div> |
| <div class="ttc" id="aclassiceberg_1_1ManifestListReader_html_aff738346c62b86ecddb6ce60cb315eeb"><div class="ttname"><a href="classiceberg_1_1ManifestListReader.html#aff738346c62b86ecddb6ce60cb315eeb">iceberg::ManifestListReader::Files</a></div><div class="ttdeci">virtual Result< std::vector< ManifestFile > > Files() const =0</div><div class="ttdoc">Read all manifest files in the manifest list file.</div></div> |
| <div class="ttc" id="aclassiceberg_1_1ManifestReader_html"><div class="ttname"><a href="classiceberg_1_1ManifestReader.html">iceberg::ManifestReader</a></div><div class="ttdoc">Read manifest entries from a manifest file.</div><div class="ttdef"><b>Definition</b> manifest_reader.h:40</div></div> |
| <div class="ttc" id="aclassiceberg_1_1ManifestReader_html_a068079494a5e9143005e42f60cb39bcc"><div class="ttname"><a href="classiceberg_1_1ManifestReader.html#a068079494a5e9143005e42f60cb39bcc">iceberg::ManifestReader::Entries</a></div><div class="ttdeci">virtual Result< std::vector< ManifestEntry > > Entries()=0</div><div class="ttdoc">Read all manifest entries in the manifest file.</div></div> |
| <div class="ttc" id="aclassiceberg_1_1ManifestReader_html_a34d06b04e0c9d75c44b7b616fe45492b"><div class="ttname"><a href="classiceberg_1_1ManifestReader.html#a34d06b04e0c9d75c44b7b616fe45492b">iceberg::ManifestReader::SkipCounter</a></div><div class="ttdeci">virtual ManifestReader & SkipCounter(std::shared_ptr< Counter > counter)=0</div><div class="ttdoc">Set a counter to increment for each entry skipped by per-entry filters.</div></div> |
| <div class="ttc" id="aclassiceberg_1_1ManifestReader_html_a3ca85682fc65ee3e9c6f9c5407ad9741"><div class="ttname"><a href="classiceberg_1_1ManifestReader.html#a3ca85682fc65ee3e9c6f9c5407ad9741">iceberg::ManifestReader::ShouldDropStats</a></div><div class="ttdeci">static bool ShouldDropStats(const std::vector< std::string > &columns)</div><div class="ttdoc">Determine whether stats should be dropped based on selected columns.</div></div> |
| <div class="ttc" id="aclassiceberg_1_1ManifestReader_html_a3fc4c79c65dde7ac846d353de92e6fb5"><div class="ttname"><a href="classiceberg_1_1ManifestReader.html#a3fc4c79c65dde7ac846d353de92e6fb5">iceberg::ManifestReader::Make</a></div><div class="ttdeci">static Result< std::unique_ptr< ManifestReader > > Make(std::string_view manifest_location, std::optional< int64_t > manifest_length, std::shared_ptr< FileIO > file_io, std::shared_ptr< Schema > schema, std::shared_ptr< PartitionSpec > spec, std::unique_ptr< InheritableMetadata > inheritable_metadata, std::optional< int64_t > first_row_id=std::nullopt, bool is_committed=true)</div><div class="ttdoc">Creates a reader for a manifest file.</div></div> |
| <div class="ttc" id="aclassiceberg_1_1ManifestReader_html_a55a0f0a0348dc51ddb1cb29a5e0e91d1"><div class="ttname"><a href="classiceberg_1_1ManifestReader.html#a55a0f0a0348dc51ddb1cb29a5e0e91d1">iceberg::ManifestReader::FilterRows</a></div><div class="ttdeci">virtual ManifestReader & FilterRows(std::shared_ptr< Expression > expr)=0</div><div class="ttdoc">Filter manifest entries by row-level filter.</div></div> |
| <div class="ttc" id="aclassiceberg_1_1ManifestReader_html_a77c8f0b9f3498979e486794ab03e93ca"><div class="ttname"><a href="classiceberg_1_1ManifestReader.html#a77c8f0b9f3498979e486794ab03e93ca">iceberg::ManifestReader::Select</a></div><div class="ttdeci">virtual ManifestReader & Select(const std::vector< std::string > &columns)=0</div><div class="ttdoc">Select specific columns of data file to read from the manifest entries.</div></div> |
| <div class="ttc" id="aclassiceberg_1_1ManifestReader_html_a7a90f3c41d7799952a70d51358566f71"><div class="ttname"><a href="classiceberg_1_1ManifestReader.html#a7a90f3c41d7799952a70d51358566f71">iceberg::ManifestReader::Make</a></div><div class="ttdeci">static Result< std::unique_ptr< ManifestReader > > Make(const ManifestFile &manifest, std::shared_ptr< FileIO > file_io, std::shared_ptr< Schema > schema, const std::unordered_map< int32_t, std::shared_ptr< PartitionSpec > > &specs_by_id, bool is_committed=true)</div><div class="ttdoc">Creates a reader for a manifest file using specs keyed by ID.</div></div> |
| <div class="ttc" id="aclassiceberg_1_1ManifestReader_html_a8f8ef9b4119bd5337f810ea35b101bf5"><div class="ttname"><a href="classiceberg_1_1ManifestReader.html#a8f8ef9b4119bd5337f810ea35b101bf5">iceberg::ManifestReader::FilterPartitions</a></div><div class="ttdeci">virtual ManifestReader & FilterPartitions(std::shared_ptr< Expression > expr)=0</div><div class="ttdoc">Filter manifest entries by partition filter.</div></div> |
| <div class="ttc" id="aclassiceberg_1_1ManifestReader_html_a9b7a2e7a0c21492e3fafed9bc4f9b3a1"><div class="ttname"><a href="classiceberg_1_1ManifestReader.html#a9b7a2e7a0c21492e3fafed9bc4f9b3a1">iceberg::ManifestReader::WithStatsColumns</a></div><div class="ttdeci">static std::vector< std::string > WithStatsColumns(const std::vector< std::string > &columns)</div><div class="ttdoc">Add stats columns to the column list if needed.</div></div> |
| <div class="ttc" id="aclassiceberg_1_1ManifestReader_html_aaae76b985329c0bbd2b614515567cafa"><div class="ttname"><a href="classiceberg_1_1ManifestReader.html#aaae76b985329c0bbd2b614515567cafa">iceberg::ManifestReader::FilterPartitions</a></div><div class="ttdeci">virtual ManifestReader & FilterPartitions(std::shared_ptr< class PartitionSet > partition_set)=0</div><div class="ttdoc">Filter manifest entries to a specific set of partitions.</div></div> |
| <div class="ttc" id="aclassiceberg_1_1ManifestReader_html_aab85a50e27e7d0809d4c5040ec1240c2"><div class="ttname"><a href="classiceberg_1_1ManifestReader.html#aab85a50e27e7d0809d4c5040ec1240c2">iceberg::ManifestReader::CaseSensitive</a></div><div class="ttdeci">virtual ManifestReader & CaseSensitive(bool case_sensitive)=0</div><div class="ttdoc">Set case sensitivity for column name matching.</div></div> |
| <div class="ttc" id="aclassiceberg_1_1ManifestReader_html_ab21d9e39fb471ce55d424d8f142d790c"><div class="ttname"><a href="classiceberg_1_1ManifestReader.html#ab21d9e39fb471ce55d424d8f142d790c">iceberg::ManifestReader::TryDropStats</a></div><div class="ttdeci">virtual ManifestReader & TryDropStats()=0</div><div class="ttdoc">Try to drop stats from returned DataFile objects.</div></div> |
| <div class="ttc" id="aclassiceberg_1_1ManifestReader_html_ad33ef890dc38eb5640903cd4ec7ed961"><div class="ttname"><a href="classiceberg_1_1ManifestReader.html#ad33ef890dc38eb5640903cd4ec7ed961">iceberg::ManifestReader::LiveEntries</a></div><div class="ttdeci">virtual Result< std::vector< ManifestEntry > > LiveEntries()=0</div><div class="ttdoc">Read only live (non-deleted) manifest entries.</div></div> |
| <div class="ttc" id="aclassiceberg_1_1ManifestReader_html_ae0f12e6aaf58008e8ea4a3f94b012d51"><div class="ttname"><a href="classiceberg_1_1ManifestReader.html#ae0f12e6aaf58008e8ea4a3f94b012d51">iceberg::ManifestReader::Make</a></div><div class="ttdeci">static Result< std::unique_ptr< ManifestReader > > Make(const ManifestFile &manifest, std::shared_ptr< FileIO > file_io, std::shared_ptr< Schema > schema, std::shared_ptr< PartitionSpec > spec, bool is_committed=true)</div><div class="ttdoc">Creates a reader for a manifest file.</div></div> |
| <div class="ttc" id="acounter_8h_html"><div class="ttname"><a href="counter_8h.html">counter.h</a></div><div class="ttdoc">Define metrics counters.</div></div> |
| <div class="ttc" id="aiceberg__export_8h_html"><div class="ttname"><a href="iceberg__export_8h.html">iceberg_export.h</a></div><div class="ttdoc">Define symbol visibility macros for core Iceberg APIs.</div></div> |
| <div class="ttc" id="anamespaceiceberg_html"><div class="ttname"><a href="namespaceiceberg.html">iceberg</a></div><div class="ttdoc">Core Apache Iceberg C++ APIs.</div><div class="ttdef"><b>Definition</b> arrow_io_util.h:33</div></div> |
| <div class="ttc" id="anamespaceiceberg_html_a9d5594e371beb516b0120e07e69d3af6"><div class="ttname"><a href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">iceberg::Result</a></div><div class="ttdeci">std::expected< T, E > Result</div><div class="ttdoc">Result alias.</div><div class="ttdef"><b>Definition</b> result.h:88</div></div> |
| <div class="ttc" id="aresult_8h_html"><div class="ttname"><a href="result_8h.html">result.h</a></div><div class="ttdoc">Define Result, Status, and error helpers.</div></div> |
| <div class="ttc" id="astructiceberg_1_1ManifestFile_html"><div class="ttname"><a href="structiceberg_1_1ManifestFile.html">iceberg::ManifestFile</a></div><div class="ttdoc">Entry in a manifest list.</div><div class="ttdef"><b>Definition</b> manifest_list.h:85</div></div> |
| <div class="ttc" id="atype__fwd_8h_html"><div class="ttname"><a href="type__fwd_8h.html">type_fwd.h</a></div></div> |
| </div><!-- fragment --></div><!-- contents --> |
| <!-- start footer part --> |
| <hr class="footer"/><address class="footer"><small> |
| Generated by <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> |