pub struct TableClient { /* private fields */ }Expand description
A client scoped to a single table.
Implementations§
Source§impl TableClient
impl TableClient
Sourcepub fn new(
catalog_name: impl Into<String>,
schema_name: impl Into<String>,
table_name: impl Into<String>,
client: TableServiceClient,
) -> Self
pub fn new( catalog_name: impl Into<String>, schema_name: impl Into<String>, table_name: impl Into<String>, client: TableServiceClient, ) -> Self
Create a client bound to the resource’s name components.
Sourcepub fn from_full_name(
full_name: impl Into<String>,
client: TableServiceClient,
) -> Self
pub fn from_full_name( full_name: impl Into<String>, client: TableServiceClient, ) -> Self
Create a table client from its dot-joined full name (e.g. "catalog_name.schema_name.table_name").
Sourcepub fn catalog_name(&self) -> &str
pub fn catalog_name(&self) -> &str
The catalog_name component of this resource’s name.
Sourcepub fn schema_name(&self) -> &str
pub fn schema_name(&self) -> &str
The schema_name component of this resource’s name.
Sourcepub fn full_name(&self) -> String
pub fn full_name(&self) -> String
The fully-qualified name of this resource (its dot-joined name components).
Sourcepub fn get(&self) -> GetTableBuilder
pub fn get(&self) -> GetTableBuilder
Get a table
Sourcepub fn get_table_exists(&self) -> GetTableExistsBuilder
pub fn get_table_exists(&self) -> GetTableExistsBuilder
Get boolean reflecting if table exists
Sourcepub fn delete(&self) -> DeleteTableBuilder
pub fn delete(&self) -> DeleteTableBuilder
Delete a table
Trait Implementations§
Source§impl Clone for TableClient
impl Clone for TableClient
Source§fn clone(&self) -> TableClient
fn clone(&self) -> TableClient
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 TableClient
impl !UnwindSafe for TableClient
impl Freeze for TableClient
impl Send for TableClient
impl Sync for TableClient
impl Unpin for TableClient
impl UnsafeUnpin for TableClient
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