pub struct ParquetArrayID { /* private fields */ }Expand description
This is a unique identifier for a row in a parquet file.
Implementations§
Source§impl ParquetArrayID
impl ParquetArrayID
Sourcepub fn new(
file_id: u64,
row_group_id: u64,
column_id: u64,
batch_id: BatchID,
) -> Self
pub fn new( file_id: u64, row_group_id: u64, column_id: u64, batch_id: BatchID, ) -> Self
Creates a new CacheEntryID.
Sourcepub fn batch_id_inner(&self) -> u64
pub fn batch_id_inner(&self) -> u64
Get the batch id.
Sourcepub fn file_id_inner(&self) -> u64
pub fn file_id_inner(&self) -> u64
Get the file id.
Sourcepub fn row_group_id_inner(&self) -> u64
pub fn row_group_id_inner(&self) -> u64
Get the row group id.
Sourcepub fn column_id_inner(&self) -> u64
pub fn column_id_inner(&self) -> u64
Get the column id.
Sourcepub fn on_disk_liquid_path(&self, cache_root_dir: &Path) -> PathBuf
pub fn on_disk_liquid_path(&self, cache_root_dir: &Path) -> PathBuf
Get the on-disk path.
Trait Implementations§
Source§impl Clone for ParquetArrayID
impl Clone for ParquetArrayID
Source§fn clone(&self) -> ParquetArrayID
fn clone(&self) -> ParquetArrayID
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParquetArrayID
impl Debug for ParquetArrayID
Source§impl From<EntryID> for ParquetArrayID
impl From<EntryID> for ParquetArrayID
Source§impl From<ParquetArrayID> for EntryID
impl From<ParquetArrayID> for EntryID
Source§fn from(id: ParquetArrayID) -> Self
fn from(id: ParquetArrayID) -> Self
Converts to this type from the input type.
Source§impl From<ParquetArrayID> for usize
impl From<ParquetArrayID> for usize
Source§fn from(id: ParquetArrayID) -> Self
fn from(id: ParquetArrayID) -> Self
Converts to this type from the input type.
Source§impl From<usize> for ParquetArrayID
impl From<usize> for ParquetArrayID
Source§impl Hash for ParquetArrayID
impl Hash for ParquetArrayID
Source§impl Ord for ParquetArrayID
impl Ord for ParquetArrayID
Source§fn cmp(&self, other: &ParquetArrayID) -> Ordering
fn cmp(&self, other: &ParquetArrayID) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ParquetArrayID
impl PartialEq for ParquetArrayID
Source§impl PartialOrd for ParquetArrayID
impl PartialOrd for ParquetArrayID
impl Copy for ParquetArrayID
impl Eq for ParquetArrayID
impl StructuralPartialEq for ParquetArrayID
Auto Trait Implementations§
impl Freeze for ParquetArrayID
impl RefUnwindSafe for ParquetArrayID
impl Send for ParquetArrayID
impl Sync for ParquetArrayID
impl Unpin for ParquetArrayID
impl UnsafeUnpin for ParquetArrayID
impl UnwindSafe for ParquetArrayID
Blanket Implementations§
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request