Struct iceberg_rust::catalog::create::CreateViewBuilder
source · pub struct CreateViewBuilder<T: Materialization> { /* private fields */ }
Expand description
Builder for CreateView
.
Implementations§
source§impl<T: Materialization + Clone> CreateViewBuilder<T>
impl<T: Materialization + Clone> CreateViewBuilder<T>
sourcepub fn with_location<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn with_location<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
View base location
sourcepub fn with_schema(&mut self, value: Schema) -> &mut Self
pub fn with_schema(&mut self, value: Schema) -> &mut Self
Schema of the view
sourcepub fn with_view_version(&mut self, value: Version<T>) -> &mut Self
pub fn with_view_version(&mut self, value: Version<T>) -> &mut Self
Viersion of the view
sourcepub fn with_properties(&mut self, value: HashMap<String, String>) -> &mut Self
pub fn with_properties(&mut self, value: HashMap<String, String>) -> &mut Self
View properties
sourcepub fn with_property<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn with_property<VALUE>(&mut self, item: VALUE) -> &mut Self
View properties
sourcepub fn create(&self) -> Result<CreateView<T>, CreateViewBuilderError>
pub fn create(&self) -> Result<CreateView<T>, CreateViewBuilderError>
Trait Implementations§
source§impl<T: Clone + Materialization> Clone for CreateViewBuilder<T>
impl<T: Clone + Materialization> Clone for CreateViewBuilder<T>
source§fn clone(&self) -> CreateViewBuilder<T>
fn clone(&self) -> CreateViewBuilder<T>
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 moresource§impl<T: Materialization + Clone> Default for CreateViewBuilder<T>
impl<T: Materialization + Clone> Default for CreateViewBuilder<T>
Auto Trait Implementations§
impl<T> Freeze for CreateViewBuilder<T>where
T: Freeze,
impl<T> RefUnwindSafe for CreateViewBuilder<T>where
T: RefUnwindSafe,
impl<T> Send for CreateViewBuilder<T>where
T: Send,
impl<T> Sync for CreateViewBuilder<T>where
T: Sync,
impl<T> Unpin for CreateViewBuilder<T>where
T: Unpin,
impl<T> UnwindSafe for CreateViewBuilder<T>where
T: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
Converts
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>
Converts
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