pub struct DeltaCommitClient { /* private fields */ }Expand description
HTTP client for service operations
Implementations§
Source§impl DeltaCommitClient
impl DeltaCommitClient
Sourcepub fn new(client: CloudClient, base_url: Url) -> Self
pub fn new(client: CloudClient, base_url: Url) -> Self
Create a new client instance
Sourcepub async fn commit(&self, request: &CommitRequest) -> Result<()>
pub async fn commit(&self, request: &CommitRequest) -> Result<()>
Ratify a staged commit at the requested version (first-writer-wins), and/or notify the catalog that commits have been backfilled to the Delta log.
Sourcepub async fn get_commits(
&self,
request: &GetCommitsRequest,
) -> Result<GetCommitsResponse>
pub async fn get_commits( &self, request: &GetCommitsRequest, ) -> Result<GetCommitsResponse>
Return ratified-but-unpublished commits for a table, plus the latest version the catalog tracks.
Trait Implementations§
Source§impl Clone for DeltaCommitClient
impl Clone for DeltaCommitClient
Source§fn clone(&self) -> DeltaCommitClient
fn clone(&self) -> DeltaCommitClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for DeltaCommitClient
impl !UnwindSafe for DeltaCommitClient
impl Freeze for DeltaCommitClient
impl Send for DeltaCommitClient
impl Sync for DeltaCommitClient
impl Unpin for DeltaCommitClient
impl UnsafeUnpin for DeltaCommitClient
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