pub struct CreateSchemaBuilder { /* private fields */ }Expand description
Builder for creating a schema
Implementations§
Source§impl CreateSchemaBuilder
impl CreateSchemaBuilder
Sourcepub fn with_comment(self, comment: impl Into<Option<String>>) -> Self
pub fn with_comment(self, comment: impl Into<Option<String>>) -> Self
User-provided free-form text description.
Sourcepub fn with_properties<I, K, V>(self, properties: I) -> Self
pub fn with_properties<I, K, V>(self, properties: I) -> Self
A map of key-value properties attached to the securable.
Sourcepub fn with_storage_root(self, storage_root: impl Into<Option<String>>) -> Self
pub fn with_storage_root(self, storage_root: impl Into<Option<String>>) -> Self
Storage root URL for managed storage location of the schema.
If not set, managed securables under this schema fall back to the parent
catalog’s storage location. Example: s3://bucket/ucroot.
Trait Implementations§
Source§impl IntoFuture for CreateSchemaBuilder
impl IntoFuture for CreateSchemaBuilder
Source§type IntoFuture = Pin<Box<dyn Future<Output = <CreateSchemaBuilder as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <CreateSchemaBuilder as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for CreateSchemaBuilder
impl !UnwindSafe for CreateSchemaBuilder
impl Freeze for CreateSchemaBuilder
impl Send for CreateSchemaBuilder
impl Sync for CreateSchemaBuilder
impl Unpin for CreateSchemaBuilder
impl UnsafeUnpin for CreateSchemaBuilder
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