Struct delta_sharing_server::protocol::action::Metadata
source · pub struct Metadata { /* private fields */ }Expand description
Representation of the table metadata.
The metadata of a table contains all the information required to correctly interpret the data files of the table.
Implementations§
source§impl Metadata
impl Metadata
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Retrieve the table description provided by the user.
sourcepub fn format(&self) -> &FileFormat
pub fn format(&self) -> &FileFormat
Retrieve the specification of the table format.
sourcepub fn schema_string(&self) -> &str
pub fn schema_string(&self) -> &str
Retrieve the schema of the table, serialized as a string.
sourcepub fn partition_columns(&self) -> &[String]
pub fn partition_columns(&self) -> &[String]
Retrieve an array of column names that are used to partition the table.
sourcepub fn configuration(&self) -> &HashMap<String, String>
pub fn configuration(&self) -> &HashMap<String, String>
Retrieve a map containing configuration options for the table.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Metadata
impl<'de> Deserialize<'de> for Metadata
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Metadata> for Metadata
impl PartialEq<Metadata> for Metadata
impl Eq for Metadata
impl StructuralEq for Metadata
impl StructuralPartialEq for Metadata
Auto Trait Implementations§
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.