pub enum RowGroupRangeAssignment {
StartOffset,
Midpoint,
}Expand description
Which byte range of a split Parquet file reads each row group
Each row group maps to one offset, so ranges that cover a file read every row group exactly once.
Variants§
StartOffset
The start of the row group’s first column chunk
Midpoint
That start plus half of the row group’s compressed size, as parquet-java (and therefore Spark) computes it
Implementations§
Source§impl RowGroupRangeAssignment
impl RowGroupRangeAssignment
Sourcepub fn from_proto_str(s: &str) -> Result<Self>
pub fn from_proto_str(s: &str) -> Result<Self>
Parses the protobuf form, where an empty string (options encoded before this setting existed) means the default
Trait Implementations§
Source§impl Clone for RowGroupRangeAssignment
impl Clone for RowGroupRangeAssignment
impl Copy for RowGroupRangeAssignment
Source§impl Debug for RowGroupRangeAssignment
impl Debug for RowGroupRangeAssignment
Source§impl Default for RowGroupRangeAssignment
impl Default for RowGroupRangeAssignment
Source§impl Display for RowGroupRangeAssignment
impl Display for RowGroupRangeAssignment
impl Eq for RowGroupRangeAssignment
Source§impl FromStr for RowGroupRangeAssignment
impl FromStr for RowGroupRangeAssignment
Source§impl PartialEq for RowGroupRangeAssignment
impl PartialEq for RowGroupRangeAssignment
impl StructuralPartialEq for RowGroupRangeAssignment
Auto Trait Implementations§
impl Forget for RowGroupRangeAssignment
impl Freeze for RowGroupRangeAssignment
impl Move for RowGroupRangeAssignment
impl RefUnwindSafe for RowGroupRangeAssignment
impl Send for RowGroupRangeAssignment
impl Sync for RowGroupRangeAssignment
impl Unpin for RowGroupRangeAssignment
impl UnsafeUnpin for RowGroupRangeAssignment
impl UnwindSafe for RowGroupRangeAssignment
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more