#[non_exhaustive]pub struct FederatedTableBuilder { /* private fields */ }Expand description
A builder for FederatedTable.
Implementations§
Source§impl FederatedTableBuilder
impl FederatedTableBuilder
Sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
A unique identifier for the federated table.
Sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
A unique identifier for the federated table.
Sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
A unique identifier for the federated table.
Sourcepub fn database_identifier(self, input: impl Into<String>) -> Self
pub fn database_identifier(self, input: impl Into<String>) -> Self
A unique identifier for the federated database.
Sourcepub fn set_database_identifier(self, input: Option<String>) -> Self
pub fn set_database_identifier(self, input: Option<String>) -> Self
A unique identifier for the federated database.
Sourcepub fn get_database_identifier(&self) -> &Option<String>
pub fn get_database_identifier(&self) -> &Option<String>
A unique identifier for the federated database.
Sourcepub fn connection_name(self, input: impl Into<String>) -> Self
pub fn connection_name(self, input: impl Into<String>) -> Self
The name of the connection to the external metastore.
Sourcepub fn set_connection_name(self, input: Option<String>) -> Self
pub fn set_connection_name(self, input: Option<String>) -> Self
The name of the connection to the external metastore.
Sourcepub fn get_connection_name(&self) -> &Option<String>
pub fn get_connection_name(&self) -> &Option<String>
The name of the connection to the external metastore.
Sourcepub fn connection_type(self, input: impl Into<String>) -> Self
pub fn connection_type(self, input: impl Into<String>) -> Self
The type of connection used to access the federated table, specifying the protocol or method for connecting to the external data source.
Sourcepub fn set_connection_type(self, input: Option<String>) -> Self
pub fn set_connection_type(self, input: Option<String>) -> Self
The type of connection used to access the federated table, specifying the protocol or method for connecting to the external data source.
Sourcepub fn get_connection_type(&self) -> &Option<String>
pub fn get_connection_type(&self) -> &Option<String>
The type of connection used to access the federated table, specifying the protocol or method for connecting to the external data source.
Sourcepub fn build(self) -> FederatedTable
pub fn build(self) -> FederatedTable
Consumes the builder and constructs a FederatedTable.
Trait Implementations§
Source§impl Clone for FederatedTableBuilder
impl Clone for FederatedTableBuilder
Source§fn clone(&self) -> FederatedTableBuilder
fn clone(&self) -> FederatedTableBuilder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FederatedTableBuilder
impl Debug for FederatedTableBuilder
Source§impl Default for FederatedTableBuilder
impl Default for FederatedTableBuilder
Source§fn default() -> FederatedTableBuilder
fn default() -> FederatedTableBuilder
Source§impl PartialEq for FederatedTableBuilder
impl PartialEq for FederatedTableBuilder
Source§fn eq(&self, other: &FederatedTableBuilder) -> bool
fn eq(&self, other: &FederatedTableBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FederatedTableBuilder
Auto Trait Implementations§
impl Freeze for FederatedTableBuilder
impl RefUnwindSafe for FederatedTableBuilder
impl Send for FederatedTableBuilder
impl Sync for FederatedTableBuilder
impl Unpin for FederatedTableBuilder
impl UnsafeUnpin for FederatedTableBuilder
impl UnwindSafe for FederatedTableBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more