arrow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject [11/51] [partial] arrow-site git commit: Add Ray serialization blog post, update API docs
Date Mon, 16 Oct 2017 14:13:34 GMT
http://git-wip-us.apache.org/repos/asf/arrow-site/blob/785c5862/docs/cpp/table_8h_source.html
----------------------------------------------------------------------
diff --git a/docs/cpp/table_8h_source.html b/docs/cpp/table_8h_source.html
index bab306c..dac5dc0 100644
--- a/docs/cpp/table_8h_source.html
+++ b/docs/cpp/table_8h_source.html
@@ -5,7 +5,7 @@
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.13"/>
 <meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>Apache Arrow (C++): /home/wesm/code/arrow/cpp/src/arrow/table.h Source File</title>
+<title>Apache Arrow (C++): /apache-arrow/arrow/cpp/src/arrow/table.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>
@@ -67,7 +67,7 @@ $(function() {
 <div class="title">table.h</div>  </div>
 </div><!--header-->
 <div class="contents">
-<a href="table_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// or more contributor license agreements.  See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// regarding copyright ownership.  The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00006"></a><span class="
 lineno">    6</span>&#160;<span class="comment">// &quot;License&quot;); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// with the License.  You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//   http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing,</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// software distributed und
 er the License is distributed on an</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// KIND, either express or implied.  See the License for the</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// specific language governing permissions and limitations</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// under the License.</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#ifndef ARROW_TABLE_H</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</s
 pan>&#160;<span class="preprocessor">#define ARROW_TABLE_H</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;cstdint&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="array_8h.html">arrow/array.h</a>&quot;</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="type_8h.html">arrow/type.h</a>&quot;</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="visibility_8h.html">arrow/util/visibility.h</a>&quot;</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacearrow.html">arrow</a> {</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">class </span>KeyValueMetadata;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">class </span>Stat
 us;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="namespacearrow.html#ad77c54b51dac02d857f3a26d11ed58b3">   35</a></span>&#160;<span class="keyword">using</span> <a class="code" href="namespacearrow.html#ad77c54b51dac02d857f3a26d11ed58b3">ArrayVector</a> = std::vector&lt;std::shared_ptr&lt;Array&gt;&gt;;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classarrow_1_1_chunked_array.html">   40</a></span>&#160;<span class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1_chunked_array.html">ChunkedArray</a> {</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;  <span cl
 ass="keyword">explicit</span> <a class="code" href="classarrow_1_1_chunked_array.html">ChunkedArray</a>(<span class="keyword">const</span> <a class="code" href="namespacearrow.html#ad77c54b51dac02d857f3a26d11ed58b3">ArrayVector</a>&amp; chunks);</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classarrow_1_1_chunked_array.html#a4df41bf1a05cd1083a2c4502e0a85f87">   45</a></span>&#160;  int64_t <a class="code" href="classarrow_1_1_chunked_array.html#a4df41bf1a05cd1083a2c4502e0a85f87">length</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> length_; }</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classarrow_1_1_chunked_array.html#a962541b044ac5a7a6a87499cef7957bb">   47</a></span>&#160;  int64_t <a class="code"
  href="classarrow_1_1_chunked_array.html#a962541b044ac5a7a6a87499cef7957bb">null_count</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> null_count_; }</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classarrow_1_1_chunked_array.html#afa477fd2e9a3ce9131d9d7f4391de52b">   49</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classarrow_1_1_chunked_array.html#afa477fd2e9a3ce9131d9d7f4391de52b">num_chunks</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">int</span><span class="keyword">&gt;</span>(chunks_.size()); }</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classarrow_1_1_chunked
 _array.html#a92ec02f5904ac3e4dac5328e44ebf0fb">   52</a></span>&#160;  std::shared_ptr&lt;Array&gt; <a class="code" href="classarrow_1_1_chunked_array.html#a92ec02f5904ac3e4dac5328e44ebf0fb">chunk</a>(<span class="keywordtype">int</span> i)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> chunks_[i]; }</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classarrow_1_1_chunked_array.html#af53b92e2594cbe9d84710256e295586a">   54</a></span>&#160;  <span class="keyword">const</span> <a class="code" href="namespacearrow.html#ad77c54b51dac02d857f3a26d11ed58b3">ArrayVector</a>&amp; <a class="code" href="classarrow_1_1_chunked_array.html#af53b92e2594cbe9d84710256e295586a">chunks</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> chunks_; }</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span
 >&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classarrow_1_1_chunked_array.html#adb15afa228802d9fab0f3993a4f82df2">   56</a></span>&#160;  std::shared_ptr&lt;DataType&gt; <a class="code" href="classarrow_1_1_chunked_array.html#adb15afa228802d9fab0f3993a4f82df2">type</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> chunks_[0]-&gt;type(); }</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;  <span class="keywordtype">bool</span> Equals(<span class="keyword">const</span> <a class="code" href="classarrow_1_1_chunked_array.html">ChunkedArray</a>&amp; other) <span class="keyword">const</span>;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;  <span class="keywordtype">bool</span> Equals(<span class="keyword">const</span> std::shared_ptr&lt;ChunkedArray&gt;&a
 mp; other) <span class="keyword">const</span>;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classarrow_1_1_chunked_array.html#a438707b92386f68a63348c30743bc159">   62</a></span>&#160;  <a class="code" href="namespacearrow.html#ad77c54b51dac02d857f3a26d11ed58b3">ArrayVector</a> <a class="code" href="classarrow_1_1_chunked_array.html#a438707b92386f68a63348c30743bc159">chunks_</a>;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classarrow_1_1_chunked_array.html#a4d2fc435340a18c488a3001ce88018c4">   63</a></span>&#160;  int64_t <a class="code" href="classarrow_1_1_chunked_array.html#a4d2fc435340a18c488a3001ce88018c4">length_</a>;</div><div class="line"><a name="l00064"></a><span class="lineno"><a class
 ="line" href="classarrow_1_1_chunked_array.html#a45ef30e6a7823f1666b0f50ecde903a7">   64</a></span>&#160;  int64_t <a class="code" href="classarrow_1_1_chunked_array.html#a45ef30e6a7823f1666b0f50ecde903a7">null_count_</a>;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;};</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classarrow_1_1_column.html">   69</a></span>&#160;<span class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1_column.html">Column</a> {</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;  <a class="code" href="classarrow_1_1_column.html">Column</a>(<span class="keyword">const</span> std::shared_ptr&lt;Field&gt;&amp; <a class="code" href
 ="namespacearrow.html#af0d5a7049126d6052b1e6e8f4c5b2cdd">field</a>, <span class="keyword">const</span> <a class="code" href="namespacearrow.html#ad77c54b51dac02d857f3a26d11ed58b3">ArrayVector</a>&amp; chunks);</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;  <a class="code" href="classarrow_1_1_column.html">Column</a>(<span class="keyword">const</span> std::shared_ptr&lt;Field&gt;&amp; field, <span class="keyword">const</span> std::shared_ptr&lt;ChunkedArray&gt;&amp; data);</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  <a class="code" href="classarrow_1_1_column.html">Column</a>(<span class="keyword">const</span> std::shared_ptr&lt;Field&gt;&amp; field, <span class="keyword">const</span> std::shared_ptr&lt;Array&gt;&amp; data);</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class=
 "line"><a name="l00076"></a><span class="lineno">   76</span>&#160;  <span class="comment">// Construct from name and array</span></div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;  <a class="code" href="classarrow_1_1_column.html">Column</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> std::shared_ptr&lt;Array&gt;&amp; data);</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classarrow_1_1_column.html#aafda8e7be9dbc335820622b4e98e9bdd">   79</a></span>&#160;  int64_t <a class="code" href="classarrow_1_1_column.html#aafda8e7be9dbc335820622b4e98e9bdd">length</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> data_-&gt;length(); }</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00081"><
 /a><span class="lineno"><a class="line" href="classarrow_1_1_column.html#ab8d98c9a76cae4bc7ac69085b3841d38">   81</a></span>&#160;  int64_t <a class="code" href="classarrow_1_1_column.html#ab8d98c9a76cae4bc7ac69085b3841d38">null_count</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> data_-&gt;null_count(); }</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classarrow_1_1_column.html#abe5c96f676c6fb811eb02c8064e5bd8e">   83</a></span>&#160;  std::shared_ptr&lt;Field&gt; <a class="code" href="classarrow_1_1_column.html#abe5c96f676c6fb811eb02c8064e5bd8e">field</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> field_; }</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classarrow_1_
 1_column.html#a6e9aad20d90a5584d46a773dfafc3d2d">   87</a></span>&#160;  <span class="keyword">const</span> std::string&amp; <a class="code" href="classarrow_1_1_column.html#a6e9aad20d90a5584d46a773dfafc3d2d">name</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> field_-&gt;name(); }</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classarrow_1_1_column.html#a3654c4e1f5272c46a287b4f31ae3175a">   91</a></span>&#160;  std::shared_ptr&lt;DataType&gt; <a class="code" href="classarrow_1_1_column.html#a3654c4e1f5272c46a287b4f31ae3175a">type</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> field_-&gt;type(); }</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classarrow_1_1_column.html
 #abc25d5b5897d669939df0db721837aa4">   95</a></span>&#160;  std::shared_ptr&lt;ChunkedArray&gt; <a class="code" href="classarrow_1_1_column.html#abc25d5b5897d669939df0db721837aa4">data</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> data_; }</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;  <span class="keywordtype">bool</span> Equals(<span class="keyword">const</span> <a class="code" href="classarrow_1_1_column.html">Column</a>&amp; other) <span class="keyword">const</span>;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;  <span class="keywordtype">bool</span> Equals(<span class="keyword">const</span> std::shared_ptr&lt;Column&gt;&amp; other) <span class="keyword">const</span>;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div><div class="line"><a name="l00
 102"></a><span class="lineno">  102</span>&#160;  <a class="code" href="classarrow_1_1_status.html">Status</a> ValidateData();</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classarrow_1_1_column.html#acb3b624c4141ccb89aaf0f7c18d7aca8">  105</a></span>&#160;  std::shared_ptr&lt;Field&gt; <a class="code" href="classarrow_1_1_column.html#acb3b624c4141ccb89aaf0f7c18d7aca8">field_</a>;</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classarrow_1_1_column.html#ad362479f06033fdcf67cd45a7e354ab1">  106</a></span>&#160;  std::shared_ptr&lt;ChunkedArray&gt; <a class="code" href="classarrow_1_1_column.html#ad362479f06033fdcf67cd45a7e354ab1">data_</a>;</div><div class="line"><a name="l00107"></a><span class="lin
 eno">  107</span>&#160;};</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="classarrow_1_1_record_batch.html">  114</a></span>&#160;<span class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1_record_batch.html">RecordBatch</a> {</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;  <a class="code" href="classarrow_1_1_record_batch.html">RecordBatch</a>(<span class="keyword">const</span> std::shared_ptr&lt;Schema&gt;&amp; <a class="code" href="namespacearrow.html#ae1692c648f5447a7f95ddbe2c4e9a5fc">schema</a>, int64_t num_rows,</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;              <span class="keyword">const</span> std::vector&lt;std::shared_ptr&lt;A
 rray&gt;&gt;&amp; columns);</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;  <a class="code" href="classarrow_1_1_record_batch.html">RecordBatch</a>(<span class="keyword">const</span> std::shared_ptr&lt;Schema&gt;&amp; schema, int64_t num_rows,</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;              std::vector&lt;std::shared_ptr&lt;Array&gt;&gt;&amp;&amp; columns);</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;  <a class="code" href="classarrow_1_1_record_batch.html">RecordBatch</a>(<span class="keyword">const</span> std::shared_ptr&lt;Schema&gt;&amp; schema, int64_t num_rows,</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;              std::vector&lt;std::shared_ptr&lt
 ;ArrayData&gt;&gt;&amp;&amp; columns);</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;  <a class="code" href="classarrow_1_1_record_batch.html">RecordBatch</a>(<span class="keyword">const</span> std::shared_ptr&lt;Schema&gt;&amp; schema, int64_t num_rows,</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;              <span class="keyword">const</span> std::vector&lt;std::shared_ptr&lt;ArrayData&gt;&gt;&amp; columns);</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;  <span class="keywordtype">bool</span> Equals(<span class="keyword">const</span> <a class="code" href="classarrow_1_1_record_batch.html">RecordBatch</a>&amp; other) <span class="keyword">const</span>;</div><div class="line"><a name="l00148"></a><span cla
 ss="lineno">  148</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;  <span class="keywordtype">bool</span> ApproxEquals(<span class="keyword">const</span> <a class="code" href="classarrow_1_1_record_batch.html">RecordBatch</a>&amp; other) <span class="keyword">const</span>;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;  <span class="comment">// \return the table&#39;s schema</span></div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="classarrow_1_1_record_batch.html#ab12ff2c2d5cca56fc185f9a4dfc64395">  154</a></span>&#160;<span class="comment"></span>  std::shared_ptr&lt;Schema&gt; <a class="code" href="classarrow_1_1_record_batch.html#ab12ff2c2d5cca56fc185f9a4dfc64395">schema</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> schema_; }</div><div clas
 s="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;  std::shared_ptr&lt;Array&gt; column(<span class="keywordtype">int</span> i) <span class="keyword">const</span>;</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="classarrow_1_1_record_batch.html#ac4090fcb8edc640f16a080e3e6548da3">  161</a></span>&#160;  std::shared_ptr&lt;ArrayData&gt; <a class="code" href="classarrow_1_1_record_batch.html#ac4090fcb8edc640f16a080e3e6548da3">column_data</a>(<span class="keywordtype">int</span> i)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> columns_[i]; }</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;  <span class="keyword">const
 </span> std::string&amp; column_name(<span class="keywordtype">int</span> i) <span class="keyword">const</span>;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="classarrow_1_1_record_batch.html#a9cc71f8b2e351ea3e432686172f34546">  167</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classarrow_1_1_record_batch.html#a9cc71f8b2e351ea3e432686172f34546">num_columns</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">int</span><span class="keyword">&gt;</span>(columns_.size()); }</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="classarrow_1_1_record_batch.html#aa1012641ffba9c70786dffbb2bb76d4f">  170</a></span>&#160;  in
 t64_t <a class="code" href="classarrow_1_1_record_batch.html#aa1012641ffba9c70786dffbb2bb76d4f">num_rows</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> num_rows_; }</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;  std::shared_ptr&lt;RecordBatch&gt; ReplaceSchemaMetadata(</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;      <span class="keyword">const</span> std::shared_ptr&lt;const KeyValueMetadata&gt;&amp; metadata) <span class="keyword">const</span>;</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;  std::shared_ptr&lt;RecordBatch&gt; Slice(int64_t offset) <span class="keyword">const</span>;</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;</d
 iv><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;  std::shared_ptr&lt;RecordBatch&gt; Slice(int64_t offset, int64_t length) <span class="keyword">const</span>;</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;  <a class="code" href="classarrow_1_1_status.html">Status</a> Validate() <span class="keyword">const</span>;</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;  <a class="code" href="classarrow_1_1_record_batch.html">RecordBatch</a>(<span class="keyword">const</span> std::shared_ptr&lt;Schema&gt;&amp; schema, int64_t num_rows);</div><div class="line"><a name="l00197"></a><span class="lineno">  1
 97</span>&#160;</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;  std::shared_ptr&lt;Schema&gt; schema_;</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;  int64_t num_rows_;</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;  std::vector&lt;std::shared_ptr&lt;ArrayData&gt;&gt; columns_;</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;  <span class="comment">// Caching boxed array data</span></div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;  <span class="keyword">mutable</span> std::vector&lt;std::shared_ptr&lt;Array&gt;&gt; boxed_columns_;</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;};</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;</div><div class="line"><
 a name="l00208"></a><span class="lineno"><a class="line" href="classarrow_1_1_table.html">  208</a></span>&#160;<span class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1_table.html">Table</a> {</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;  <a class="code" href="classarrow_1_1_table.html">Table</a>(<span class="keyword">const</span> std::shared_ptr&lt;Schema&gt;&amp; <a class="code" href="namespacearrow.html#ae1692c648f5447a7f95ddbe2c4e9a5fc">schema</a>,</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;        <span class="keyword">const</span> std::vector&lt;std::shared_ptr&lt;Column&gt;&gt;&amp; columns, int64_t num_rows = -1);</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;</div><div class="line"><a name="l00222"></a><span class
 ="lineno">  222</span>&#160;  <a class="code" href="classarrow_1_1_table.html">Table</a>(<span class="keyword">const</span> std::shared_ptr&lt;Schema&gt;&amp; schema,</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;        <span class="keyword">const</span> std::vector&lt;std::shared_ptr&lt;Array&gt;&gt;&amp; arrays, int64_t num_rows = -1);</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;  <span class="comment">// Construct table from RecordBatch, but only if all of the batch schemas are</span></div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;  <span class="comment">// equal. Returns Status::Invalid if there is some problem</span></div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;  <span class="keyword">static</span> <a class="code" href="classarrow_1_1_status.html"
 >Status</a> FromRecordBatches(</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;      <span class="keyword">const</span> std::vector&lt;std::shared_ptr&lt;RecordBatch&gt;&gt;&amp; batches,</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;      std::shared_ptr&lt;Table&gt;* table);</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;</div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="classarrow_1_1_table.html#a8d8626acf4d00e2ac439c4f1cc7a054a">  232</a></span>&#160;  std::shared_ptr&lt;Schema&gt; <a class="code" href="classarrow_1_1_table.html#a8d8626acf4d00e2ac439c4f1cc7a054a">schema</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> schema_; }</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;</div><div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="classa
 rrow_1_1_table.html#aa3a89f8fc24bfbb8805f46908fb13bb6">  236</a></span>&#160;  std::shared_ptr&lt;Column&gt; <a class="code" href="classarrow_1_1_table.html#aa3a89f8fc24bfbb8805f46908fb13bb6">column</a>(<span class="keywordtype">int</span> i)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> columns_[i]; }</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;  <a class="code" href="classarrow_1_1_status.html">Status</a> RemoveColumn(<span class="keywordtype">int</span> i, std::shared_ptr&lt;Table&gt;* out) <span class="keyword">const</span>;</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;  <a class="code" href="classarrow_1_1_status.html">Status</a> AddColumn(<span class="keywordtype">int</span> i, <span class="keyword">const<
 /span> std::shared_ptr&lt;Column&gt;&amp; column,</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;                   std::shared_ptr&lt;Table&gt;* out) <span class="keyword">const</span>;</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;  std::shared_ptr&lt;Table&gt; ReplaceSchemaMetadata(</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;      <span class="keyword">const</span> std::shared_ptr&lt;const KeyValueMetadata&gt;&amp; metadata) <span class="keyword">const</span>;</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;</div><div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="classarrow_1_1_table.html#abe71e003123973cdff9cfca40dc85e04">  254</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classarrow_1_1_ta
 ble.html#abe71e003123973cdff9cfca40dc85e04">num_columns</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">int</span><span class="keyword">&gt;</span>(columns_.size()); }</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;</div><div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="classarrow_1_1_table.html#a14665d44a57c45343b54c7997d5c92e5">  257</a></span>&#160;  int64_t <a class="code" href="classarrow_1_1_table.html#a14665d44a57c45343b54c7997d5c92e5">num_rows</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> num_rows_; }</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;  <span class="keywordtype">bool</span> Equals(<span class="keyword">const</span> <a class="code" href="c
 lassarrow_1_1_table.html">Table</a>&amp; other) <span class="keyword">const</span>;</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;  <a class="code" href="classarrow_1_1_status.html">Status</a> ValidateColumns() <span class="keyword">const</span>;</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;</div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;  <span class="keywordtype">bool</span> IsChunked() <span class="keyword">const</span>;</div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;  std::shared_ptr&lt;Schema&gt; schema_;</div><div class="line"><a name="l00270"></a>
 <span class="lineno">  270</span>&#160;  std::vector&lt;std::shared_ptr&lt;Column&gt;&gt; columns_;</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;</div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;  int64_t num_rows_;</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;};</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;</div><div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="classarrow_1_1_record_batch_reader.html">  276</a></span>&#160;<span class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1_record_batch_reader.html">RecordBatchReader</a> {</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;  <span class="keyword">virtual</span> ~<a class="
 code" href="classarrow_1_1_record_batch_reader.html">RecordBatchReader</a>();</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;</div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;  <span class="keyword">virtual</span> std::shared_ptr&lt;Schema&gt; <a class="code" href="namespacearrow.html#ae1692c648f5447a7f95ddbe2c4e9a5fc">schema</a>() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;  <span class="keyword">virtual</span> <a class="code" href="classarrow_1_1_status.html">Status</a> ReadNext(std::shared_ptr&lt;RecordBatch&gt;* batch) = 0;</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;<span class="preprocessor">#ifndef ARROW_NO_DEPRECATED_API</sp
 an></div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;  <a class="code" href="classarrow_1_1_status.html">Status</a> ReadNextRecordBatch(std::shared_ptr&lt;RecordBatch&gt;* batch);</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;};</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;</div><div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="classarrow_1_1_table_batch_reader.html">  297</a></span>&#160;<span class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1_table_batch_reader.html">TableBatchReader</a> : <span class="keyword">public</span> <a class="code" href="classarrow_1_1_record_batch_reader.html">RecordBatchReader</a> {</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160; 
 <span class="keyword">public</span>:</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;  ~<a class="code" href="classarrow_1_1_table_batch_reader.html">TableBatchReader</a>();</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classarrow_1_1_table_batch_reader.html">TableBatchReader</a>(<span class="keyword">const</span> <a class="code" href="classarrow_1_1_table.html">Table</a>&amp; table);</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;  std::shared_ptr&lt;Schema&gt; <a class="code" href="namespacearrow.html#ae1692c648f5447a7f95ddbe2c4e9a5fc">schema</a>() <span class="keyword">const override</span>;</div><div class="line"><a name="l00305"></a><span class="
 lineno">  305</span>&#160;</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;  <a class="code" href="classarrow_1_1_status.html">Status</a> ReadNext(std::shared_ptr&lt;RecordBatch&gt;* out) <span class="keyword">override</span>;</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;  <span class="keyword">class </span>TableBatchReaderImpl;</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;  std::unique_ptr&lt;TableBatchReaderImpl&gt; impl_;</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;};</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;</div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#16
 0;ARROW_EXPORT</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;<a class="code" href="classarrow_1_1_status.html">Status</a> <a class="code" href="namespacearrow.html#a28fe3ae0374aa37d7321c23e4f0cafce">ConcatenateTables</a>(<span class="keyword">const</span> std::vector&lt;std::shared_ptr&lt;Table&gt;&gt;&amp; tables,</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;                         std::shared_ptr&lt;Table&gt;* table);</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;ARROW_EXPORT</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;<a class="code" href="classarrow_1_1_status.html">Status</a> <a class="code" href="namespacearrow.html#a3aa59f9996c2d3d15b2848b4a3df6859">MakeTable</a>(<span class="keyword">const</span> std::shared_ptr&lt;Schema&gt;&amp; <a class="co
 de" href="namespacearrow.html#ae1692c648f5447a7f95ddbe2c4e9a5fc">schema</a>,</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;                 <span class="keyword">const</span> std::vector&lt;std::shared_ptr&lt;Array&gt;&gt;&amp; arrays,</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;                 std::shared_ptr&lt;Table&gt;* table);</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;}  <span class="comment">// namespace arrow</span></div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;<span class="preprocessor">#endif  // ARROW_TABLE_H</span></div><div class="ttc" id="classarrow_1_1_chunked_array_html_a4df41bf1a05cd1083a2c4502e0a85f87"><div class="ttname"><a href="classarrow_1_1_chu
 nked_array.html#a4df41bf1a05cd1083a2c4502e0a85f87">arrow::ChunkedArray::length</a></div><div class="ttdeci">int64_t length() const</div><div class="ttdef"><b>Definition:</b> table.h:45</div></div>
+<a href="table_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// or more contributor license agreements.  See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// regarding copyright ownership.  The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00006"></a><span class="
 lineno">    6</span>&#160;<span class="comment">// &quot;License&quot;); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// with the License.  You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//   http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing,</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// software distributed und
 er the License is distributed on an</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// KIND, either express or implied.  See the License for the</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// specific language governing permissions and limitations</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// under the License.</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#ifndef ARROW_TABLE_H</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</s
 pan>&#160;<span class="preprocessor">#define ARROW_TABLE_H</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;cstdint&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="array_8h.html">arrow/array.h</a>&quot;</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="type_8h.html">arrow/type.h</a>&quot;</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="visibility_8h.html">arrow/util/visibility.h</a>&quot;</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacearrow.html">arrow</a> {</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">class </span>KeyValueMetadata;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">class </span>Stat
 us;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="namespacearrow.html#ad77c54b51dac02d857f3a26d11ed58b3">   35</a></span>&#160;<span class="keyword">using</span> <a class="code" href="namespacearrow.html#ad77c54b51dac02d857f3a26d11ed58b3">ArrayVector</a> = std::vector&lt;std::shared_ptr&lt;Array&gt;&gt;;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classarrow_1_1_chunked_array.html">   40</a></span>&#160;<span class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1_chunked_array.html">ChunkedArray</a> {</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;  <span cl
 ass="keyword">explicit</span> <a class="code" href="classarrow_1_1_chunked_array.html">ChunkedArray</a>(<span class="keyword">const</span> <a class="code" href="namespacearrow.html#ad77c54b51dac02d857f3a26d11ed58b3">ArrayVector</a>&amp; chunks);</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classarrow_1_1_chunked_array.html#a4df41bf1a05cd1083a2c4502e0a85f87">   45</a></span>&#160;  int64_t <a class="code" href="classarrow_1_1_chunked_array.html#a4df41bf1a05cd1083a2c4502e0a85f87">length</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> length_; }</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classarrow_1_1_chunked_array.html#a962541b044ac5a7a6a87499cef7957bb">   47</a></span>&#160;  int64_t <a class="code"
  href="classarrow_1_1_chunked_array.html#a962541b044ac5a7a6a87499cef7957bb">null_count</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> null_count_; }</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classarrow_1_1_chunked_array.html#afa477fd2e9a3ce9131d9d7f4391de52b">   49</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classarrow_1_1_chunked_array.html#afa477fd2e9a3ce9131d9d7f4391de52b">num_chunks</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">int</span><span class="keyword">&gt;</span>(chunks_.size()); }</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classarrow_1_1_chunked
 _array.html#a92ec02f5904ac3e4dac5328e44ebf0fb">   52</a></span>&#160;  std::shared_ptr&lt;Array&gt; <a class="code" href="classarrow_1_1_chunked_array.html#a92ec02f5904ac3e4dac5328e44ebf0fb">chunk</a>(<span class="keywordtype">int</span> i)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> chunks_[i]; }</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classarrow_1_1_chunked_array.html#af53b92e2594cbe9d84710256e295586a">   54</a></span>&#160;  <span class="keyword">const</span> <a class="code" href="namespacearrow.html#ad77c54b51dac02d857f3a26d11ed58b3">ArrayVector</a>&amp; <a class="code" href="classarrow_1_1_chunked_array.html#af53b92e2594cbe9d84710256e295586a">chunks</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> chunks_; }</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span
 >&#160;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;  std::shared_ptr&lt;DataType&gt; type() <span class="keyword">const</span>;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;  <span class="keywordtype">bool</span> Equals(<span class="keyword">const</span> <a class="code" href="classarrow_1_1_chunked_array.html">ChunkedArray</a>&amp; other) <span class="keyword">const</span>;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;  <span class="keywordtype">bool</span> Equals(<span class="keyword">const</span> std::shared_ptr&lt;ChunkedArray&gt;&amp; other) <span class="keyword">const</span>;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160; <span class="keyword">protected</span>:</
 div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classarrow_1_1_chunked_array.html#a438707b92386f68a63348c30743bc159">   62</a></span>&#160;  <a class="code" href="namespacearrow.html#ad77c54b51dac02d857f3a26d11ed58b3">ArrayVector</a> <a class="code" href="classarrow_1_1_chunked_array.html#a438707b92386f68a63348c30743bc159">chunks_</a>;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classarrow_1_1_chunked_array.html#a4d2fc435340a18c488a3001ce88018c4">   63</a></span>&#160;  int64_t <a class="code" href="classarrow_1_1_chunked_array.html#a4d2fc435340a18c488a3001ce88018c4">length_</a>;</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classarrow_1_1_chunked_array.html#a45ef30e6a7823f1666b0f50ecde903a7">   64</a></span>&#160;  int64_t <a class="code" href="classarrow_1_1_chunked_array.html#a45ef30e6a7823f1666b0f50ecde903a7">null_count_</a>;</div><div class="line"><a name="l
 00065"></a><span class="lineno">   65</span>&#160;};</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classarrow_1_1_column.html">   69</a></span>&#160;<span class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1_column.html">Column</a> {</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;  <a class="code" href="classarrow_1_1_column.html">Column</a>(<span class="keyword">const</span> std::shared_ptr&lt;Field&gt;&amp; <a class="code" href="namespacearrow.html#af0d5a7049126d6052b1e6e8f4c5b2cdd">field</a>, <span class="keyword">const</span> <a class="code" href="namespacearrow.html#ad77c54b51dac02d857f3a26d11ed58b3">ArrayVector</a>&amp; chunks);</div><div class="line"><a name="l00072"></a><s
 pan class="lineno">   72</span>&#160;  <a class="code" href="classarrow_1_1_column.html">Column</a>(<span class="keyword">const</span> std::shared_ptr&lt;Field&gt;&amp; field, <span class="keyword">const</span> std::shared_ptr&lt;ChunkedArray&gt;&amp; data);</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  <a class="code" href="classarrow_1_1_column.html">Column</a>(<span class="keyword">const</span> std::shared_ptr&lt;Field&gt;&amp; field, <span class="keyword">const</span> std::shared_ptr&lt;Array&gt;&amp; data);</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;  <span class="comment">// Construct from name and array</span></div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;  <a class="code" href="classarrow_1_1_col
 umn.html">Column</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> std::shared_ptr&lt;Array&gt;&amp; data);</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classarrow_1_1_column.html#aafda8e7be9dbc335820622b4e98e9bdd">   79</a></span>&#160;  int64_t <a class="code" href="classarrow_1_1_column.html#aafda8e7be9dbc335820622b4e98e9bdd">length</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> data_-&gt;length(); }</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classarrow_1_1_column.html#ab8d98c9a76cae4bc7ac69085b3841d38">   81</a></span>&#160;  int64_t <a class="code" href="classarrow_1_1_column.html#ab8d98c9a76cae4bc7ac69085b3841d38">null_count</a>()<span class="key
 word"> const </span>{ <span class="keywordflow">return</span> data_-&gt;null_count(); }</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classarrow_1_1_column.html#abe5c96f676c6fb811eb02c8064e5bd8e">   83</a></span>&#160;  std::shared_ptr&lt;Field&gt; <a class="code" href="classarrow_1_1_column.html#abe5c96f676c6fb811eb02c8064e5bd8e">field</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> field_; }</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classarrow_1_1_column.html#a6e9aad20d90a5584d46a773dfafc3d2d">   87</a></span>&#160;  <span class="keyword">const</span> std::string&amp; <a class="code" href="classarrow_1_1_column.html#a6e9aad20d90a5584d46a773dfafc3d2d">name</a>()<span class="keyword"> const </span>{
  <span class="keywordflow">return</span> field_-&gt;name(); }</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classarrow_1_1_column.html#a3654c4e1f5272c46a287b4f31ae3175a">   91</a></span>&#160;  std::shared_ptr&lt;DataType&gt; <a class="code" href="classarrow_1_1_column.html#a3654c4e1f5272c46a287b4f31ae3175a">type</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> field_-&gt;type(); }</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classarrow_1_1_column.html#abc25d5b5897d669939df0db721837aa4">   95</a></span>&#160;  std::shared_ptr&lt;ChunkedArray&gt; <a class="code" href="classarrow_1_1_column.html#abc25d5b5897d669939df0db721837aa4">data</a>()<span class="keyword"> const </span>{ <span class="keywordflow">re
 turn</span> data_; }</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;  <span class="keywordtype">bool</span> Equals(<span class="keyword">const</span> <a class="code" href="classarrow_1_1_column.html">Column</a>&amp; other) <span class="keyword">const</span>;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;  <span class="keywordtype">bool</span> Equals(<span class="keyword">const</span> std::shared_ptr&lt;Column&gt;&amp; other) <span class="keyword">const</span>;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;  <a class="code" href="classarrow_1_1_status.html">Status</a> ValidateData();</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00104"></a><
 span class="lineno">  104</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classarrow_1_1_column.html#acb3b624c4141ccb89aaf0f7c18d7aca8">  105</a></span>&#160;  std::shared_ptr&lt;Field&gt; <a class="code" href="classarrow_1_1_column.html#acb3b624c4141ccb89aaf0f7c18d7aca8">field_</a>;</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classarrow_1_1_column.html#ad362479f06033fdcf67cd45a7e354ab1">  106</a></span>&#160;  std::shared_ptr&lt;ChunkedArray&gt; <a class="code" href="classarrow_1_1_column.html#ad362479f06033fdcf67cd45a7e354ab1">data_</a>;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;};</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="classarrow_1_1_record_batch.html">  114</a></span>&#160;<sp
 an class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1_record_batch.html">RecordBatch</a> {</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;  <a class="code" href="classarrow_1_1_record_batch.html">RecordBatch</a>(<span class="keyword">const</span> std::shared_ptr&lt;Schema&gt;&amp; <a class="code" href="namespacearrow.html#ae1692c648f5447a7f95ddbe2c4e9a5fc">schema</a>, int64_t num_rows,</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;              <span class="keyword">const</span> std::vector&lt;std::shared_ptr&lt;Array&gt;&gt;&amp; columns);</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;  <a class="code" href="classarrow_1_1_record_batch.html">Rec
 ordBatch</a>(<span class="keyword">const</span> std::shared_ptr&lt;Schema&gt;&amp; schema, int64_t num_rows,</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;              std::vector&lt;std::shared_ptr&lt;Array&gt;&gt;&amp;&amp; columns);</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;  <a class="code" href="classarrow_1_1_record_batch.html">RecordBatch</a>(<span class="keyword">const</span> std::shared_ptr&lt;Schema&gt;&amp; schema, int64_t num_rows,</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;              std::vector&lt;std::shared_ptr&lt;ArrayData&gt;&gt;&amp;&amp; columns);</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;  <a class="code" href="classarrow_1_1_record_batc
 h.html">RecordBatch</a>(<span class="keyword">const</span> std::shared_ptr&lt;Schema&gt;&amp; schema, int64_t num_rows,</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;              <span class="keyword">const</span> std::vector&lt;std::shared_ptr&lt;ArrayData&gt;&gt;&amp; columns);</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;  <span class="keywordtype">bool</span> Equals(<span class="keyword">const</span> <a class="code" href="classarrow_1_1_record_batch.html">RecordBatch</a>&amp; other) <span class="keyword">const</span>;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;  <span class="keywordtype">bool</span> ApproxEquals(<span class="keyword">const</span> <a class="code" href="classarrow_1_1_record_batch.html
 ">RecordBatch</a>&amp; other) <span class="keyword">const</span>;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;  <span class="comment">// \return the table&#39;s schema</span></div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="classarrow_1_1_record_batch.html#ab12ff2c2d5cca56fc185f9a4dfc64395">  154</a></span>&#160;<span class="comment"></span>  std::shared_ptr&lt;Schema&gt; <a class="code" href="classarrow_1_1_record_batch.html#ab12ff2c2d5cca56fc185f9a4dfc64395">schema</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> schema_; }</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;  std::shared_ptr&lt;Array&gt; column(<span class="keywordtype">int</span> i) <span class="keyword">con
 st</span>;</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="classarrow_1_1_record_batch.html#ac4090fcb8edc640f16a080e3e6548da3">  161</a></span>&#160;  std::shared_ptr&lt;ArrayData&gt; <a class="code" href="classarrow_1_1_record_batch.html#ac4090fcb8edc640f16a080e3e6548da3">column_data</a>(<span class="keywordtype">int</span> i)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> columns_[i]; }</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;  <span class="keyword">const</span> std::string&amp; column_name(<span class="keywordtype">int</span> i) <span class="keyword">const</span>;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div><div class="line"><a name="l00167"></a><span class="li
 neno"><a class="line" href="classarrow_1_1_record_batch.html#a9cc71f8b2e351ea3e432686172f34546">  167</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classarrow_1_1_record_batch.html#a9cc71f8b2e351ea3e432686172f34546">num_columns</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">int</span><span class="keyword">&gt;</span>(columns_.size()); }</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="classarrow_1_1_record_batch.html#aa1012641ffba9c70786dffbb2bb76d4f">  170</a></span>&#160;  int64_t <a class="code" href="classarrow_1_1_record_batch.html#aa1012641ffba9c70786dffbb2bb76d4f">num_rows</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> num_rows_; }</div><div class="line"><a name="l00171"></a><span class
 ="lineno">  171</span>&#160;</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;  std::shared_ptr&lt;RecordBatch&gt; ReplaceSchemaMetadata(</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;      <span class="keyword">const</span> std::shared_ptr&lt;const KeyValueMetadata&gt;&amp; metadata) <span class="keyword">const</span>;</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;  std::shared_ptr&lt;RecordBatch&gt; Slice(int64_t offset) <span class="keyword">const</span>;</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;  std::shared_ptr&lt;RecordBatch&gt; Slice(int64_t offset, int64_t length) <span class="keyword">const</span>;</div><div class="line"><a name="l00190"></a><span class="lineno"
 >  190</span>&#160;</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;  <a class="code" href="classarrow_1_1_status.html">Status</a> Validate() <span class="keyword">const</span>;</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;  <a class="code" href="classarrow_1_1_record_batch.html">RecordBatch</a>(<span class="keyword">const</span> std::shared_ptr&lt;Schema&gt;&amp; schema, int64_t num_rows);</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;  std::shared_ptr&lt;Schema&gt; schema_;</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;  int64_t num_rows_;</div><div cl
 ass="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;  std::vector&lt;std::shared_ptr&lt;ArrayData&gt;&gt; columns_;</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;  <span class="comment">// Caching boxed array data</span></div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;  <span class="keyword">mutable</span> std::vector&lt;std::shared_ptr&lt;Array&gt;&gt; boxed_columns_;</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;};</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;</div><div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="classarrow_1_1_table.html">  208</a></span>&#160;<span class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1_table.html">Table</a> {</div><div class="line"><a name="l00
 209"></a><span class="lineno">  209</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;  <a class="code" href="classarrow_1_1_table.html">Table</a>(<span class="keyword">const</span> std::shared_ptr&lt;Schema&gt;&amp; <a class="code" href="namespacearrow.html#ae1692c648f5447a7f95ddbe2c4e9a5fc">schema</a>,</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;        <span class="keyword">const</span> std::vector&lt;std::shared_ptr&lt;Column&gt;&gt;&amp; columns, int64_t num_rows = -1);</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;  <a class="code" href="classarrow_1_1_table.html">Table</a>(<span class="keyword">const</span> std::shared_ptr&lt;Schema&gt;&amp; schema,</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;      
   <span class="keyword">const</span> std::vector&lt;std::shared_ptr&lt;Array&gt;&gt;&amp; arrays, int64_t num_rows = -1);</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;  <span class="comment">// Construct table from RecordBatch, but only if all of the batch schemas are</span></div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;  <span class="comment">// equal. Returns Status::Invalid if there is some problem</span></div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;  <span class="keyword">static</span> <a class="code" href="classarrow_1_1_status.html">Status</a> FromRecordBatches(</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;      <span class="keyword">const</span> std::vector&lt;std::shared_ptr&lt;RecordBatch&gt;&gt;&amp; batches,</div><div class="line"><a name="l
 00229"></a><span class="lineno">  229</span>&#160;      std::shared_ptr&lt;Table&gt;* table);</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;</div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="classarrow_1_1_table.html#a8d8626acf4d00e2ac439c4f1cc7a054a">  232</a></span>&#160;  std::shared_ptr&lt;Schema&gt; <a class="code" href="classarrow_1_1_table.html#a8d8626acf4d00e2ac439c4f1cc7a054a">schema</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> schema_; }</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;</div><div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="classarrow_1_1_table.html#aa3a89f8fc24bfbb8805f46908fb13bb6">  236</a></span>&#160;  std::shared_ptr&lt;Column&gt; <a class="code" href="classarrow_1_1_table.html#aa3a89f8fc24bfbb8805f46908fb13bb6">column</a>(<span class="keywordtype">int</span> i)<span class="k
 eyword"> const </span>{ <span class="keywordflow">return</span> columns_[i]; }</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;  <a class="code" href="classarrow_1_1_status.html">Status</a> RemoveColumn(<span class="keywordtype">int</span> i, std::shared_ptr&lt;Table&gt;* out) <span class="keyword">const</span>;</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;  <a class="code" href="classarrow_1_1_status.html">Status</a> AddColumn(<span class="keywordtype">int</span> i, <span class="keyword">const</span> std::shared_ptr&lt;Column&gt;&amp; column,</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;                   std::shared_ptr&lt;Table&gt;* out) <span class="keyword">const</span>;</div><div class="line"><a name="l
 00244"></a><span class="lineno">  244</span>&#160;</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;  std::shared_ptr&lt;Table&gt; ReplaceSchemaMetadata(</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;      <span class="keyword">const</span> std::shared_ptr&lt;const KeyValueMetadata&gt;&amp; metadata) <span class="keyword">const</span>;</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;</div><div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="classarrow_1_1_table.html#abe71e003123973cdff9cfca40dc85e04">  254</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classarrow_1_1_table.html#abe71e003123973cdff9cfca40dc85e04">num_columns</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">int</span><span class="keyword">&gt;</span>(col
 umns_.size()); }</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;</div><div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="classarrow_1_1_table.html#a14665d44a57c45343b54c7997d5c92e5">  257</a></span>&#160;  int64_t <a class="code" href="classarrow_1_1_table.html#a14665d44a57c45343b54c7997d5c92e5">num_rows</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> num_rows_; }</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;  <span class="keywordtype">bool</span> Equals(<span class="keyword">const</span> <a class="code" href="classarrow_1_1_table.html">Table</a>&amp; other) <span class="keyword">const</span>;</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;  <a 
 class="code" href="classarrow_1_1_status.html">Status</a> ValidateColumns() <span class="keyword">const</span>;</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;</div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;  <span class="keywordtype">bool</span> IsChunked() <span class="keyword">const</span>;</div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;  std::shared_ptr&lt;Schema&gt; schema_;</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;  std::vector&lt;std::shared_ptr&lt;Column&gt;&gt; columns_;</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;</div><div class="line"><a name="l00272"></a><span class="lineno">  272</
 span>&#160;  int64_t num_rows_;</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;};</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;</div><div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="classarrow_1_1_record_batch_reader.html">  276</a></span>&#160;<span class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1_record_batch_reader.html">RecordBatchReader</a> {</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;  <span class="keyword">virtual</span> ~<a class="code" href="classarrow_1_1_record_batch_reader.html">RecordBatchReader</a>();</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;</div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;  <span cla
 ss="keyword">virtual</span> std::shared_ptr&lt;Schema&gt; <a class="code" href="namespacearrow.html#ae1692c648f5447a7f95ddbe2c4e9a5fc">schema</a>() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;  <span class="keyword">virtual</span> <a class="code" href="classarrow_1_1_status.html">Status</a> ReadNext(std::shared_ptr&lt;RecordBatch&gt;* batch) = 0;</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;<span class="preprocessor">#ifndef ARROW_NO_DEPRECATED_API</span></div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;  <a class="code" href="classarrow_1_1_status.html">Status</a> ReadNextRecordBatch(std::shared_ptr&lt;RecordBatch&gt;* batch);</div><div class="line"><a name="l00293"></
 a><span class="lineno">  293</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;};</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;</div><div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="classarrow_1_1_table_batch_reader.html">  297</a></span>&#160;<span class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1_table_batch_reader.html">TableBatchReader</a> : <span class="keyword">public</span> <a class="code" href="classarrow_1_1_record_batch_reader.html">RecordBatchReader</a> {</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;  ~<a class="code" href="classarrow_1_1_table_batch_reader.html">TableBatchReader</a>();</div><div class="line"><a name="l00300"></a><sp
 an class="lineno">  300</span>&#160;</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classarrow_1_1_table_batch_reader.html">TableBatchReader</a>(<span class="keyword">const</span> <a class="code" href="classarrow_1_1_table.html">Table</a>&amp; table);</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;  std::shared_ptr&lt;Schema&gt; <a class="code" href="namespacearrow.html#ae1692c648f5447a7f95ddbe2c4e9a5fc">schema</a>() <span class="keyword">const override</span>;</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;  <a class="code" href="classarrow_1_1_status.html">Status</a> ReadNext(std::shared_ptr&lt;RecordBatch&gt;* out) <span class="keyword">override</s
 pan>;</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;  <span class="keyword">class </span>TableBatchReaderImpl;</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;  std::unique_ptr&lt;TableBatchReaderImpl&gt; impl_;</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;};</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;</div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;ARROW_EXPORT</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;<a class="code" href="classarrow_1_1_status.html">Status</a> <a class="code" href="namespacearrow.html#a28fe3ae0374aa37d7321c23e4f0cafce">ConcatenateTables</a
 >(<span class="keyword">const</span> std::vector&lt;std::shared_ptr&lt;Table&gt;&gt;&amp; tables,</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;                         std::shared_ptr&lt;Table&gt;* table);</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;ARROW_EXPORT</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;<a class="code" href="classarrow_1_1_status.html">Status</a> <a class="code" href="namespacearrow.html#a3aa59f9996c2d3d15b2848b4a3df6859">MakeTable</a>(<span class="keyword">const</span> std::shared_ptr&lt;Schema&gt;&amp; <a class="code" href="namespacearrow.html#ae1692c648f5447a7f95ddbe2c4e9a5fc">schema</a>,</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;                 <span class="keyword">const</span> std::vector&lt;std::shared_ptr&lt;Array&gt;&
 gt;&amp; arrays,</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;                 std::shared_ptr&lt;Table&gt;* table);</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;}  <span class="comment">// namespace arrow</span></div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;<span class="preprocessor">#endif  // ARROW_TABLE_H</span></div><div class="ttc" id="classarrow_1_1_chunked_array_html_a4df41bf1a05cd1083a2c4502e0a85f87"><div class="ttname"><a href="classarrow_1_1_chunked_array.html#a4df41bf1a05cd1083a2c4502e0a85f87">arrow::ChunkedArray::length</a></div><div class="ttdeci">int64_t length() const</div><div class="ttdef"><b>Definition:</b> table.h:45</div></div>
 <div class="ttc" id="classarrow_1_1_column_html_ad362479f06033fdcf67cd45a7e354ab1"><div class="ttname"><a href="classarrow_1_1_column.html#ad362479f06033fdcf67cd45a7e354ab1">arrow::Column::data_</a></div><div class="ttdeci">std::shared_ptr&lt; ChunkedArray &gt; data_</div><div class="ttdef"><b>Definition:</b> table.h:106</div></div>
 <div class="ttc" id="classarrow_1_1_chunked_array_html_a4d2fc435340a18c488a3001ce88018c4"><div class="ttname"><a href="classarrow_1_1_chunked_array.html#a4d2fc435340a18c488a3001ce88018c4">arrow::ChunkedArray::length_</a></div><div class="ttdeci">int64_t length_</div><div class="ttdef"><b>Definition:</b> table.h:63</div></div>
 <div class="ttc" id="classarrow_1_1_column_html_abe5c96f676c6fb811eb02c8064e5bd8e"><div class="ttname"><a href="classarrow_1_1_column.html#abe5c96f676c6fb811eb02c8064e5bd8e">arrow::Column::field</a></div><div class="ttdeci">std::shared_ptr&lt; Field &gt; field() const</div><div class="ttdef"><b>Definition:</b> table.h:83</div></div>
@@ -88,7 +88,6 @@ $(function() {
 <div class="ttc" id="classarrow_1_1_column_html_ab8d98c9a76cae4bc7ac69085b3841d38"><div class="ttname"><a href="classarrow_1_1_column.html#ab8d98c9a76cae4bc7ac69085b3841d38">arrow::Column::null_count</a></div><div class="ttdeci">int64_t null_count() const</div><div class="ttdef"><b>Definition:</b> table.h:81</div></div>
 <div class="ttc" id="classarrow_1_1_table_html_aa3a89f8fc24bfbb8805f46908fb13bb6"><div class="ttname"><a href="classarrow_1_1_table.html#aa3a89f8fc24bfbb8805f46908fb13bb6">arrow::Table::column</a></div><div class="ttdeci">std::shared_ptr&lt; Column &gt; column(int i) const</div><div class="ttdef"><b>Definition:</b> table.h:236</div></div>
 <div class="ttc" id="classarrow_1_1_chunked_array_html_af53b92e2594cbe9d84710256e295586a"><div class="ttname"><a href="classarrow_1_1_chunked_array.html#af53b92e2594cbe9d84710256e295586a">arrow::ChunkedArray::chunks</a></div><div class="ttdeci">const ArrayVector &amp; chunks() const</div><div class="ttdef"><b>Definition:</b> table.h:54</div></div>
-<div class="ttc" id="classarrow_1_1_chunked_array_html_adb15afa228802d9fab0f3993a4f82df2"><div class="ttname"><a href="classarrow_1_1_chunked_array.html#adb15afa228802d9fab0f3993a4f82df2">arrow::ChunkedArray::type</a></div><div class="ttdeci">std::shared_ptr&lt; DataType &gt; type() const</div><div class="ttdef"><b>Definition:</b> table.h:56</div></div>
 <div class="ttc" id="array_8h_html"><div class="ttname"><a href="array_8h.html">array.h</a></div></div>
 <div class="ttc" id="classarrow_1_1_column_html_a6e9aad20d90a5584d46a773dfafc3d2d"><div class="ttname"><a href="classarrow_1_1_column.html#a6e9aad20d90a5584d46a773dfafc3d2d">arrow::Column::name</a></div><div class="ttdeci">const std::string &amp; name() const</div><div class="ttdoc">The column name. </div><div class="ttdef"><b>Definition:</b> table.h:87</div></div>
 <div class="ttc" id="visibility_8h_html"><div class="ttname"><a href="visibility_8h.html">visibility.h</a></div></div>

http://git-wip-us.apache.org/repos/asf/arrow-site/blob/785c5862/docs/cpp/tensor_8h.html
----------------------------------------------------------------------
diff --git a/docs/cpp/tensor_8h.html b/docs/cpp/tensor_8h.html
index f28d974..9db9c42 100644
--- a/docs/cpp/tensor_8h.html
+++ b/docs/cpp/tensor_8h.html
@@ -5,7 +5,7 @@
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.13"/>
 <meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>Apache Arrow (C++): /home/wesm/code/arrow/cpp/src/arrow/tensor.h File Reference</title>
+<title>Apache Arrow (C++): /apache-arrow/arrow/cpp/src/arrow/tensor.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>

http://git-wip-us.apache.org/repos/asf/arrow-site/blob/785c5862/docs/cpp/tensor_8h_source.html
----------------------------------------------------------------------
diff --git a/docs/cpp/tensor_8h_source.html b/docs/cpp/tensor_8h_source.html
index d63db09..39dbaed 100644
--- a/docs/cpp/tensor_8h_source.html
+++ b/docs/cpp/tensor_8h_source.html
@@ -5,7 +5,7 @@
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.13"/>
 <meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>Apache Arrow (C++): /home/wesm/code/arrow/cpp/src/arrow/tensor.h Source File</title>
+<title>Apache Arrow (C++): /apache-arrow/arrow/cpp/src/arrow/tensor.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>

http://git-wip-us.apache.org/repos/asf/arrow-site/blob/785c5862/docs/cpp/type_8h.html
----------------------------------------------------------------------
diff --git a/docs/cpp/type_8h.html b/docs/cpp/type_8h.html
index 54adfd4..7cb855b 100644
--- a/docs/cpp/type_8h.html
+++ b/docs/cpp/type_8h.html
@@ -5,7 +5,7 @@
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.13"/>
 <meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>Apache Arrow (C++): /home/wesm/code/arrow/cpp/src/arrow/type.h File Reference</title>
+<title>Apache Arrow (C++): /apache-arrow/arrow/cpp/src/arrow/type.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>


Mime
View raw message