Struct delta_sharing_server::protocol::action::MetadataBuilder
source · pub struct MetadataBuilder { /* private fields */ }Expand description
Build a new Metadata action.
Implementations§
source§impl MetadataBuilder
impl MetadataBuilder
sourcepub fn description(self, description: String) -> Self
pub fn description(self, description: String) -> Self
Set the description of the table.
sourcepub fn format(self, format: FileFormat) -> Self
pub fn format(self, format: FileFormat) -> Self
Set the format of the table.
sourcepub fn partition_columns(self, partition_columns: Vec<String>) -> Self
pub fn partition_columns(self, partition_columns: Vec<String>) -> Self
Set the partition columns of the table.
sourcepub fn configuration(self, configuration: HashMap<String, String>) -> Self
pub fn configuration(self, configuration: HashMap<String, String>) -> Self
Set the configuration of the table.
Auto Trait Implementations§
impl RefUnwindSafe for MetadataBuilder
impl Send for MetadataBuilder
impl Sync for MetadataBuilder
impl Unpin for MetadataBuilder
impl UnwindSafe for MetadataBuilder
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