Skip to content

Commit 31405dd

Browse files
committed
Add missing doc comments
1 parent 2334eb3 commit 31405dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

parquet/src/column/page.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,12 @@ impl Page {
9090
}
9191
}
9292

93+
/// Returns whether this page is any version of a data page
9394
pub fn is_data_page(&self) -> bool {
9495
matches!(self, Page::DataPage { .. } | Page::DataPageV2 { .. })
9596
}
9697

98+
/// Returns whether this page is a dictionary page
9799
pub fn is_dictionary_page(&self) -> bool {
98100
matches!(self, Page::DictionaryPage { .. })
99101
}

0 commit comments

Comments
 (0)