#[non_exhaustive]pub struct FederatedDatabaseBuilder { /* private fields */ }Expand description
A builder for FederatedDatabase.
Implementations§
Source§impl FederatedDatabaseBuilder
impl FederatedDatabaseBuilder
Sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
A unique identifier for the federated database.
Sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
A unique identifier for the federated database.
Sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_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 database, such as JDBC, ODBC, or other supported connection protocols.
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 database, such as JDBC, ODBC, or other supported connection protocols.
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 database, such as JDBC, ODBC, or other supported connection protocols.
Sourcepub fn build(self) -> FederatedDatabase
pub fn build(self) -> FederatedDatabase
Consumes the builder and constructs a FederatedDatabase.
Trait Implementations§
Source§impl Clone for FederatedDatabaseBuilder
impl Clone for FederatedDatabaseBuilder
Source§fn clone(&self) -> FederatedDatabaseBuilder
fn clone(&self) -> FederatedDatabaseBuilder
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 FederatedDatabaseBuilder
impl Debug for FederatedDatabaseBuilder
Source§impl Default for FederatedDatabaseBuilder
impl Default for FederatedDatabaseBuilder
Source§fn default() -> FederatedDatabaseBuilder
fn default() -> FederatedDatabaseBuilder
Source§impl PartialEq for FederatedDatabaseBuilder
impl PartialEq for FederatedDatabaseBuilder
Source§fn eq(&self, other: &FederatedDatabaseBuilder) -> bool
fn eq(&self, other: &FederatedDatabaseBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FederatedDatabaseBuilder
Auto Trait Implementations§
impl Freeze for FederatedDatabaseBuilder
impl RefUnwindSafe for FederatedDatabaseBuilder
impl Send for FederatedDatabaseBuilder
impl Sync for FederatedDatabaseBuilder
impl Unpin for FederatedDatabaseBuilder
impl UnsafeUnpin for FederatedDatabaseBuilder
impl UnwindSafe for FederatedDatabaseBuilder
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