blob: 71c30887afa47a462965f44e10151cd8a261e1f7 [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>Paimon-cpp: /home/runner/work/paimon-cpp/paimon-cpp/include/paimon/write_context.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">Paimon-cpp
</div>
<div id="projectbrief">A high-performance C++ implementation of Apache Paimon</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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;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_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_d5ce83a91c1ada980bd794a9f3314520.html">paimon</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">write_context.h</div></div>
</div><!--header-->
<div class="contents">
<a href="write__context_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"> * &quot;License&quot;); 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, software</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment"> * See the License for the specific language governing permissions and</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment"> * limitations under the License.</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment"> */</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#include &lt;cstdint&gt;</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="preprocessor">#include &lt;map&gt;</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include &lt;optional&gt;</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include &quot;<a class="code" href="identifier_8h.html">paimon/catalog/identifier.h</a>&quot;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include &quot;<a class="code" href="result_8h.html">paimon/result.h</a>&quot;</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#include &quot;<a class="code" href="type__fwd_8h.html">paimon/type_fwd.h</a>&quot;</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="preprocessor">#include &quot;<a class="code" href="visibility_8h.html">paimon/visibility.h</a>&quot;</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacepaimon.html">paimon</a> {</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="keyword">class </span>Catalog;</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="keyword">class </span>Executor;</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="keyword">class </span>FormatTable;</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="keyword">class </span>MemoryPool;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> </div>
<div class="foldopen" id="foldopen00044" data-start="{" data-end="};">
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html"> 44</a></span><span class="keyword">class </span><a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">PAIMON_EXPORT</a> <a class="code hl_class" href="classpaimon_1_1_write_context.html">WriteContext</a> {</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#ac66978b8a555279c0a74c5fe9b2ee30c"> 46</a></span> <a class="code hl_function" href="classpaimon_1_1_write_context.html#ac66978b8a555279c0a74c5fe9b2ee30c">WriteContext</a>(<span class="keyword">const</span> std::string&amp; <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">root_path</a>, <span class="keyword">const</span> std::string&amp; commit_user,</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="keywordtype">bool</span> <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">is_streaming_mode</a>, <span class="keywordtype">bool</span> <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">ignore_num_bucket_check</a>, <span class="keywordtype">bool</span> <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">ignore_previous_files</a>,</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keywordtype">bool</span> <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">enable_multi_thread_spill</a>, <span class="keyword">const</span> std::optional&lt;int32_t&gt;&amp; <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">write_id</a>,</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">const</span> std::string&amp; <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">branch</a>, <span class="keyword">const</span> std::vector&lt;std::string&gt;&amp; write_schema,</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">const</span> std::shared_ptr&lt;MemoryPool&gt;&amp; memory_pool,</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">const</span> std::shared_ptr&lt;Executor&gt;&amp; <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">executor</a>, <span class="keyword">const</span> std::string&amp; temp_directory,</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">const</span> std::shared_ptr&lt;FileSystem&gt;&amp; <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">specific_file_system</a>,</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <span class="keyword">const</span> std::map&lt;std::string, std::string&gt;&amp; <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">fs_scheme_to_identifier_map</a>,</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <span class="keyword">const</span> std::shared_ptr&lt;RealtimeContext&gt;&amp; <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">realtime_context</a>,</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <span class="keyword">const</span> std::map&lt;std::string, std::string&gt;&amp; options,</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="keyword">const</span> std::shared_ptr&lt;FormatTable&gt;&amp; <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">format_table</a>,</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">const</span> std::shared_ptr&lt;Catalog&gt;&amp; <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">catalog</a> = <span class="keyword">nullptr</span>,</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> <span class="keyword">const</span> std::optional&lt;Identifier&gt;&amp; identifier = std::nullopt);</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a94375365d1fe2193ddab679a66b4bc51"> 60</a></span> <a class="code hl_function" href="classpaimon_1_1_write_context.html#a94375365d1fe2193ddab679a66b4bc51">~WriteContext</a>();</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> </div>
<div class="foldopen" id="foldopen00062" data-start="{" data-end="}">
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a6c0da302853f5f3fe06ecd21f61c795d"> 62</a></span> <span class="keyword">const</span> std::string&amp; <a class="code hl_function" href="classpaimon_1_1_write_context.html#a6c0da302853f5f3fe06ecd21f61c795d">GetRootPath</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <span class="keywordflow">return</span> root_path_;</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> }</div>
</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div>
<div class="foldopen" id="foldopen00066" data-start="{" data-end="}">
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a46355d924bb90e10d8b2b8ff10d8af84"> 66</a></span> <span class="keyword">const</span> std::string&amp; <a class="code hl_function" href="classpaimon_1_1_write_context.html#a46355d924bb90e10d8b2b8ff10d8af84">GetCommitUser</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <span class="keywordflow">return</span> commit_user_;</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> }</div>
</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> </div>
<div class="foldopen" id="foldopen00070" data-start="{" data-end="}">
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a725006f0e7047bc41188752709ffc8d0"> 70</a></span> <span class="keyword">const</span> std::map&lt;std::string, std::string&gt;&amp; <a class="code hl_function" href="classpaimon_1_1_write_context.html#a725006f0e7047bc41188752709ffc8d0">GetFileSystemSchemeToIdentifierMap</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <span class="keywordflow">return</span> fs_scheme_to_identifier_map_;</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> }</div>
</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> </div>
<div class="foldopen" id="foldopen00074" data-start="{" data-end="}">
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a222134b39787d3b00b43f44f73ebef01"> 74</a></span> <span class="keyword">const</span> std::map&lt;std::string, std::string&gt;&amp; <a class="code hl_function" href="classpaimon_1_1_write_context.html#a222134b39787d3b00b43f44f73ebef01">GetOptions</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> <span class="keywordflow">return</span> options_;</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> }</div>
</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> </div>
<div class="foldopen" id="foldopen00078" data-start="{" data-end="}">
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a3a04d08ac7c091d3bcec5a72f7033a4a"> 78</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classpaimon_1_1_write_context.html#a3a04d08ac7c091d3bcec5a72f7033a4a">IsStreamingMode</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <span class="keywordflow">return</span> is_streaming_mode_;</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> }</div>
</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> </div>
<div class="foldopen" id="foldopen00082" data-start="{" data-end="}">
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a5ee5cb57d2d6b66f7f5dc8f6f2554657"> 82</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classpaimon_1_1_write_context.html#a5ee5cb57d2d6b66f7f5dc8f6f2554657">IgnoreNumBucketCheck</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> <span class="keywordflow">return</span> ignore_num_bucket_check_;</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> }</div>
</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> </div>
<div class="foldopen" id="foldopen00086" data-start="{" data-end="}">
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a56134cbb082b0f9dc93b454aba654d85"> 86</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classpaimon_1_1_write_context.html#a56134cbb082b0f9dc93b454aba654d85">IgnorePreviousFiles</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <span class="keywordflow">return</span> ignore_previous_files_;</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> }</div>
</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> </div>
<div class="foldopen" id="foldopen00090" data-start="{" data-end="}">
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a306872d254a0eea1fa7a1dca69f449e1"> 90</a></span> <span class="keyword">const</span> std::optional&lt;int32_t&gt; <a class="code hl_function" href="classpaimon_1_1_write_context.html#a306872d254a0eea1fa7a1dca69f449e1">GetWriteId</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <span class="keywordflow">return</span> write_id_;</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> }</div>
</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> </div>
<div class="foldopen" id="foldopen00094" data-start="{" data-end="}">
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#ac65f3c22060d4bc32948c6253025e464"> 94</a></span> <span class="keyword">const</span> std::string&amp; <a class="code hl_function" href="classpaimon_1_1_write_context.html#ac65f3c22060d4bc32948c6253025e464">GetBranch</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="keywordflow">return</span> branch_;</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> }</div>
</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> </div>
<div class="foldopen" id="foldopen00098" data-start="{" data-end="}">
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#abe6b1d911dc999349729de9d81264bfd"> 98</a></span> <span class="keyword">const</span> std::vector&lt;std::string&gt;&amp; <a class="code hl_function" href="classpaimon_1_1_write_context.html#abe6b1d911dc999349729de9d81264bfd">GetWriteSchema</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="keywordflow">return</span> write_schema_;</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> }</div>
</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> </div>
<div class="foldopen" id="foldopen00102" data-start="{" data-end="}">
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a08746e29dabc0b6049cdf80c635516b3"> 102</a></span> std::shared_ptr&lt;MemoryPool&gt; <a class="code hl_function" href="classpaimon_1_1_write_context.html#a08746e29dabc0b6049cdf80c635516b3">GetMemoryPool</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> <span class="keywordflow">return</span> memory_pool_;</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> }</div>
</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> </div>
<div class="foldopen" id="foldopen00106" data-start="{" data-end="}">
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#ad0f5adcff5b157f79675ee3de5b69483"> 106</a></span> std::shared_ptr&lt;Executor&gt; <a class="code hl_function" href="classpaimon_1_1_write_context.html#ad0f5adcff5b157f79675ee3de5b69483">GetExecutor</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <span class="keywordflow">return</span> executor_;</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> }</div>
</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> </div>
<div class="foldopen" id="foldopen00110" data-start="{" data-end="}">
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a0dfd7db9522b7799b8eaf22dd0fbbd76"> 110</a></span> <span class="keyword">const</span> std::string&amp; <a class="code hl_function" href="classpaimon_1_1_write_context.html#a0dfd7db9522b7799b8eaf22dd0fbbd76">GetTempDirectory</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <span class="keywordflow">return</span> temp_directory_;</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> }</div>
</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> </div>
<div class="foldopen" id="foldopen00114" data-start="{" data-end="}">
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a56ecbe76630d557aa52752ff3a64c0a4"> 114</a></span> std::shared_ptr&lt;FileSystem&gt; <a class="code hl_function" href="classpaimon_1_1_write_context.html#a56ecbe76630d557aa52752ff3a64c0a4">GetSpecificFileSystem</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <span class="keywordflow">return</span> specific_file_system_;</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> }</div>
</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> </div>
<div class="foldopen" id="foldopen00118" data-start="{" data-end="}">
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a40663b5dd492743c54732d7fd7215bce"> 118</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classpaimon_1_1_write_context.html#a40663b5dd492743c54732d7fd7215bce">EnableMultiThreadSpill</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> <span class="keywordflow">return</span> enable_multi_thread_spill_;</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> }</div>
</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> </div>
<div class="foldopen" id="foldopen00123" data-start="{" data-end="}">
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a209e4e4b438a7c7b6296b2a90a3c1435"> 123</a></span> std::shared_ptr&lt;RealtimeContext&gt; <a class="code hl_function" href="classpaimon_1_1_write_context.html#a209e4e4b438a7c7b6296b2a90a3c1435">GetRealtimeContext</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <span class="keywordflow">return</span> realtime_context_;</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> }</div>
</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> </div>
<div class="foldopen" id="foldopen00129" data-start="{" data-end="}">
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a3ac044be44a631948e7d7ce944e176cc"> 129</a></span> <span class="keyword">const</span> std::shared_ptr&lt;FormatTable&gt;&amp; <a class="code hl_function" href="classpaimon_1_1_write_context.html#a3ac044be44a631948e7d7ce944e176cc">GetFormatTable</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> <span class="keywordflow">return</span> format_table_;</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> }</div>
</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> </div>
<div class="foldopen" id="foldopen00134" data-start="{" data-end="}">
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#aa0dc89261fcec30ae75669003ff73735"> 134</a></span> <span class="keyword">const</span> std::shared_ptr&lt;Catalog&gt;&amp; <a class="code hl_function" href="classpaimon_1_1_write_context.html#aa0dc89261fcec30ae75669003ff73735">GetCatalog</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <span class="keywordflow">return</span> catalog_;</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> }</div>
</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> </div>
<div class="foldopen" id="foldopen00139" data-start="{" data-end="}">
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#aece4982f49b161fc6a98777b117f8d41"> 139</a></span> <span class="keyword">const</span> std::optional&lt;Identifier&gt;&amp; <a class="code hl_function" href="classpaimon_1_1_write_context.html#aece4982f49b161fc6a98777b117f8d41">GetIdentifier</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="keywordflow">return</span> identifier_;</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> }</div>
</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> </div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#ac7b49da7ebccde07e061a3b4cdad6d46"> 144</a></span> std::string <a class="code hl_variable" href="classpaimon_1_1_write_context.html#ac7b49da7ebccde07e061a3b4cdad6d46">root_path_</a>;</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#affd45e268334a92876744af294a1f3c0"> 145</a></span> std::string <a class="code hl_variable" href="classpaimon_1_1_write_context.html#affd45e268334a92876744af294a1f3c0">commit_user_</a>;</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#aa784d20eba155e1a9088e6449658f6a6"> 146</a></span> std::string <a class="code hl_variable" href="classpaimon_1_1_write_context.html#aa784d20eba155e1a9088e6449658f6a6">branch_</a>;</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a6262c6dddd7c73cb1d4ab2e435368758"> 147</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classpaimon_1_1_write_context.html#a6262c6dddd7c73cb1d4ab2e435368758">is_streaming_mode_</a>;</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#af6d8171e46750db5b6848193d788e589"> 148</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classpaimon_1_1_write_context.html#af6d8171e46750db5b6848193d788e589">ignore_num_bucket_check_</a>;</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a88b0c4a72633198e4b838c448da3bf8f"> 149</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classpaimon_1_1_write_context.html#a88b0c4a72633198e4b838c448da3bf8f">ignore_previous_files_</a>;</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#ae0a741a0dd66f710ae96c073b217f886"> 150</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classpaimon_1_1_write_context.html#ae0a741a0dd66f710ae96c073b217f886">enable_multi_thread_spill_</a>;</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a156c617b9a21fd85aed110776d97d952"> 151</a></span> std::optional&lt;int32_t&gt; <a class="code hl_variable" href="classpaimon_1_1_write_context.html#a156c617b9a21fd85aed110776d97d952">write_id_</a>;</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#af9bf8f2cf44e094ffc47a425fc17113e"> 152</a></span> std::vector&lt;std::string&gt; <a class="code hl_variable" href="classpaimon_1_1_write_context.html#af9bf8f2cf44e094ffc47a425fc17113e">write_schema_</a>;</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#aa3122b96ef0b7a706944a22177002d58"> 153</a></span> std::shared_ptr&lt;MemoryPool&gt; <a class="code hl_variable" href="classpaimon_1_1_write_context.html#aa3122b96ef0b7a706944a22177002d58">memory_pool_</a>;</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#aeb309be4a43a0a7976334a659ec8e5c5"> 154</a></span> std::shared_ptr&lt;Executor&gt; <a class="code hl_variable" href="classpaimon_1_1_write_context.html#aeb309be4a43a0a7976334a659ec8e5c5">executor_</a>;</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a138a9755946ad4579316c606e481cccc"> 155</a></span> std::string <a class="code hl_variable" href="classpaimon_1_1_write_context.html#a138a9755946ad4579316c606e481cccc">temp_directory_</a>;</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#af5117c2d4a3df3027d18842142e8fe6d"> 156</a></span> std::shared_ptr&lt;FileSystem&gt; <a class="code hl_variable" href="classpaimon_1_1_write_context.html#af5117c2d4a3df3027d18842142e8fe6d">specific_file_system_</a>;</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a7b28a301975ba0b865a6ddac12a7b686"> 157</a></span> std::map&lt;std::string, std::string&gt; <a class="code hl_variable" href="classpaimon_1_1_write_context.html#a7b28a301975ba0b865a6ddac12a7b686">fs_scheme_to_identifier_map_</a>;</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#afbcfa7898b065b8a45dfcbf780dd0816"> 158</a></span> std::shared_ptr&lt;RealtimeContext&gt; <a class="code hl_variable" href="classpaimon_1_1_write_context.html#afbcfa7898b065b8a45dfcbf780dd0816">realtime_context_</a>;</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a0d33b542c241dc00c1a44f66c4c947f2"> 159</a></span> std::map&lt;std::string, std::string&gt; <a class="code hl_variable" href="classpaimon_1_1_write_context.html#a0d33b542c241dc00c1a44f66c4c947f2">options_</a>;</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a7d66425fbf26a41f50874fc86485254c"> 160</a></span> std::shared_ptr&lt;FormatTable&gt; <a class="code hl_variable" href="classpaimon_1_1_write_context.html#a7d66425fbf26a41f50874fc86485254c">format_table_</a>;</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a02b7656f8538e3efcd6f09e81876ec2f"> 161</a></span> std::shared_ptr&lt;Catalog&gt; <a class="code hl_variable" href="classpaimon_1_1_write_context.html#a02b7656f8538e3efcd6f09e81876ec2f">catalog_</a>;</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context.html#a3ecd82f62957d1d9c9036c7fe4d83f70"> 162</a></span> std::optional&lt;Identifier&gt; <a class="code hl_variable" href="classpaimon_1_1_write_context.html#a3ecd82f62957d1d9c9036c7fe4d83f70">identifier_</a>;</div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span>};</div>
</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> </div>
<div class="foldopen" id="foldopen00166" data-start="{" data-end="};">
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html"> 166</a></span><span class="keyword">class </span><a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">PAIMON_EXPORT</a> <a class="code hl_class" href="classpaimon_1_1_write_context_builder.html">WriteContextBuilder</a> {</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#a6ad9a69a9e46607f1e94d19deda365af"> 171</a></span> <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#a6ad9a69a9e46607f1e94d19deda365af">WriteContextBuilder</a>(<span class="keyword">const</span> std::string&amp; <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">root_path</a>, <span class="keyword">const</span> std::string&amp; commit_user);</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> </div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#aa945c34912c42eba3b9860562b5aa729"> 182</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#aa945c34912c42eba3b9860562b5aa729">WriteContextBuilder</a>(<span class="keyword">const</span> std::shared_ptr&lt;FormatTable&gt;&amp; <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">table</a>);</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> </div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#aff1f3c2273a608227aa43889237c4e78"> 184</a></span> <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#aff1f3c2273a608227aa43889237c4e78">~WriteContextBuilder</a>();</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> </div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#a1adf3f18f8780a7da951272ae795abe5"> 191</a></span> <a class="code hl_class" href="classpaimon_1_1_write_context_builder.html">WriteContextBuilder</a>&amp; <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#a1adf3f18f8780a7da951272ae795abe5">SetOptions</a>(<span class="keyword">const</span> std::map&lt;std::string, std::string&gt;&amp; options);</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> </div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#a27cdcf8737e307ec36d2590c8561ae73"> 201</a></span> <a class="code hl_class" href="classpaimon_1_1_write_context_builder.html">WriteContextBuilder</a>&amp; <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#a27cdcf8737e307ec36d2590c8561ae73">AddOption</a>(<span class="keyword">const</span> std::string&amp; <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">key</a>, <span class="keyword">const</span> std::string&amp; value);</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> </div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#a44f08b858246970933fa263b8428983f"> 205</a></span> <a class="code hl_class" href="classpaimon_1_1_write_context_builder.html">WriteContextBuilder</a>&amp; <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#a44f08b858246970933fa263b8428983f">WithStreamingMode</a>(<span class="keywordtype">bool</span> <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">is_streaming_mode</a>);</div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> </div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#a05a89ef124b790b8ea61f12bf59ed60e"> 209</a></span> <a class="code hl_class" href="classpaimon_1_1_write_context_builder.html">WriteContextBuilder</a>&amp; <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#a05a89ef124b790b8ea61f12bf59ed60e">WithIgnoreNumBucketCheck</a>(<span class="keywordtype">bool</span> <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">ignore_num_bucket_check</a>);</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> </div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#a8e834e02efd5eb174d08e200d89908be"> 213</a></span> <a class="code hl_class" href="classpaimon_1_1_write_context_builder.html">WriteContextBuilder</a>&amp; <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#a8e834e02efd5eb174d08e200d89908be">WithIgnorePreviousFiles</a>(<span class="keywordtype">bool</span> <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">ignore_previous_files</a>);</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> </div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#a27e4da341f9e6c6e3a71e97a1cb4be39"> 218</a></span> <a class="code hl_class" href="classpaimon_1_1_write_context_builder.html">WriteContextBuilder</a>&amp; <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#a27e4da341f9e6c6e3a71e97a1cb4be39">WithMemoryPool</a>(<span class="keyword">const</span> std::shared_ptr&lt;MemoryPool&gt;&amp; memory_pool);</div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span> </div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#a2eee68bec2e79f0f0dbddff6a52711ae"> 223</a></span> <a class="code hl_class" href="classpaimon_1_1_write_context_builder.html">WriteContextBuilder</a>&amp; <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#a2eee68bec2e79f0f0dbddff6a52711ae">WithExecutor</a>(<span class="keyword">const</span> std::shared_ptr&lt;Executor&gt;&amp; <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">executor</a>);</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> </div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#acf6bfdc8d1bb7c8cb12bb0dc83996947"> 229</a></span> <a class="code hl_class" href="classpaimon_1_1_write_context_builder.html">WriteContextBuilder</a>&amp; <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#acf6bfdc8d1bb7c8cb12bb0dc83996947">WithTempDirectory</a>(<span class="keyword">const</span> std::string&amp; <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">temp_dir</a>);</div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> </div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#ad8028f23e6eaba79e40318ee94c2dcc5"> 238</a></span> <a class="code hl_class" href="classpaimon_1_1_write_context_builder.html">WriteContextBuilder</a>&amp; <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#ad8028f23e6eaba79e40318ee94c2dcc5">WithWriteId</a>(<a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">int32_t</a> <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">write_id</a>);</div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> </div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#a82d651fbd10b459afa53bfab69579253"> 247</a></span> <a class="code hl_class" href="classpaimon_1_1_write_context_builder.html">WriteContextBuilder</a>&amp; <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#a82d651fbd10b459afa53bfab69579253">WithBranch</a>(<span class="keyword">const</span> std::string&amp; <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">branch</a>);</div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> </div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#a30d7e66dfe2f42f2b832f530f3922acb"> 252</a></span> <a class="code hl_class" href="classpaimon_1_1_write_context_builder.html">WriteContextBuilder</a>&amp; <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#a30d7e66dfe2f42f2b832f530f3922acb">WithWriteSchema</a>(<span class="keyword">const</span> std::vector&lt;std::string&gt;&amp; write_schema);</div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span> </div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#a6a239db57984aec089169ce18977eec3"> 260</a></span> <a class="code hl_class" href="classpaimon_1_1_write_context_builder.html">WriteContextBuilder</a>&amp; <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#a6a239db57984aec089169ce18977eec3">WithFileSystem</a>(<span class="keyword">const</span> std::shared_ptr&lt;FileSystem&gt;&amp; file_system);</div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span> </div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#a3de7b133449d02d327c56677441fcfdf"> 275</a></span> <a class="code hl_class" href="classpaimon_1_1_write_context_builder.html">WriteContextBuilder</a>&amp; <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#a3de7b133449d02d327c56677441fcfdf">WithCatalog</a>(<span class="keyword">const</span> std::shared_ptr&lt;Catalog&gt;&amp; <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">catalog</a>,</div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span> <span class="keyword">const</span> <a class="code hl_class" href="classpaimon_1_1_identifier.html">Identifier</a>&amp; identifier);</div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> </div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#a5cd452c826cd7b33ec76e13265b3c6bd"> 281</a></span> <a class="code hl_class" href="classpaimon_1_1_write_context_builder.html">WriteContextBuilder</a>&amp; <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#a5cd452c826cd7b33ec76e13265b3c6bd">WithRealtimeContext</a>(</div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span> <span class="keyword">const</span> std::shared_ptr&lt;RealtimeContext&gt;&amp; <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">realtime_context</a>);</div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> </div>
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#ab2553c687ce23775477e9d861cd3fd70"> 300</a></span> <a class="code hl_class" href="classpaimon_1_1_write_context_builder.html">WriteContextBuilder</a>&amp; <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#ab2553c687ce23775477e9d861cd3fd70">WithFileSystemSchemeToIdentifierMap</a>(</div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span> <span class="keyword">const</span> std::map&lt;std::string, std::string&gt;&amp; <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">fs_scheme_to_identifier_map</a>);</div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</span> </div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#a5077992b75589880f0ad08b41caab322"> 308</a></span> <a class="code hl_class" href="classpaimon_1_1_write_context_builder.html">WriteContextBuilder</a>&amp; <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#a5077992b75589880f0ad08b41caab322">SetWriteBufferSpillThreadNumber</a>(<a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">int32_t</a> <a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">thread_number</a>);</div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span> </div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#a6b4ea339ae0baf164b5664323f27051b"> 312</a></span> <a class="code hl_class" href="classpaimon_1_1_result.html">Result&lt;std::unique_ptr&lt;WriteContext&gt;</a>&gt; <a class="code hl_function" href="classpaimon_1_1_write_context_builder.html#a6b4ea339ae0baf164b5664323f27051b">Finish</a>();</div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span> </div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"> 315</span> <span class="keyword">class </span><a class="code hl_define" href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">Impl</a>;</div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span> </div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"><a class="line" href="classpaimon_1_1_write_context_builder.html#ae3a74e72a038ca11ecbbd0ae032f5bf8"> 317</a></span> std::unique_ptr&lt;Impl&gt; <a class="code hl_variable" href="classpaimon_1_1_write_context_builder.html#ae3a74e72a038ca11ecbbd0ae032f5bf8">impl_</a>;</div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span>};</div>
</div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span> </div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"> 320</span>} <span class="comment">// namespace paimon</span></div>
<div class="ttc" id="aclasspaimon_1_1_identifier_html"><div class="ttname"><a href="classpaimon_1_1_identifier.html">paimon::Identifier</a></div><div class="ttdoc">An identifier for a table containing database and table name.</div><div class="ttdef"><b>Definition</b> identifier.h:31</div></div>
<div class="ttc" id="aclasspaimon_1_1_result_html"><div class="ttname"><a href="classpaimon_1_1_result.html">paimon::Result</a></div><div class="ttdoc">A Result&lt;T&gt; object holds either a value of type T or a Status object explaining why such a value is n...</div><div class="ttdef"><b>Definition</b> result.h:33</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html">paimon::WriteContextBuilder</a></div><div class="ttdoc">WriteContextBuilder used to build a WriteContext, has input validation.</div><div class="ttdef"><b>Definition</b> write_context.h:166</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_a05a89ef124b790b8ea61f12bf59ed60e"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#a05a89ef124b790b8ea61f12bf59ed60e">paimon::WriteContextBuilder::WithIgnoreNumBucketCheck</a></div><div class="ttdeci">WriteContextBuilder &amp; WithIgnoreNumBucketCheck(bool ignore_num_bucket_check)</div><div class="ttdoc">Set whether to skip num-bucket consistency check (default is false)</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_a1adf3f18f8780a7da951272ae795abe5"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#a1adf3f18f8780a7da951272ae795abe5">paimon::WriteContextBuilder::SetOptions</a></div><div class="ttdeci">WriteContextBuilder &amp; SetOptions(const std::map&lt; std::string, std::string &gt; &amp;options)</div><div class="ttdoc">Set a configuration options map to set some option entries which are not defined in the table schema ...</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_a27cdcf8737e307ec36d2590c8561ae73"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#a27cdcf8737e307ec36d2590c8561ae73">paimon::WriteContextBuilder::AddOption</a></div><div class="ttdeci">WriteContextBuilder &amp; AddOption(const std::string &amp;key, const std::string &amp;value)</div><div class="ttdoc">Add a single configuration option which is not defined in the table schema or whose value you want to...</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_a27e4da341f9e6c6e3a71e97a1cb4be39"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#a27e4da341f9e6c6e3a71e97a1cb4be39">paimon::WriteContextBuilder::WithMemoryPool</a></div><div class="ttdeci">WriteContextBuilder &amp; WithMemoryPool(const std::shared_ptr&lt; MemoryPool &gt; &amp;memory_pool)</div><div class="ttdoc">Set custom memory pool for memory management.</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_a2eee68bec2e79f0f0dbddff6a52711ae"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#a2eee68bec2e79f0f0dbddff6a52711ae">paimon::WriteContextBuilder::WithExecutor</a></div><div class="ttdeci">WriteContextBuilder &amp; WithExecutor(const std::shared_ptr&lt; Executor &gt; &amp;executor)</div><div class="ttdoc">Set custom executor for task execution.</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_a30d7e66dfe2f42f2b832f530f3922acb"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#a30d7e66dfe2f42f2b832f530f3922acb">paimon::WriteContextBuilder::WithWriteSchema</a></div><div class="ttdeci">WriteContextBuilder &amp; WithWriteSchema(const std::vector&lt; std::string &gt; &amp;write_schema)</div><div class="ttdoc">For data evolution, user can write partial specific fields from table schema.</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_a3de7b133449d02d327c56677441fcfdf"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#a3de7b133449d02d327c56677441fcfdf">paimon::WriteContextBuilder::WithCatalog</a></div><div class="ttdeci">WriteContextBuilder &amp; WithCatalog(const std::shared_ptr&lt; Catalog &gt; &amp;catalog, const Identifier &amp;identifier)</div><div class="ttdoc">Loads a native table's schema and, for catalogs with version management, its latest snapshot.</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_a44f08b858246970933fa263b8428983f"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#a44f08b858246970933fa263b8428983f">paimon::WriteContextBuilder::WithStreamingMode</a></div><div class="ttdeci">WriteContextBuilder &amp; WithStreamingMode(bool is_streaming_mode)</div><div class="ttdoc">Set whether to enable streaming mode (default is false)</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_a5077992b75589880f0ad08b41caab322"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#a5077992b75589880f0ad08b41caab322">paimon::WriteContextBuilder::SetWriteBufferSpillThreadNumber</a></div><div class="ttdeci">WriteContextBuilder &amp; SetWriteBufferSpillThreadNumber(int32_t thread_number)</div><div class="ttdoc">Set the thread number for write buffer spill operations.</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_a5cd452c826cd7b33ec76e13265b3c6bd"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#a5cd452c826cd7b33ec76e13265b3c6bd">paimon::WriteContextBuilder::WithRealtimeContext</a></div><div class="ttdeci">WriteContextBuilder &amp; WithRealtimeContext(const std::shared_ptr&lt; RealtimeContext &gt; &amp;realtime_context)</div><div class="ttdoc">Enables the real-time write path with the provided shared context.</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_a6a239db57984aec089169ce18977eec3"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#a6a239db57984aec089169ce18977eec3">paimon::WriteContextBuilder::WithFileSystem</a></div><div class="ttdeci">WriteContextBuilder &amp; WithFileSystem(const std::shared_ptr&lt; FileSystem &gt; &amp;file_system)</div><div class="ttdoc">Sets a custom file system instance to be used for all file operations in this write context.</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_a6ad9a69a9e46607f1e94d19deda365af"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#a6ad9a69a9e46607f1e94d19deda365af">paimon::WriteContextBuilder::WriteContextBuilder</a></div><div class="ttdeci">WriteContextBuilder(const std::string &amp;root_path, const std::string &amp;commit_user)</div><div class="ttdoc">Constructs a WriteContextBuilder with required parameters.</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_a6b4ea339ae0baf164b5664323f27051b"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#a6b4ea339ae0baf164b5664323f27051b">paimon::WriteContextBuilder::Finish</a></div><div class="ttdeci">Result&lt; std::unique_ptr&lt; WriteContext &gt; &gt; Finish()</div><div class="ttdoc">Build and return a WriteContext instance with input validation.</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_a82d651fbd10b459afa53bfab69579253"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#a82d651fbd10b459afa53bfab69579253">paimon::WriteContextBuilder::WithBranch</a></div><div class="ttdeci">WriteContextBuilder &amp; WithBranch(const std::string &amp;branch)</div><div class="ttdoc">Write to specific branch, default is main.</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_a8e834e02efd5eb174d08e200d89908be"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#a8e834e02efd5eb174d08e200d89908be">paimon::WriteContextBuilder::WithIgnorePreviousFiles</a></div><div class="ttdeci">WriteContextBuilder &amp; WithIgnorePreviousFiles(bool ignore_previous_files)</div><div class="ttdoc">Set whether the write operation should ignore previously stored files.</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_aa945c34912c42eba3b9860562b5aa729"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#aa945c34912c42eba3b9860562b5aa729">paimon::WriteContextBuilder::WriteContextBuilder</a></div><div class="ttdeci">WriteContextBuilder(const std::shared_ptr&lt; FormatTable &gt; &amp;table)</div><div class="ttdoc">Constructs a WriteContextBuilder for a format table that is already loaded: the only way to write one...</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_ab2553c687ce23775477e9d861cd3fd70"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#ab2553c687ce23775477e9d861cd3fd70">paimon::WriteContextBuilder::WithFileSystemSchemeToIdentifierMap</a></div><div class="ttdeci">WriteContextBuilder &amp; WithFileSystemSchemeToIdentifierMap(const std::map&lt; std::string, std::string &gt; &amp;fs_scheme_to_identifier_map)</div><div class="ttdoc">Sets a mapping from URI schemes (e.g., &quot;file&quot;, &quot;oss&quot;) to registered file system identifiers.</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_acf6bfdc8d1bb7c8cb12bb0dc83996947"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#acf6bfdc8d1bb7c8cb12bb0dc83996947">paimon::WriteContextBuilder::WithTempDirectory</a></div><div class="ttdeci">WriteContextBuilder &amp; WithTempDirectory(const std::string &amp;temp_dir)</div><div class="ttdoc">Set the temporary directory path for IO operations (lookup, external disk spill, and real-time spill)...</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_ad8028f23e6eaba79e40318ee94c2dcc5"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#ad8028f23e6eaba79e40318ee94c2dcc5">paimon::WriteContextBuilder::WithWriteId</a></div><div class="ttdeci">WriteContextBuilder &amp; WithWriteId(int32_t write_id)</div><div class="ttdoc">For postpone bucket mode in pk table, WithWriteId() supposed to be used.</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_ae3a74e72a038ca11ecbbd0ae032f5bf8"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#ae3a74e72a038ca11ecbbd0ae032f5bf8">paimon::WriteContextBuilder::impl_</a></div><div class="ttdeci">std::unique_ptr&lt; Impl &gt; impl_</div><div class="ttdef"><b>Definition</b> write_context.h:317</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_builder_html_aff1f3c2273a608227aa43889237c4e78"><div class="ttname"><a href="classpaimon_1_1_write_context_builder.html#aff1f3c2273a608227aa43889237c4e78">paimon::WriteContextBuilder::~WriteContextBuilder</a></div><div class="ttdeci">~WriteContextBuilder()</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html"><div class="ttname"><a href="classpaimon_1_1_write_context.html">paimon::WriteContext</a></div><div class="ttdoc">WriteContext is some configuration for write operations.</div><div class="ttdef"><b>Definition</b> write_context.h:44</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a02b7656f8538e3efcd6f09e81876ec2f"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a02b7656f8538e3efcd6f09e81876ec2f">paimon::WriteContext::catalog_</a></div><div class="ttdeci">std::shared_ptr&lt; Catalog &gt; catalog_</div><div class="ttdef"><b>Definition</b> write_context.h:161</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a08746e29dabc0b6049cdf80c635516b3"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a08746e29dabc0b6049cdf80c635516b3">paimon::WriteContext::GetMemoryPool</a></div><div class="ttdeci">std::shared_ptr&lt; MemoryPool &gt; GetMemoryPool() const</div><div class="ttdef"><b>Definition</b> write_context.h:102</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a0d33b542c241dc00c1a44f66c4c947f2"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a0d33b542c241dc00c1a44f66c4c947f2">paimon::WriteContext::options_</a></div><div class="ttdeci">std::map&lt; std::string, std::string &gt; options_</div><div class="ttdef"><b>Definition</b> write_context.h:159</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a0dfd7db9522b7799b8eaf22dd0fbbd76"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a0dfd7db9522b7799b8eaf22dd0fbbd76">paimon::WriteContext::GetTempDirectory</a></div><div class="ttdeci">const std::string &amp; GetTempDirectory() const</div><div class="ttdef"><b>Definition</b> write_context.h:110</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a138a9755946ad4579316c606e481cccc"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a138a9755946ad4579316c606e481cccc">paimon::WriteContext::temp_directory_</a></div><div class="ttdeci">std::string temp_directory_</div><div class="ttdef"><b>Definition</b> write_context.h:155</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a156c617b9a21fd85aed110776d97d952"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a156c617b9a21fd85aed110776d97d952">paimon::WriteContext::write_id_</a></div><div class="ttdeci">std::optional&lt; int32_t &gt; write_id_</div><div class="ttdef"><b>Definition</b> write_context.h:151</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a209e4e4b438a7c7b6296b2a90a3c1435"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a209e4e4b438a7c7b6296b2a90a3c1435">paimon::WriteContext::GetRealtimeContext</a></div><div class="ttdeci">std::shared_ptr&lt; RealtimeContext &gt; GetRealtimeContext() const</div><div class="ttdoc">Returns the configured real-time context, or nullptr when real-time writing is disabled.</div><div class="ttdef"><b>Definition</b> write_context.h:123</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a222134b39787d3b00b43f44f73ebef01"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a222134b39787d3b00b43f44f73ebef01">paimon::WriteContext::GetOptions</a></div><div class="ttdeci">const std::map&lt; std::string, std::string &gt; &amp; GetOptions() const</div><div class="ttdef"><b>Definition</b> write_context.h:74</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a306872d254a0eea1fa7a1dca69f449e1"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a306872d254a0eea1fa7a1dca69f449e1">paimon::WriteContext::GetWriteId</a></div><div class="ttdeci">const std::optional&lt; int32_t &gt; GetWriteId() const</div><div class="ttdef"><b>Definition</b> write_context.h:90</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a3a04d08ac7c091d3bcec5a72f7033a4a"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a3a04d08ac7c091d3bcec5a72f7033a4a">paimon::WriteContext::IsStreamingMode</a></div><div class="ttdeci">bool IsStreamingMode() const</div><div class="ttdef"><b>Definition</b> write_context.h:78</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a3ac044be44a631948e7d7ce944e176cc"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a3ac044be44a631948e7d7ce944e176cc">paimon::WriteContext::GetFormatTable</a></div><div class="ttdeci">const std::shared_ptr&lt; FormatTable &gt; &amp; GetFormatTable() const</div><div class="ttdoc">The format table this context was built from, or null when it names a table path and the schema under...</div><div class="ttdef"><b>Definition</b> write_context.h:129</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a3ecd82f62957d1d9c9036c7fe4d83f70"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a3ecd82f62957d1d9c9036c7fe4d83f70">paimon::WriteContext::identifier_</a></div><div class="ttdeci">std::optional&lt; Identifier &gt; identifier_</div><div class="ttdef"><b>Definition</b> write_context.h:162</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a40663b5dd492743c54732d7fd7215bce"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a40663b5dd492743c54732d7fd7215bce">paimon::WriteContext::EnableMultiThreadSpill</a></div><div class="ttdeci">bool EnableMultiThreadSpill() const</div><div class="ttdef"><b>Definition</b> write_context.h:118</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a46355d924bb90e10d8b2b8ff10d8af84"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a46355d924bb90e10d8b2b8ff10d8af84">paimon::WriteContext::GetCommitUser</a></div><div class="ttdeci">const std::string &amp; GetCommitUser() const</div><div class="ttdef"><b>Definition</b> write_context.h:66</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a56134cbb082b0f9dc93b454aba654d85"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a56134cbb082b0f9dc93b454aba654d85">paimon::WriteContext::IgnorePreviousFiles</a></div><div class="ttdeci">bool IgnorePreviousFiles() const</div><div class="ttdef"><b>Definition</b> write_context.h:86</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a56ecbe76630d557aa52752ff3a64c0a4"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a56ecbe76630d557aa52752ff3a64c0a4">paimon::WriteContext::GetSpecificFileSystem</a></div><div class="ttdeci">std::shared_ptr&lt; FileSystem &gt; GetSpecificFileSystem() const</div><div class="ttdef"><b>Definition</b> write_context.h:114</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a5ee5cb57d2d6b66f7f5dc8f6f2554657"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a5ee5cb57d2d6b66f7f5dc8f6f2554657">paimon::WriteContext::IgnoreNumBucketCheck</a></div><div class="ttdeci">bool IgnoreNumBucketCheck() const</div><div class="ttdef"><b>Definition</b> write_context.h:82</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a6262c6dddd7c73cb1d4ab2e435368758"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a6262c6dddd7c73cb1d4ab2e435368758">paimon::WriteContext::is_streaming_mode_</a></div><div class="ttdeci">bool is_streaming_mode_</div><div class="ttdef"><b>Definition</b> write_context.h:147</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a6c0da302853f5f3fe06ecd21f61c795d"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a6c0da302853f5f3fe06ecd21f61c795d">paimon::WriteContext::GetRootPath</a></div><div class="ttdeci">const std::string &amp; GetRootPath() const</div><div class="ttdef"><b>Definition</b> write_context.h:62</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a725006f0e7047bc41188752709ffc8d0"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a725006f0e7047bc41188752709ffc8d0">paimon::WriteContext::GetFileSystemSchemeToIdentifierMap</a></div><div class="ttdeci">const std::map&lt; std::string, std::string &gt; &amp; GetFileSystemSchemeToIdentifierMap() const</div><div class="ttdef"><b>Definition</b> write_context.h:70</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a7b28a301975ba0b865a6ddac12a7b686"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a7b28a301975ba0b865a6ddac12a7b686">paimon::WriteContext::fs_scheme_to_identifier_map_</a></div><div class="ttdeci">std::map&lt; std::string, std::string &gt; fs_scheme_to_identifier_map_</div><div class="ttdef"><b>Definition</b> write_context.h:157</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a7d66425fbf26a41f50874fc86485254c"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a7d66425fbf26a41f50874fc86485254c">paimon::WriteContext::format_table_</a></div><div class="ttdeci">std::shared_ptr&lt; FormatTable &gt; format_table_</div><div class="ttdef"><b>Definition</b> write_context.h:160</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a88b0c4a72633198e4b838c448da3bf8f"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a88b0c4a72633198e4b838c448da3bf8f">paimon::WriteContext::ignore_previous_files_</a></div><div class="ttdeci">bool ignore_previous_files_</div><div class="ttdef"><b>Definition</b> write_context.h:149</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_a94375365d1fe2193ddab679a66b4bc51"><div class="ttname"><a href="classpaimon_1_1_write_context.html#a94375365d1fe2193ddab679a66b4bc51">paimon::WriteContext::~WriteContext</a></div><div class="ttdeci">~WriteContext()</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_aa0dc89261fcec30ae75669003ff73735"><div class="ttname"><a href="classpaimon_1_1_write_context.html#aa0dc89261fcec30ae75669003ff73735">paimon::WriteContext::GetCatalog</a></div><div class="ttdeci">const std::shared_ptr&lt; Catalog &gt; &amp; GetCatalog() const</div><div class="ttdoc">Returns the catalog supplying table metadata, or null if unset.</div><div class="ttdef"><b>Definition</b> write_context.h:134</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_aa3122b96ef0b7a706944a22177002d58"><div class="ttname"><a href="classpaimon_1_1_write_context.html#aa3122b96ef0b7a706944a22177002d58">paimon::WriteContext::memory_pool_</a></div><div class="ttdeci">std::shared_ptr&lt; MemoryPool &gt; memory_pool_</div><div class="ttdef"><b>Definition</b> write_context.h:153</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_aa784d20eba155e1a9088e6449658f6a6"><div class="ttname"><a href="classpaimon_1_1_write_context.html#aa784d20eba155e1a9088e6449658f6a6">paimon::WriteContext::branch_</a></div><div class="ttdeci">std::string branch_</div><div class="ttdef"><b>Definition</b> write_context.h:146</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_abe6b1d911dc999349729de9d81264bfd"><div class="ttname"><a href="classpaimon_1_1_write_context.html#abe6b1d911dc999349729de9d81264bfd">paimon::WriteContext::GetWriteSchema</a></div><div class="ttdeci">const std::vector&lt; std::string &gt; &amp; GetWriteSchema() const</div><div class="ttdef"><b>Definition</b> write_context.h:98</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_ac65f3c22060d4bc32948c6253025e464"><div class="ttname"><a href="classpaimon_1_1_write_context.html#ac65f3c22060d4bc32948c6253025e464">paimon::WriteContext::GetBranch</a></div><div class="ttdeci">const std::string &amp; GetBranch() const</div><div class="ttdef"><b>Definition</b> write_context.h:94</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_ac66978b8a555279c0a74c5fe9b2ee30c"><div class="ttname"><a href="classpaimon_1_1_write_context.html#ac66978b8a555279c0a74c5fe9b2ee30c">paimon::WriteContext::WriteContext</a></div><div class="ttdeci">WriteContext(const std::string &amp;root_path, const std::string &amp;commit_user, bool is_streaming_mode, bool ignore_num_bucket_check, bool ignore_previous_files, bool enable_multi_thread_spill, const std::optional&lt; int32_t &gt; &amp;write_id, const std::string &amp;branch, const std::vector&lt; std::string &gt; &amp;write_schema, const std::shared_ptr&lt; MemoryPool &gt; &amp;memory_pool, const std::shared_ptr&lt; Executor &gt; &amp;executor, const std::string &amp;temp_directory, const std::shared_ptr&lt; FileSystem &gt; &amp;specific_file_system, const std::map&lt; std::string, std::string &gt; &amp;fs_scheme_to_identifier_map, const std::shared_ptr&lt; RealtimeContext &gt; &amp;realtime_context, const std::map&lt; std::string, std::string &gt; &amp;options, const std::shared_ptr&lt; FormatTable &gt; &amp;format_table, const std::shared_ptr&lt; Catalog &gt; &amp;catalog=nullptr, const std::optional&lt; Identifier &gt; &amp;identifier=std::nullopt)</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_ac7b49da7ebccde07e061a3b4cdad6d46"><div class="ttname"><a href="classpaimon_1_1_write_context.html#ac7b49da7ebccde07e061a3b4cdad6d46">paimon::WriteContext::root_path_</a></div><div class="ttdeci">std::string root_path_</div><div class="ttdef"><b>Definition</b> write_context.h:144</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_ad0f5adcff5b157f79675ee3de5b69483"><div class="ttname"><a href="classpaimon_1_1_write_context.html#ad0f5adcff5b157f79675ee3de5b69483">paimon::WriteContext::GetExecutor</a></div><div class="ttdeci">std::shared_ptr&lt; Executor &gt; GetExecutor() const</div><div class="ttdef"><b>Definition</b> write_context.h:106</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_ae0a741a0dd66f710ae96c073b217f886"><div class="ttname"><a href="classpaimon_1_1_write_context.html#ae0a741a0dd66f710ae96c073b217f886">paimon::WriteContext::enable_multi_thread_spill_</a></div><div class="ttdeci">bool enable_multi_thread_spill_</div><div class="ttdef"><b>Definition</b> write_context.h:150</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_aeb309be4a43a0a7976334a659ec8e5c5"><div class="ttname"><a href="classpaimon_1_1_write_context.html#aeb309be4a43a0a7976334a659ec8e5c5">paimon::WriteContext::executor_</a></div><div class="ttdeci">std::shared_ptr&lt; Executor &gt; executor_</div><div class="ttdef"><b>Definition</b> write_context.h:154</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_aece4982f49b161fc6a98777b117f8d41"><div class="ttname"><a href="classpaimon_1_1_write_context.html#aece4982f49b161fc6a98777b117f8d41">paimon::WriteContext::GetIdentifier</a></div><div class="ttdeci">const std::optional&lt; Identifier &gt; &amp; GetIdentifier() const</div><div class="ttdoc">Returns the table identifier supplied with the catalog.</div><div class="ttdef"><b>Definition</b> write_context.h:139</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_af5117c2d4a3df3027d18842142e8fe6d"><div class="ttname"><a href="classpaimon_1_1_write_context.html#af5117c2d4a3df3027d18842142e8fe6d">paimon::WriteContext::specific_file_system_</a></div><div class="ttdeci">std::shared_ptr&lt; FileSystem &gt; specific_file_system_</div><div class="ttdef"><b>Definition</b> write_context.h:156</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_af6d8171e46750db5b6848193d788e589"><div class="ttname"><a href="classpaimon_1_1_write_context.html#af6d8171e46750db5b6848193d788e589">paimon::WriteContext::ignore_num_bucket_check_</a></div><div class="ttdeci">bool ignore_num_bucket_check_</div><div class="ttdef"><b>Definition</b> write_context.h:148</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_af9bf8f2cf44e094ffc47a425fc17113e"><div class="ttname"><a href="classpaimon_1_1_write_context.html#af9bf8f2cf44e094ffc47a425fc17113e">paimon::WriteContext::write_schema_</a></div><div class="ttdeci">std::vector&lt; std::string &gt; write_schema_</div><div class="ttdef"><b>Definition</b> write_context.h:152</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_afbcfa7898b065b8a45dfcbf780dd0816"><div class="ttname"><a href="classpaimon_1_1_write_context.html#afbcfa7898b065b8a45dfcbf780dd0816">paimon::WriteContext::realtime_context_</a></div><div class="ttdeci">std::shared_ptr&lt; RealtimeContext &gt; realtime_context_</div><div class="ttdef"><b>Definition</b> write_context.h:158</div></div>
<div class="ttc" id="aclasspaimon_1_1_write_context_html_affd45e268334a92876744af294a1f3c0"><div class="ttname"><a href="classpaimon_1_1_write_context.html#affd45e268334a92876744af294a1f3c0">paimon::WriteContext::commit_user_</a></div><div class="ttdeci">std::string commit_user_</div><div class="ttdef"><b>Definition</b> write_context.h:145</div></div>
<div class="ttc" id="aidentifier_8h_html"><div class="ttname"><a href="identifier_8h.html">identifier.h</a></div></div>
<div class="ttc" id="amemory__pool_8h_html_a147ba4ba34a215b3a4f3a95c1ee11704"><div class="ttname"><a href="memory__pool_8h.html#a147ba4ba34a215b3a4f3a95c1ee11704">PAIMON_UNIQUE_PTR</a></div><div class="ttdeci">#define PAIMON_UNIQUE_PTR</div><div class="ttdef"><b>Definition</b> memory_pool.h:220</div></div>
<div class="ttc" id="anamespacepaimon_html"><div class="ttname"><a href="namespacepaimon.html">paimon</a></div><div class="ttdoc">Top-level namespace for Paimon C++ API.</div><div class="ttdef"><b>Definition</b> api.h:51</div></div>
<div class="ttc" id="aresult_8h_html"><div class="ttname"><a href="result_8h.html">result.h</a></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 class="ttc" id="avisibility_8h_html"><div class="ttname"><a href="visibility_8h.html">visibility.h</a></div></div>
</div><!-- fragment --></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>