Struct delta_sharing_server::protocol::action::CdfBuilder
source · pub struct CdfBuilder { /* private fields */ }Expand description
Initialize a new CdfBuilder.
Implementations§
source§impl CdfBuilder
impl CdfBuilder
sourcepub fn new<S: Into<String>>(
url: S,
id: S,
size: u64,
version: u64,
timestamp: S
) -> Self
pub fn new<S: Into<String>>( url: S, id: S, size: u64, version: u64, timestamp: S ) -> Self
Initialize a new CdfBuilder.
sourcepub fn partition_values(
self,
partition_values: HashMap<String, Option<String>>
) -> Self
pub fn partition_values( self, partition_values: HashMap<String, Option<String>> ) -> Self
Set the partition values for this file.
sourcepub fn add_partition_value<S: Into<String>>(
self,
partition: S,
value: Option<S>
) -> Self
pub fn add_partition_value<S: Into<String>>( self, partition: S, value: Option<S> ) -> Self
Add a partition value for this file.
sourcepub fn expiration_timestamp(self, ts: impl Into<String>) -> Self
pub fn expiration_timestamp(self, ts: impl Into<String>) -> Self
Expiration timestamp for the url associated with this file.
Auto Trait Implementations§
impl RefUnwindSafe for CdfBuilder
impl Send for CdfBuilder
impl Sync for CdfBuilder
impl Unpin for CdfBuilder
impl UnwindSafe for CdfBuilder
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