Struct parquet_format_async_temp::DataPageHeader [−][src]
pub struct DataPageHeader {
pub num_values: i32,
pub encoding: Encoding,
pub definition_level_encoding: Encoding,
pub repetition_level_encoding: Encoding,
pub statistics: Option<Statistics>,
}
Expand description
Data page header
Fields
num_values: i32
Number of values, including NULLs, in this data page. *
encoding: Encoding
Encoding used for this data page *
definition_level_encoding: Encoding
Encoding used for definition levels *
repetition_level_encoding: Encoding
Encoding used for repetition levels *
statistics: Option<Statistics>
Optional statistics for the data in this page*
Implementations
pub fn new<F5>(
num_values: i32,
encoding: Encoding,
definition_level_encoding: Encoding,
repetition_level_encoding: Encoding,
statistics: F5
) -> DataPageHeader where
F5: Into<Option<Statistics>>,
pub async fn stream_from_in_protocol(
i_prot: &mut dyn TInputStreamProtocol
) -> Result<DataPageHeader>
pub async fn write_to_out_stream_protocol(
&self,
o_prot: &mut dyn TOutputStreamProtocol
) -> Result<usize>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for DataPageHeader
impl Send for DataPageHeader
impl Sync for DataPageHeader
impl Unpin for DataPageHeader
impl UnwindSafe for DataPageHeader
Blanket Implementations
Mutably borrows from an owned value. Read more