This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 60cc25118a GH-44710: [Docs][C++] Add `arrow::ArrayStatistics` to API 
doc (#44764)
60cc25118a is described below

commit 60cc25118a20004b614a89c8f26fa045694d4200
Author: Sutou Kouhei <[email protected]>
AuthorDate: Tue Nov 19 10:07:26 2024 +0900

    GH-44710: [Docs][C++] Add `arrow::ArrayStatistics` to API doc (#44764)
    
    ### Rationale for this change
    
    https://arrow.apache.org/docs/cpp/api/array.html should have 
`arrow::ArrayStatistics`.
    
    ### What changes are included in this PR?
    
    Add missing `\class` and `doxygenclass`.
    
    ### Are these changes tested?
    
    Yes.
    
    ### Are there any user-facing changes?
    
    Yes.
    * GitHub Issue: #44710
    
    Authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 cpp/src/arrow/array/statistics.h | 1 +
 docs/source/cpp/api/array.rst    | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/cpp/src/arrow/array/statistics.h b/cpp/src/arrow/array/statistics.h
index e7365a9d7f..99b853ab0f 100644
--- a/cpp/src/arrow/array/statistics.h
+++ b/cpp/src/arrow/array/statistics.h
@@ -27,6 +27,7 @@
 
 namespace arrow {
 
+/// \class ArrayStatistics
 /// \brief Statistics for an Array
 ///
 /// Apache Arrow format doesn't have statistics but data source such
diff --git a/docs/source/cpp/api/array.rst b/docs/source/cpp/api/array.rst
index a87e3810c4..b17d1957a8 100644
--- a/docs/source/cpp/api/array.rst
+++ b/docs/source/cpp/api/array.rst
@@ -22,6 +22,10 @@ Arrays
 Base classes
 ============
 
+.. doxygenclass:: arrow::ArrayStatistics
+   :project: arrow_cpp
+   :members:
+
 .. doxygenclass:: arrow::ArrayData
    :project: arrow_cpp
    :members:

Reply via email to