pub struct DeltaSharingClient { /* private fields */ }Expand description
Delta Sharing client
Implementations§
Source§impl DeltaSharingClient
impl DeltaSharingClient
List shares with pagination
List all available shares
Retrieve a share
Sourcepub async fn list_schemas_paginated(
&self,
share: &Share,
pagination: &Pagination,
) -> Result<ListSchemasResponse, DeltaSharingError>
pub async fn list_schemas_paginated( &self, share: &Share, pagination: &Pagination, ) -> Result<ListSchemasResponse, DeltaSharingError>
List schemas with pagination
Sourcepub async fn list_schemas(
&self,
share: &Share,
) -> Result<Vec<Schema>, DeltaSharingError>
pub async fn list_schemas( &self, share: &Share, ) -> Result<Vec<Schema>, DeltaSharingError>
List all available schemas
Sourcepub async fn list_tables_in_schema_paginated(
&self,
schema: &Schema,
pagination: &Pagination,
) -> Result<ListTablesResponse, DeltaSharingError>
pub async fn list_tables_in_schema_paginated( &self, schema: &Schema, pagination: &Pagination, ) -> Result<ListTablesResponse, DeltaSharingError>
List tables in schema with pagination
Sourcepub async fn list_tables(
&self,
schema: &Schema,
) -> Result<Vec<Table>, DeltaSharingError>
pub async fn list_tables( &self, schema: &Schema, ) -> Result<Vec<Table>, DeltaSharingError>
List all available tables in schema
Sourcepub async fn list_all_tables(
&self,
share: &Share,
) -> Result<Vec<Table>, DeltaSharingError>
pub async fn list_all_tables( &self, share: &Share, ) -> Result<Vec<Table>, DeltaSharingError>
List all available tables in share
Sourcepub async fn get_table_version(
&self,
table: &Table,
starting_timestamp: Option<DateTime<Utc>>,
) -> Result<u64, DeltaSharingError>
pub async fn get_table_version( &self, table: &Table, starting_timestamp: Option<DateTime<Utc>>, ) -> Result<u64, DeltaSharingError>
Retrieve the version of a table
Sourcepub async fn get_table_metadata(
&self,
table: &Table,
) -> Result<(Protocol, Metadata), DeltaSharingError>
pub async fn get_table_metadata( &self, table: &Table, ) -> Result<(Protocol, Metadata), DeltaSharingError>
Retrieve the metadata of a table
Trait Implementations§
Source§impl Clone for DeltaSharingClient
impl Clone for DeltaSharingClient
Source§fn clone(&self) -> DeltaSharingClient
fn clone(&self) -> DeltaSharingClient
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for DeltaSharingClient
impl !RefUnwindSafe for DeltaSharingClient
impl Send for DeltaSharingClient
impl Sync for DeltaSharingClient
impl Unpin for DeltaSharingClient
impl !UnwindSafe for DeltaSharingClient
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