[−][src]Struct parquet_format::ColumnChunk
Fields
file_path: Option<String>
File where column data is stored. If not set, assumed to be same file as metadata. This path is relative to the current file.
file_offset: i64
Byte offset in file_path to the ColumnMetaData *
meta_data: Option<ColumnMetaData>
Column metadata for this chunk. This is the same content as what is at file_path/file_offset. Having it here has it replicated in the file metadata.
offset_index_offset: Option<i64>
File offset of ColumnChunk's OffsetIndex *
offset_index_length: Option<i32>
Size of ColumnChunk's OffsetIndex, in bytes *
column_index_offset: Option<i64>
File offset of ColumnChunk's ColumnIndex *
column_index_length: Option<i32>
Size of ColumnChunk's ColumnIndex, in bytes *
crypto_metadata: Option<ColumnCryptoMetaData>
Crypto metadata of encrypted columns *
encrypted_column_metadata: Option<Vec<u8>>
Encrypted column metadata for this chunk *
Implementations
impl ColumnChunk
[src]
pub fn new<F1, F3, F4, F5, F6, F7, F8, F9>(
file_path: F1,
file_offset: i64,
meta_data: F3,
offset_index_offset: F4,
offset_index_length: F5,
column_index_offset: F6,
column_index_length: F7,
crypto_metadata: F8,
encrypted_column_metadata: F9
) -> ColumnChunk where
F1: Into<Option<String>>,
F3: Into<Option<ColumnMetaData>>,
F4: Into<Option<i64>>,
F5: Into<Option<i32>>,
F6: Into<Option<i64>>,
F7: Into<Option<i32>>,
F8: Into<Option<ColumnCryptoMetaData>>,
F9: Into<Option<Vec<u8>>>,
[src]
file_path: F1,
file_offset: i64,
meta_data: F3,
offset_index_offset: F4,
offset_index_length: F5,
column_index_offset: F6,
column_index_length: F7,
crypto_metadata: F8,
encrypted_column_metadata: F9
) -> ColumnChunk where
F1: Into<Option<String>>,
F3: Into<Option<ColumnMetaData>>,
F4: Into<Option<i64>>,
F5: Into<Option<i32>>,
F6: Into<Option<i64>>,
F7: Into<Option<i32>>,
F8: Into<Option<ColumnCryptoMetaData>>,
F9: Into<Option<Vec<u8>>>,
pub fn read_from_in_protocol(
i_prot: &mut dyn TInputProtocol
) -> Result<ColumnChunk>
[src]
i_prot: &mut dyn TInputProtocol
) -> Result<ColumnChunk>
pub fn write_to_out_protocol(
&self,
o_prot: &mut dyn TOutputProtocol
) -> Result<()>
[src]
&self,
o_prot: &mut dyn TOutputProtocol
) -> Result<()>
Trait Implementations
impl Clone for ColumnChunk
[src]
pub fn clone(&self) -> ColumnChunk
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ColumnChunk
[src]
impl Eq for ColumnChunk
[src]
impl Hash for ColumnChunk
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for ColumnChunk
[src]
pub fn cmp(&self, other: &ColumnChunk) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<ColumnChunk> for ColumnChunk
[src]
pub fn eq(&self, other: &ColumnChunk) -> bool
[src]
pub fn ne(&self, other: &ColumnChunk) -> bool
[src]
impl PartialOrd<ColumnChunk> for ColumnChunk
[src]
pub fn partial_cmp(&self, other: &ColumnChunk) -> Option<Ordering>
[src]
pub fn lt(&self, other: &ColumnChunk) -> bool
[src]
pub fn le(&self, other: &ColumnChunk) -> bool
[src]
pub fn gt(&self, other: &ColumnChunk) -> bool
[src]
pub fn ge(&self, other: &ColumnChunk) -> bool
[src]
impl StructuralEq for ColumnChunk
[src]
impl StructuralPartialEq for ColumnChunk
[src]
Auto Trait Implementations
impl RefUnwindSafe for ColumnChunk
[src]
impl Send for ColumnChunk
[src]
impl Sync for ColumnChunk
[src]
impl Unpin for ColumnChunk
[src]
impl UnwindSafe for ColumnChunk
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,