| <?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="constants_8h" kind="file" language="C++"> |
| <compoundname>constants.h</compoundname> |
| <includes local="no">cstdint</includes> |
| <includes local="no">string_view</includes> |
| <includedby refid="json__serde_8cc" local="yes">iceberg/json_serde.cc</includedby> |
| <includedby refid="manifest__list_8h" local="yes">iceberg/manifest/manifest_list.h</includedby> |
| <includedby refid="manifest__writer_8cc" local="yes">iceberg/manifest/manifest_writer.cc</includedby> |
| <includedby refid="v2__metadata_8cc" local="yes">iceberg/manifest/v2_metadata.cc</includedby> |
| <includedby refid="v3__metadata_8cc" local="yes">iceberg/manifest/v3_metadata.cc</includedby> |
| <includedby refid="parquet__schema__util_8cc" local="yes">iceberg/parquet/parquet_schema_util.cc</includedby> |
| <includedby refid="schema__internal_8cc" local="yes">iceberg/schema_internal.cc</includedby> |
| <includedby refid="table__metadata_8cc" local="yes">iceberg/table_metadata.cc</includedby> |
| <includedby refid="arrow__test_8cc" local="yes">iceberg/test/arrow_test.cc</includedby> |
| <includedby refid="manifest__writer__versions__test_8cc" local="yes">iceberg/test/manifest_writer_versions_test.cc</includedby> |
| <includedby refid="fast__append_8cc" local="yes">iceberg/update/fast_append.cc</includedby> |
| <includedby refid="snapshot__update_8cc" local="yes">iceberg/update/snapshot_update.cc</includedby> |
| <incdepgraph> |
| <node id="1"> |
| <label>iceberg/constants.h</label> |
| <link refid="constants_8h"/> |
| <childnode refid="2" relation="include"> |
| </childnode> |
| <childnode refid="3" relation="include"> |
| </childnode> |
| </node> |
| <node id="2"> |
| <label>cstdint</label> |
| </node> |
| <node id="3"> |
| <label>string_view</label> |
| </node> |
| </incdepgraph> |
| <invincdepgraph> |
| <node id="1"> |
| <label>iceberg/constants.h</label> |
| <link refid="constants_8h"/> |
| <childnode refid="2" relation="include"> |
| </childnode> |
| </node> |
| <node id="3"> |
| <label>iceberg/manifest/manifest_group.h</label> |
| <link refid="manifest__group_8h"/> |
| </node> |
| <node id="2"> |
| <label>iceberg/manifest/manifest_list.h</label> |
| <link refid="manifest__list_8h"/> |
| <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> |
| </node> |
| <node id="4"> |
| <label>iceberg/manifest/manifest_writer.h</label> |
| <link refid="manifest__writer_8h"/> |
| <childnode refid="5" relation="include"> |
| </childnode> |
| </node> |
| <node id="5"> |
| <label>iceberg/manifest/rolling_manifest_writer.h</label> |
| <link refid="rolling__manifest__writer_8h"/> |
| </node> |
| <node id="6"> |
| <label>iceberg/row/manifest_wrapper.h</label> |
| <link refid="manifest__wrapper_8h_source"/> |
| </node> |
| <node id="7"> |
| <label>iceberg/snapshot.h</label> |
| <link refid="snapshot_8h_source"/> |
| <childnode refid="8" relation="include"> |
| </childnode> |
| <childnode refid="10" relation="include"> |
| </childnode> |
| <childnode refid="9" relation="include"> |
| </childnode> |
| <childnode refid="11" relation="include"> |
| </childnode> |
| </node> |
| <node id="8"> |
| <label>iceberg/table.h</label> |
| <link refid="table_8h_source"/> |
| <childnode refid="9" relation="include"> |
| </childnode> |
| </node> |
| <node id="10"> |
| <label>iceberg/table_update.h</label> |
| <link refid="table__update_8h"/> |
| </node> |
| <node id="9"> |
| <label>iceberg/test/update_test_base.h</label> |
| <link refid="update__test__base_8h_source"/> |
| </node> |
| <node id="12"> |
| <label>iceberg/update/fast_append.h</label> |
| <link refid="fast__append_8h"/> |
| </node> |
| <node id="11"> |
| <label>iceberg/update/snapshot_update.h</label> |
| <link refid="snapshot__update_8h_source"/> |
| <childnode refid="12" relation="include"> |
| </childnode> |
| </node> |
| </invincdepgraph> |
| <innernamespace refid="namespaceiceberg">iceberg</innernamespace> |
| <briefdescription> |
| </briefdescription> |
| <detaileddescription> |
| <para>This file defines constants used commonly and shared across multiple source files. It is mostly useful to add constants that are used as default values in the class definitions in the header files without including other headers just for the constant definitions. </para> |
| </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/>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,</highlight></codeline> |
| <codeline lineno="13"><highlight class="comment"><sp/>*<sp/>software<sp/>distributed<sp/>under<sp/>the<sp/>License<sp/>is<sp/>distributed<sp/>on<sp/>an</highlight></codeline> |
| <codeline lineno="14"><highlight class="comment"><sp/>*<sp/>"AS<sp/>IS"<sp/>BASIS,<sp/>WITHOUT<sp/>WARRANTIES<sp/>OR<sp/>CONDITIONS<sp/>OF<sp/>ANY</highlight></codeline> |
| <codeline lineno="15"><highlight class="comment"><sp/>*<sp/>KIND,<sp/>either<sp/>express<sp/>or<sp/>implied.<sp/><sp/>See<sp/>the<sp/>License<sp/>for<sp/>the</highlight></codeline> |
| <codeline lineno="16"><highlight class="comment"><sp/>*<sp/>specific<sp/>language<sp/>governing<sp/>permissions<sp/>and<sp/>limitations</highlight></codeline> |
| <codeline lineno="17"><highlight class="comment"><sp/>*<sp/>under<sp/>the<sp/>License.</highlight></codeline> |
| <codeline lineno="18"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline> |
| <codeline lineno="19"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="20"><highlight class="normal"></highlight><highlight class="preprocessor">#pragma<sp/>once</highlight><highlight class="normal"></highlight></codeline> |
| <codeline lineno="21"><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/><cstdint></highlight><highlight class="normal"></highlight></codeline> |
| <codeline lineno="29"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><string_view></highlight><highlight class="normal"></highlight></codeline> |
| <codeline lineno="30"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="31"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">iceberg<sp/>{</highlight></codeline> |
| <codeline lineno="32"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="33"><highlight class="normal"></highlight><highlight class="keyword">constexpr</highlight><highlight class="normal"><sp/>std::string_view<sp/>kParquetFieldIdKey<sp/>=<sp/></highlight><highlight class="stringliteral">"PARQUET:field_id"</highlight><highlight class="normal">;</highlight></codeline> |
| <codeline lineno="34"><highlight class="normal"></highlight><highlight class="keyword">constexpr</highlight><highlight class="normal"><sp/>int64_t<sp/>kInvalidSnapshotId<sp/>=<sp/>-1;</highlight></codeline> |
| <codeline lineno="35"><highlight class="normal"></highlight><highlight class="keyword">constexpr</highlight><highlight class="normal"><sp/>int64_t<sp/>kInvalidSequenceNumber<sp/>=<sp/>-1;</highlight></codeline> |
| <codeline lineno="39" refid="constants_8h_1a670fd6bdc1ce5a7faf639ef95c8cdfa5" refkind="member"><highlight class="keyword">constexpr</highlight><highlight class="normal"><sp/>int64_t<sp/><ref refid="constants_8h_1a670fd6bdc1ce5a7faf639ef95c8cdfa5" kindref="member">kUnassignedSequenceNumber</ref><sp/>=<sp/>-1;</highlight></codeline> |
| <codeline lineno="40"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="41"><highlight class="normal"></highlight><highlight class="comment">//<sp/>TODO(gangwu):<sp/>move<sp/>other<sp/>commonly<sp/>used<sp/>constants<sp/>here.</highlight><highlight class="normal"></highlight></codeline> |
| <codeline lineno="42"><highlight class="normal"></highlight></codeline> |
| <codeline lineno="43"><highlight class="normal">}<sp/><sp/></highlight><highlight class="comment">//<sp/>namespace<sp/>iceberg</highlight><highlight class="normal"></highlight></codeline> |
| </programlisting> |
| <location file="iceberg/constants.h"/> |
| </compounddef> |
| </doxygen> |