| <?xml version='1.0' encoding='UTF-8' standalone='no'?> |
| <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.9.8" xml:lang="en-US"> |
| <compounddef id="write__context_8h" kind="file" language="C++"> |
| <compoundname>write_context.h</compoundname> |
| <includes local="no">cstdint</includes> |
| <includes local="no">map</includes> |
| <includes local="no">memory</includes> |
| <includes local="no">optional</includes> |
| <includes local="no">string</includes> |
| <includes local="no">vector</includes> |
| <includes refid="result_8h" local="yes">paimon/result.h</includes> |
| <includes refid="type__fwd_8h" local="yes">paimon/type_fwd.h</includes> |
| <includes refid="visibility_8h" local="yes">paimon/visibility.h</includes> |
| <includedby refid="api_8h" local="yes">/home/runner/work/paimon-cpp/paimon-cpp/include/paimon/api.h</includedby> |
| <incdepgraph> |
| <node id="24"> |
| <label>paimon/defs.h</label> |
| <link refid="defs_8h"/> |
| <childnode refid="2" relation="include"> |
| </childnode> |
| <childnode refid="23" relation="include"> |
| </childnode> |
| <childnode refid="20" relation="include"> |
| </childnode> |
| </node> |
| <node id="8"> |
| <label>paimon/result.h</label> |
| <link refid="result_8h"/> |
| <childnode refid="9" relation="include"> |
| </childnode> |
| <childnode refid="10" relation="include"> |
| </childnode> |
| <childnode refid="11" relation="include"> |
| </childnode> |
| <childnode refid="12" relation="include"> |
| </childnode> |
| <childnode refid="21" relation="include"> |
| </childnode> |
| </node> |
| <node id="12"> |
| <label>paimon/status.h</label> |
| <link refid="status_8h"/> |
| <childnode refid="13" relation="include"> |
| </childnode> |
| <childnode refid="14" relation="include"> |
| </childnode> |
| <childnode refid="4" relation="include"> |
| </childnode> |
| <childnode refid="6" relation="include"> |
| </childnode> |
| <childnode refid="11" relation="include"> |
| </childnode> |
| <childnode refid="15" relation="include"> |
| </childnode> |
| <childnode refid="16" relation="include"> |
| </childnode> |
| <childnode refid="17" relation="include"> |
| </childnode> |
| <childnode refid="20" relation="include"> |
| </childnode> |
| </node> |
| <node id="17"> |
| <label>paimon/string_builder.h</label> |
| <link refid="string__builder_8h"/> |
| <childnode refid="4" relation="include"> |
| </childnode> |
| <childnode refid="18" relation="include"> |
| </childnode> |
| <childnode refid="19" relation="include"> |
| </childnode> |
| <childnode refid="6" relation="include"> |
| </childnode> |
| <childnode refid="11" relation="include"> |
| </childnode> |
| <childnode refid="20" relation="include"> |
| </childnode> |
| </node> |
| <node id="22"> |
| <label>paimon/type_fwd.h</label> |
| <link refid="type__fwd_8h"/> |
| <childnode refid="23" relation="include"> |
| </childnode> |
| <childnode refid="3" relation="include"> |
| </childnode> |
| <childnode refid="4" relation="include"> |
| </childnode> |
| <childnode refid="6" relation="include"> |
| </childnode> |
| <childnode refid="7" relation="include"> |
| </childnode> |
| <childnode refid="24" relation="include"> |
| </childnode> |
| <childnode refid="16" relation="include"> |
| </childnode> |
| <childnode refid="20" relation="include"> |
| </childnode> |
| </node> |
| <node id="20"> |
| <label>paimon/visibility.h</label> |
| <link refid="visibility_8h"/> |
| </node> |
| <node id="1"> |
| <label>/home/runner/work/paimon-cpp/paimon-cpp/include/paimon/write_context.h</label> |
| <link refid="write__context_8h"/> |
| <childnode refid="2" relation="include"> |
| </childnode> |
| <childnode refid="3" relation="include"> |
| </childnode> |
| <childnode refid="4" relation="include"> |
| </childnode> |
| <childnode refid="5" relation="include"> |
| </childnode> |
| <childnode refid="6" relation="include"> |
| </childnode> |
| <childnode refid="7" relation="include"> |
| </childnode> |
| <childnode refid="8" relation="include"> |
| </childnode> |
| <childnode refid="22" relation="include"> |
| </childnode> |
| <childnode refid="20" relation="include"> |
| </childnode> |
| </node> |
| <node id="9"> |
| <label>cassert</label> |
| </node> |
| <node id="2"> |
| <label>cstdint</label> |
| </node> |
| <node id="13"> |
| <label>cstring</label> |
| </node> |
| <node id="14"> |
| <label>iosfwd</label> |
| </node> |
| <node id="23"> |
| <label>limits</label> |
| </node> |
| <node id="3"> |
| <label>map</label> |
| </node> |
| <node id="4"> |
| <label>memory</label> |
| </node> |
| <node id="5"> |
| <label>optional</label> |
| </node> |
| <node id="18"> |
| <label>ostream</label> |
| </node> |
| <node id="15"> |
| <label>paimon/compare.h</label> |
| </node> |
| <node id="16"> |
| <label>paimon/macros.h</label> |
| </node> |
| <node id="21"> |
| <label>paimon/traits.h</label> |
| </node> |
| <node id="19"> |
| <label>sstream</label> |
| </node> |
| <node id="6"> |
| <label>string</label> |
| </node> |
| <node id="10"> |
| <label>type_traits</label> |
| </node> |
| <node id="11"> |
| <label>utility</label> |
| </node> |
| <node id="7"> |
| <label>vector</label> |
| </node> |
| </incdepgraph> |
| <invincdepgraph> |
| <node id="2"> |
| <label>/home/runner/work/paimon-cpp/paimon-cpp/include/paimon/api.h</label> |
| <link refid="api_8h"/> |
| </node> |
| <node id="1"> |
| <label>/home/runner/work/paimon-cpp/paimon-cpp/include/paimon/write_context.h</label> |
| <link refid="write__context_8h"/> |
| <childnode refid="2" relation="include"> |
| </childnode> |
| </node> |
| </invincdepgraph> |
| <innerclass refid="classpaimon_1_1_write_context" prot="public">paimon::WriteContext</innerclass> |
| <innerclass refid="classpaimon_1_1_write_context_builder" prot="public">paimon::WriteContextBuilder</innerclass> |
| <innernamespace refid="namespacepaimon">paimon</innernamespace> |
| <briefdescription> |
| </briefdescription> |
| <detaileddescription> |
| </detaileddescription> |
| <programlisting> |
| <codeline lineno="1"><highlight class="comment">/*</highlight></codeline> |
| <codeline lineno="2"><highlight class="comment"><sp/>*<sp/>Licensed<sp/>to<sp/>the<sp/>Apache<sp/>Software<sp/>Foundation<sp/>(ASF)<sp/>under<sp/>one</highlight></codeline> |
| <codeline lineno="3"><highlight class="comment"><sp/>*<sp/>or<sp/>more<sp/>contributor<sp/>license<sp/>agreements.<sp/><sp/>See<sp/>the<sp/>NOTICE<sp/>file</highlight></codeline> |
| <codeline lineno="4"><highlight class="comment"><sp/>*<sp/>distributed<sp/>with<sp/>this<sp/>work<sp/>for<sp/>additional<sp/>information</highlight></codeline> |
| <codeline lineno="5"><highlight class="comment"><sp/>*<sp/>regarding<sp/>copyright<sp/>ownership.<sp/><sp/>The<sp/>ASF<sp/>licenses<sp/>this<sp/>file</highlight></codeline> |
| <codeline lineno="6"><highlight class="comment"><sp/>*<sp/>to<sp/>you<sp/>under<sp/>the<sp/>Apache<sp/>License,<sp/>Version<sp/>2.0<sp/>(the</highlight></codeline> |
| <codeline lineno="7"><highlight class="comment"><sp/>*<sp/>"License");<sp/>you<sp/>may<sp/>not<sp/>use<sp/>this<sp/>file<sp/>except<sp/>in<sp/>compliance</highlight></codeline> |
| <codeline lineno="8"><highlight class="comment"><sp/>*<sp/>with<sp/>the<sp/>License.<sp/><sp/>You<sp/>may<sp/>obtain<sp/>a<sp/>copy<sp/>of<sp/>the<sp/>License<sp/>at</highlight></codeline> |
| <codeline lineno="9"><highlight class="comment"><sp/>*</highlight></codeline> |
| <codeline lineno="10"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>http://www.apache.org/licenses/LICENSE-2.0</highlight></codeline> |
| <codeline lineno="11"><highlight class="comment"><sp/>*</highlight></codeline> |
| <codeline lineno="12"><highlight class="comment"><sp/>*<sp/>Unless<sp/>required<sp/>by<sp/>applicable<sp/>law<sp/>or<sp/>agreed<sp/>to<sp/>in<sp/>writing,<sp/>software</highlight></codeline> |
| <codeline lineno="13"><highlight class="comment"><sp/>*<sp/>distributed<sp/>under<sp/>the<sp/>License<sp/>is<sp/>distributed<sp/>on<sp/>an<sp/>"AS<sp/>IS"<sp/>BASIS,</highlight></codeline> |
| <codeline lineno="14"><highlight class="comment"><sp/>*<sp/>WITHOUT<sp/>WARRANTIES<sp/>OR<sp/>CONDITIONS<sp/>OF<sp/>ANY<sp/>KIND,<sp/>either<sp/>express<sp/>or<sp/>implied.</highlight></codeline> |
| <codeline lineno="15"><highlight class="comment"><sp/>*<sp/>See<sp/>the<sp/>License<sp/>for<sp/>the<sp/>specific<sp/>language<sp/>governing<sp/>permissions<sp/>and</highlight></codeline> |
| <codeline lineno="16"><highlight class="comment"><sp/>*<sp/>limitations<sp/>under<sp/>the<sp/>License.</highlight></codeline> |
| <codeline lineno="17"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline> |
| <codeline lineno="18"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="19"><highlight class="normal"></highlight><highlight class="preprocessor">#pragma<sp/>once</highlight><highlight class="normal"></highlight></codeline> |
| <codeline lineno="20"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="21"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><cstdint></highlight><highlight class="normal"></highlight></codeline> |
| <codeline lineno="22"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><map></highlight><highlight class="normal"></highlight></codeline> |
| <codeline lineno="23"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><memory></highlight><highlight class="normal"></highlight></codeline> |
| <codeline lineno="24"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><optional></highlight><highlight class="normal"></highlight></codeline> |
| <codeline lineno="25"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><string></highlight><highlight class="normal"></highlight></codeline> |
| <codeline lineno="26"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><vector></highlight><highlight class="normal"></highlight></codeline> |
| <codeline lineno="27"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="28"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="result_8h" kindref="compound">paimon/result.h</ref>"</highlight><highlight class="normal"></highlight></codeline> |
| <codeline lineno="29"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="type__fwd_8h" kindref="compound">paimon/type_fwd.h</ref>"</highlight><highlight class="normal"></highlight></codeline> |
| <codeline lineno="30"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="visibility_8h" kindref="compound">paimon/visibility.h</ref>"</highlight><highlight class="normal"></highlight></codeline> |
| <codeline lineno="31"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="32"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal"><ref refid="namespacepaimon" kindref="compound">paimon</ref><sp/>{</highlight></codeline> |
| <codeline lineno="33"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">Executor;</highlight></codeline> |
| <codeline lineno="34"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">MemoryPool;</highlight></codeline> |
| <codeline lineno="35"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="41" refid="classpaimon_1_1_write_context" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">PAIMON_EXPORT</ref><sp/><ref refid="classpaimon_1_1_write_context" kindref="compound">WriteContext</ref><sp/>{</highlight></codeline> |
| <codeline lineno="42"><highlight class="normal"><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline> |
| <codeline lineno="43" refid="classpaimon_1_1_write_context_1ab04248e0b713a7b58347e6fb68450b9f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classpaimon_1_1_write_context_1ab04248e0b713a7b58347e6fb68450b9f" kindref="member">WriteContext</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&<sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">root_path</ref>,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&<sp/>commit_user,</highlight></codeline> |
| <codeline lineno="44"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">is_streaming_mode</ref>,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">ignore_num_bucket_check</ref>,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">ignore_previous_files</ref>,</highlight></codeline> |
| <codeline lineno="45"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">enable_multi_thread_spill</ref>,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::optional<int32_t>&<sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">write_id</ref>,</highlight></codeline> |
| <codeline lineno="46"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&<sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">branch</ref>,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::vector<std::string>&<sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">write_schema</ref>,</highlight></codeline> |
| <codeline lineno="47"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::shared_ptr<MemoryPool>&<sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">memory_pool</ref>,</highlight></codeline> |
| <codeline lineno="48"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::shared_ptr<Executor>&<sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">executor</ref>,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&<sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">temp_directory</ref>,</highlight></codeline> |
| <codeline lineno="49"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::shared_ptr<FileSystem>&<sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">specific_file_system</ref>,</highlight></codeline> |
| <codeline lineno="50"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::map<std::string,<sp/>std::string>&<sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">fs_scheme_to_identifier_map</ref>,</highlight></codeline> |
| <codeline lineno="51"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::map<std::string,<sp/>std::string>&<sp/>options);</highlight></codeline> |
| <codeline lineno="52"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="53" refid="classpaimon_1_1_write_context_1a94375365d1fe2193ddab679a66b4bc51" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classpaimon_1_1_write_context_1a94375365d1fe2193ddab679a66b4bc51" kindref="member">~WriteContext</ref>();</highlight></codeline> |
| <codeline lineno="54"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="55" refid="classpaimon_1_1_write_context_1a6c0da302853f5f3fe06ecd21f61c795d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&<sp/><ref refid="classpaimon_1_1_write_context_1a6c0da302853f5f3fe06ecd21f61c795d" kindref="member">GetRootPath</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline> |
| <codeline lineno="56"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>root_path_;</highlight></codeline> |
| <codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline> |
| <codeline lineno="58"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="59" refid="classpaimon_1_1_write_context_1a46355d924bb90e10d8b2b8ff10d8af84" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&<sp/><ref refid="classpaimon_1_1_write_context_1a46355d924bb90e10d8b2b8ff10d8af84" kindref="member">GetCommitUser</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline> |
| <codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>commit_user_;</highlight></codeline> |
| <codeline lineno="61"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline> |
| <codeline lineno="62"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="63" refid="classpaimon_1_1_write_context_1a725006f0e7047bc41188752709ffc8d0" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::map<std::string,<sp/>std::string>&<sp/><ref refid="classpaimon_1_1_write_context_1a725006f0e7047bc41188752709ffc8d0" kindref="member">GetFileSystemSchemeToIdentifierMap</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline> |
| <codeline lineno="64"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>fs_scheme_to_identifier_map_;</highlight></codeline> |
| <codeline lineno="65"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline> |
| <codeline lineno="66"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="67" refid="classpaimon_1_1_write_context_1a222134b39787d3b00b43f44f73ebef01" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::map<std::string,<sp/>std::string>&<sp/><ref refid="classpaimon_1_1_write_context_1a222134b39787d3b00b43f44f73ebef01" kindref="member">GetOptions</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline> |
| <codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>options_;</highlight></codeline> |
| <codeline lineno="69"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline> |
| <codeline lineno="70"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="71" refid="classpaimon_1_1_write_context_1a3a04d08ac7c091d3bcec5a72f7033a4a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classpaimon_1_1_write_context_1a3a04d08ac7c091d3bcec5a72f7033a4a" kindref="member">IsStreamingMode</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline> |
| <codeline lineno="72"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>is_streaming_mode_;</highlight></codeline> |
| <codeline lineno="73"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline> |
| <codeline lineno="74"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="75" refid="classpaimon_1_1_write_context_1a5ee5cb57d2d6b66f7f5dc8f6f2554657" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classpaimon_1_1_write_context_1a5ee5cb57d2d6b66f7f5dc8f6f2554657" kindref="member">IgnoreNumBucketCheck</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline> |
| <codeline lineno="76"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ignore_num_bucket_check_;</highlight></codeline> |
| <codeline lineno="77"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline> |
| <codeline lineno="78"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="79" refid="classpaimon_1_1_write_context_1a56134cbb082b0f9dc93b454aba654d85" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classpaimon_1_1_write_context_1a56134cbb082b0f9dc93b454aba654d85" kindref="member">IgnorePreviousFiles</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline> |
| <codeline lineno="80"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>ignore_previous_files_;</highlight></codeline> |
| <codeline lineno="81"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline> |
| <codeline lineno="82"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="83" refid="classpaimon_1_1_write_context_1a306872d254a0eea1fa7a1dca69f449e1" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::optional<int32_t><sp/><ref refid="classpaimon_1_1_write_context_1a306872d254a0eea1fa7a1dca69f449e1" kindref="member">GetWriteId</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline> |
| <codeline lineno="84"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>write_id_;</highlight></codeline> |
| <codeline lineno="85"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline> |
| <codeline lineno="86"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="87" refid="classpaimon_1_1_write_context_1ac65f3c22060d4bc32948c6253025e464" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&<sp/><ref refid="classpaimon_1_1_write_context_1ac65f3c22060d4bc32948c6253025e464" kindref="member">GetBranch</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline> |
| <codeline lineno="88"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>branch_;</highlight></codeline> |
| <codeline lineno="89"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline> |
| <codeline lineno="90"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="91" refid="classpaimon_1_1_write_context_1abe6b1d911dc999349729de9d81264bfd" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::vector<std::string>&<sp/><ref refid="classpaimon_1_1_write_context_1abe6b1d911dc999349729de9d81264bfd" kindref="member">GetWriteSchema</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline> |
| <codeline lineno="92"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>write_schema_;</highlight></codeline> |
| <codeline lineno="93"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline> |
| <codeline lineno="94"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="95" refid="classpaimon_1_1_write_context_1a08746e29dabc0b6049cdf80c635516b3" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>std::shared_ptr<MemoryPool><sp/><ref refid="classpaimon_1_1_write_context_1a08746e29dabc0b6049cdf80c635516b3" kindref="member">GetMemoryPool</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline> |
| <codeline lineno="96"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>memory_pool_;</highlight></codeline> |
| <codeline lineno="97"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline> |
| <codeline lineno="98"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="99" refid="classpaimon_1_1_write_context_1ad0f5adcff5b157f79675ee3de5b69483" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>std::shared_ptr<Executor><sp/><ref refid="classpaimon_1_1_write_context_1ad0f5adcff5b157f79675ee3de5b69483" kindref="member">GetExecutor</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline> |
| <codeline lineno="100"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>executor_;</highlight></codeline> |
| <codeline lineno="101"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline> |
| <codeline lineno="102"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="103" refid="classpaimon_1_1_write_context_1a0dfd7db9522b7799b8eaf22dd0fbbd76" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&<sp/><ref refid="classpaimon_1_1_write_context_1a0dfd7db9522b7799b8eaf22dd0fbbd76" kindref="member">GetTempDirectory</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline> |
| <codeline lineno="104"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>temp_directory_;</highlight></codeline> |
| <codeline lineno="105"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline> |
| <codeline lineno="106"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="107" refid="classpaimon_1_1_write_context_1a56ecbe76630d557aa52752ff3a64c0a4" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>std::shared_ptr<FileSystem><sp/><ref refid="classpaimon_1_1_write_context_1a56ecbe76630d557aa52752ff3a64c0a4" kindref="member">GetSpecificFileSystem</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline> |
| <codeline lineno="108"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>specific_file_system_;</highlight></codeline> |
| <codeline lineno="109"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline> |
| <codeline lineno="110"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="111" refid="classpaimon_1_1_write_context_1a40663b5dd492743c54732d7fd7215bce" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classpaimon_1_1_write_context_1a40663b5dd492743c54732d7fd7215bce" kindref="member">EnableMultiThreadSpill</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight></codeline> |
| <codeline lineno="112"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>enable_multi_thread_spill_;</highlight></codeline> |
| <codeline lineno="113"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline> |
| <codeline lineno="114"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="115"><highlight class="normal"><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline> |
| <codeline lineno="116" refid="classpaimon_1_1_write_context_1ac7b49da7ebccde07e061a3b4cdad6d46" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>std::string<sp/><ref refid="classpaimon_1_1_write_context_1ac7b49da7ebccde07e061a3b4cdad6d46" kindref="member">root_path_</ref>;</highlight></codeline> |
| <codeline lineno="117" refid="classpaimon_1_1_write_context_1affd45e268334a92876744af294a1f3c0" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>std::string<sp/><ref refid="classpaimon_1_1_write_context_1affd45e268334a92876744af294a1f3c0" kindref="member">commit_user_</ref>;</highlight></codeline> |
| <codeline lineno="118" refid="classpaimon_1_1_write_context_1aa784d20eba155e1a9088e6449658f6a6" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>std::string<sp/><ref refid="classpaimon_1_1_write_context_1aa784d20eba155e1a9088e6449658f6a6" kindref="member">branch_</ref>;</highlight></codeline> |
| <codeline lineno="119" refid="classpaimon_1_1_write_context_1a6262c6dddd7c73cb1d4ab2e435368758" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classpaimon_1_1_write_context_1a6262c6dddd7c73cb1d4ab2e435368758" kindref="member">is_streaming_mode_</ref>;</highlight></codeline> |
| <codeline lineno="120" refid="classpaimon_1_1_write_context_1af6d8171e46750db5b6848193d788e589" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classpaimon_1_1_write_context_1af6d8171e46750db5b6848193d788e589" kindref="member">ignore_num_bucket_check_</ref>;</highlight></codeline> |
| <codeline lineno="121" refid="classpaimon_1_1_write_context_1a88b0c4a72633198e4b838c448da3bf8f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classpaimon_1_1_write_context_1a88b0c4a72633198e4b838c448da3bf8f" kindref="member">ignore_previous_files_</ref>;</highlight></codeline> |
| <codeline lineno="122" refid="classpaimon_1_1_write_context_1ae0a741a0dd66f710ae96c073b217f886" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classpaimon_1_1_write_context_1ae0a741a0dd66f710ae96c073b217f886" kindref="member">enable_multi_thread_spill_</ref>;</highlight></codeline> |
| <codeline lineno="123" refid="classpaimon_1_1_write_context_1a156c617b9a21fd85aed110776d97d952" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>std::optional<int32_t><sp/><ref refid="classpaimon_1_1_write_context_1a156c617b9a21fd85aed110776d97d952" kindref="member">write_id_</ref>;</highlight></codeline> |
| <codeline lineno="124" refid="classpaimon_1_1_write_context_1af9bf8f2cf44e094ffc47a425fc17113e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>std::vector<std::string><sp/><ref refid="classpaimon_1_1_write_context_1af9bf8f2cf44e094ffc47a425fc17113e" kindref="member">write_schema_</ref>;</highlight></codeline> |
| <codeline lineno="125" refid="classpaimon_1_1_write_context_1aa3122b96ef0b7a706944a22177002d58" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>std::shared_ptr<MemoryPool><sp/><ref refid="classpaimon_1_1_write_context_1aa3122b96ef0b7a706944a22177002d58" kindref="member">memory_pool_</ref>;</highlight></codeline> |
| <codeline lineno="126" refid="classpaimon_1_1_write_context_1aeb309be4a43a0a7976334a659ec8e5c5" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>std::shared_ptr<Executor><sp/><ref refid="classpaimon_1_1_write_context_1aeb309be4a43a0a7976334a659ec8e5c5" kindref="member">executor_</ref>;</highlight></codeline> |
| <codeline lineno="127" refid="classpaimon_1_1_write_context_1a138a9755946ad4579316c606e481cccc" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>std::string<sp/><ref refid="classpaimon_1_1_write_context_1a138a9755946ad4579316c606e481cccc" kindref="member">temp_directory_</ref>;</highlight></codeline> |
| <codeline lineno="128" refid="classpaimon_1_1_write_context_1af5117c2d4a3df3027d18842142e8fe6d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>std::shared_ptr<FileSystem><sp/><ref refid="classpaimon_1_1_write_context_1af5117c2d4a3df3027d18842142e8fe6d" kindref="member">specific_file_system_</ref>;</highlight></codeline> |
| <codeline lineno="129" refid="classpaimon_1_1_write_context_1a7b28a301975ba0b865a6ddac12a7b686" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>std::map<std::string,<sp/>std::string><sp/><ref refid="classpaimon_1_1_write_context_1a7b28a301975ba0b865a6ddac12a7b686" kindref="member">fs_scheme_to_identifier_map_</ref>;</highlight></codeline> |
| <codeline lineno="130" refid="classpaimon_1_1_write_context_1a0d33b542c241dc00c1a44f66c4c947f2" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>std::map<std::string,<sp/>std::string><sp/><ref refid="classpaimon_1_1_write_context_1a0d33b542c241dc00c1a44f66c4c947f2" kindref="member">options_</ref>;</highlight></codeline> |
| <codeline lineno="131"><highlight class="normal">};</highlight></codeline> |
| <codeline lineno="132"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="134" refid="classpaimon_1_1_write_context_builder" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">PAIMON_EXPORT</ref><sp/><ref refid="classpaimon_1_1_write_context_builder" kindref="compound">WriteContextBuilder</ref><sp/>{</highlight></codeline> |
| <codeline lineno="135"><highlight class="normal"><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline> |
| <codeline lineno="139" refid="classpaimon_1_1_write_context_builder_1a6ad9a69a9e46607f1e94d19deda365af" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classpaimon_1_1_write_context_builder_1a6ad9a69a9e46607f1e94d19deda365af" kindref="member">WriteContextBuilder</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&<sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">root_path</ref>,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&<sp/>commit_user);</highlight></codeline> |
| <codeline lineno="140"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="141" refid="classpaimon_1_1_write_context_builder_1aff1f3c2273a608227aa43889237c4e78" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classpaimon_1_1_write_context_builder_1aff1f3c2273a608227aa43889237c4e78" kindref="member">~WriteContextBuilder</ref>();</highlight></codeline> |
| <codeline lineno="142"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="148" refid="classpaimon_1_1_write_context_builder_1a1adf3f18f8780a7da951272ae795abe5" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classpaimon_1_1_write_context_builder" kindref="compound">WriteContextBuilder</ref>&<sp/><ref refid="classpaimon_1_1_write_context_builder_1a1adf3f18f8780a7da951272ae795abe5" kindref="member">SetOptions</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::map<std::string,<sp/>std::string>&<sp/>options);</highlight></codeline> |
| <codeline lineno="149"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="158" refid="classpaimon_1_1_write_context_builder_1a27cdcf8737e307ec36d2590c8561ae73" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classpaimon_1_1_write_context_builder" kindref="compound">WriteContextBuilder</ref>&<sp/><ref refid="classpaimon_1_1_write_context_builder_1a27cdcf8737e307ec36d2590c8561ae73" kindref="member">AddOption</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&<sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">key</ref>,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&<sp/>value);</highlight></codeline> |
| <codeline lineno="159"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="162" refid="classpaimon_1_1_write_context_builder_1a44f08b858246970933fa263b8428983f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classpaimon_1_1_write_context_builder" kindref="compound">WriteContextBuilder</ref>&<sp/><ref refid="classpaimon_1_1_write_context_builder_1a44f08b858246970933fa263b8428983f" kindref="member">WithStreamingMode</ref>(</highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">is_streaming_mode</ref>);</highlight></codeline> |
| <codeline lineno="163"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="166" refid="classpaimon_1_1_write_context_builder_1a05a89ef124b790b8ea61f12bf59ed60e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classpaimon_1_1_write_context_builder" kindref="compound">WriteContextBuilder</ref>&<sp/><ref refid="classpaimon_1_1_write_context_builder_1a05a89ef124b790b8ea61f12bf59ed60e" kindref="member">WithIgnoreNumBucketCheck</ref>(</highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">ignore_num_bucket_check</ref>);</highlight></codeline> |
| <codeline lineno="167"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="170" refid="classpaimon_1_1_write_context_builder_1a8e834e02efd5eb174d08e200d89908be" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classpaimon_1_1_write_context_builder" kindref="compound">WriteContextBuilder</ref>&<sp/><ref refid="classpaimon_1_1_write_context_builder_1a8e834e02efd5eb174d08e200d89908be" kindref="member">WithIgnorePreviousFiles</ref>(</highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">ignore_previous_files</ref>);</highlight></codeline> |
| <codeline lineno="171"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="175" refid="classpaimon_1_1_write_context_builder_1a27e4da341f9e6c6e3a71e97a1cb4be39" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classpaimon_1_1_write_context_builder" kindref="compound">WriteContextBuilder</ref>&<sp/><ref refid="classpaimon_1_1_write_context_builder_1a27e4da341f9e6c6e3a71e97a1cb4be39" kindref="member">WithMemoryPool</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::shared_ptr<MemoryPool>&<sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">memory_pool</ref>);</highlight></codeline> |
| <codeline lineno="176"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="180" refid="classpaimon_1_1_write_context_builder_1a2eee68bec2e79f0f0dbddff6a52711ae" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classpaimon_1_1_write_context_builder" kindref="compound">WriteContextBuilder</ref>&<sp/><ref refid="classpaimon_1_1_write_context_builder_1a2eee68bec2e79f0f0dbddff6a52711ae" kindref="member">WithExecutor</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::shared_ptr<Executor>&<sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">executor</ref>);</highlight></codeline> |
| <codeline lineno="181"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="185" refid="classpaimon_1_1_write_context_builder_1acf6bfdc8d1bb7c8cb12bb0dc83996947" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classpaimon_1_1_write_context_builder" kindref="compound">WriteContextBuilder</ref>&<sp/><ref refid="classpaimon_1_1_write_context_builder_1acf6bfdc8d1bb7c8cb12bb0dc83996947" kindref="member">WithTempDirectory</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&<sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">temp_dir</ref>);</highlight></codeline> |
| <codeline lineno="186"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="194" refid="classpaimon_1_1_write_context_builder_1ad8028f23e6eaba79e40318ee94c2dcc5" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classpaimon_1_1_write_context_builder" kindref="compound">WriteContextBuilder</ref>&<sp/><ref refid="classpaimon_1_1_write_context_builder_1ad8028f23e6eaba79e40318ee94c2dcc5" kindref="member">WithWriteId</ref>(<ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">int32_t</ref><sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">write_id</ref>);</highlight></codeline> |
| <codeline lineno="195"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="198" refid="classpaimon_1_1_write_context_builder_1a82d651fbd10b459afa53bfab69579253" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classpaimon_1_1_write_context_builder" kindref="compound">WriteContextBuilder</ref>&<sp/><ref refid="classpaimon_1_1_write_context_builder_1a82d651fbd10b459afa53bfab69579253" kindref="member">WithBranch</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&<sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">branch</ref>);</highlight></codeline> |
| <codeline lineno="199"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="203" refid="classpaimon_1_1_write_context_builder_1a30d7e66dfe2f42f2b832f530f3922acb" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classpaimon_1_1_write_context_builder" kindref="compound">WriteContextBuilder</ref>&<sp/><ref refid="classpaimon_1_1_write_context_builder_1a30d7e66dfe2f42f2b832f530f3922acb" kindref="member">WithWriteSchema</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::vector<std::string>&<sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">write_schema</ref>);</highlight></codeline> |
| <codeline lineno="204"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="211" refid="classpaimon_1_1_write_context_builder_1a6a239db57984aec089169ce18977eec3" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classpaimon_1_1_write_context_builder" kindref="compound">WriteContextBuilder</ref>&<sp/><ref refid="classpaimon_1_1_write_context_builder_1a6a239db57984aec089169ce18977eec3" kindref="member">WithFileSystem</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::shared_ptr<FileSystem>&<sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">file_system</ref>);</highlight></codeline> |
| <codeline lineno="212"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="229" refid="classpaimon_1_1_write_context_builder_1ab2553c687ce23775477e9d861cd3fd70" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classpaimon_1_1_write_context_builder" kindref="compound">WriteContextBuilder</ref>&<sp/><ref refid="classpaimon_1_1_write_context_builder_1ab2553c687ce23775477e9d861cd3fd70" kindref="member">WithFileSystemSchemeToIdentifierMap</ref>(</highlight></codeline> |
| <codeline lineno="230"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::map<std::string,<sp/>std::string>&<sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">fs_scheme_to_identifier_map</ref>);</highlight></codeline> |
| <codeline lineno="231"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="237" refid="classpaimon_1_1_write_context_builder_1a5077992b75589880f0ad08b41caab322" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classpaimon_1_1_write_context_builder" kindref="compound">WriteContextBuilder</ref>&<sp/><ref refid="classpaimon_1_1_write_context_builder_1a5077992b75589880f0ad08b41caab322" kindref="member">SetWriteBufferSpillThreadNumber</ref>(<ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">int32_t</ref><sp/><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">thread_number</ref>);</highlight></codeline> |
| <codeline lineno="238"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="241" refid="classpaimon_1_1_write_context_builder_1a6b4ea339ae0baf164b5664323f27051b" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classpaimon_1_1_result" kindref="compound">Result<std::unique_ptr<WriteContext></ref>><sp/><ref refid="classpaimon_1_1_write_context_builder_1a6b4ea339ae0baf164b5664323f27051b" kindref="member">Finish</ref>();</highlight></codeline> |
| <codeline lineno="242"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="243"><highlight class="normal"><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline> |
| <codeline lineno="244"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="memory__pool_8h_1a147ba4ba34a215b3a4f3a95c1ee11704" kindref="member">Impl</ref>;</highlight></codeline> |
| <codeline lineno="245"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="246" refid="classpaimon_1_1_write_context_builder_1ae3a74e72a038ca11ecbbd0ae032f5bf8" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>std::unique_ptr<Impl><sp/><ref refid="classpaimon_1_1_write_context_builder_1ae3a74e72a038ca11ecbbd0ae032f5bf8" kindref="member">impl_</ref>;</highlight></codeline> |
| <codeline lineno="247"><highlight class="normal">};</highlight></codeline> |
| <codeline lineno="248"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="249"><highlight class="normal">}<sp/><sp/></highlight><highlight class="comment">//<sp/>namespace<sp/>paimon</highlight><highlight class="normal"></highlight></codeline> |
| </programlisting> |
| <location file="/home/runner/work/paimon-cpp/paimon-cpp/include/paimon/write_context.h"/> |
| </compounddef> |
| </doxygen> |