Struct aws_sdk_glue::types::builders::ViewRepresentationBuilder
source · #[non_exhaustive]pub struct ViewRepresentationBuilder { /* private fields */ }Expand description
A builder for ViewRepresentation.
Implementations§
source§impl ViewRepresentationBuilder
impl ViewRepresentationBuilder
sourcepub fn dialect(self, input: ViewDialect) -> Self
pub fn dialect(self, input: ViewDialect) -> Self
The dialect of the query engine.
sourcepub fn set_dialect(self, input: Option<ViewDialect>) -> Self
pub fn set_dialect(self, input: Option<ViewDialect>) -> Self
The dialect of the query engine.
sourcepub fn get_dialect(&self) -> &Option<ViewDialect>
pub fn get_dialect(&self) -> &Option<ViewDialect>
The dialect of the query engine.
sourcepub fn dialect_version(self, input: impl Into<String>) -> Self
pub fn dialect_version(self, input: impl Into<String>) -> Self
The version of the dialect of the query engine. For example, 3.0.0.
sourcepub fn set_dialect_version(self, input: Option<String>) -> Self
pub fn set_dialect_version(self, input: Option<String>) -> Self
The version of the dialect of the query engine. For example, 3.0.0.
sourcepub fn get_dialect_version(&self) -> &Option<String>
pub fn get_dialect_version(&self) -> &Option<String>
The version of the dialect of the query engine. For example, 3.0.0.
sourcepub fn view_original_text(self, input: impl Into<String>) -> Self
pub fn view_original_text(self, input: impl Into<String>) -> Self
The SELECT query provided by the customer during CREATE VIEW DDL. This SQL is not used during a query on a view (ViewExpandedText is used instead). ViewOriginalText is used for cases like SHOW CREATE VIEW where users want to see the original DDL command that created the view.
sourcepub fn set_view_original_text(self, input: Option<String>) -> Self
pub fn set_view_original_text(self, input: Option<String>) -> Self
The SELECT query provided by the customer during CREATE VIEW DDL. This SQL is not used during a query on a view (ViewExpandedText is used instead). ViewOriginalText is used for cases like SHOW CREATE VIEW where users want to see the original DDL command that created the view.
sourcepub fn get_view_original_text(&self) -> &Option<String>
pub fn get_view_original_text(&self) -> &Option<String>
The SELECT query provided by the customer during CREATE VIEW DDL. This SQL is not used during a query on a view (ViewExpandedText is used instead). ViewOriginalText is used for cases like SHOW CREATE VIEW where users want to see the original DDL command that created the view.
sourcepub fn view_expanded_text(self, input: impl Into<String>) -> Self
pub fn view_expanded_text(self, input: impl Into<String>) -> Self
The expanded SQL for the view. This SQL is used by engines while processing a query on a view. Engines may perform operations during view creation to transform ViewOriginalText to ViewExpandedText. For example:
-
Fully qualify identifiers:
SELECT * from table1 → SELECT * from db1.table1
sourcepub fn set_view_expanded_text(self, input: Option<String>) -> Self
pub fn set_view_expanded_text(self, input: Option<String>) -> Self
The expanded SQL for the view. This SQL is used by engines while processing a query on a view. Engines may perform operations during view creation to transform ViewOriginalText to ViewExpandedText. For example:
-
Fully qualify identifiers:
SELECT * from table1 → SELECT * from db1.table1
sourcepub fn get_view_expanded_text(&self) -> &Option<String>
pub fn get_view_expanded_text(&self) -> &Option<String>
The expanded SQL for the view. This SQL is used by engines while processing a query on a view. Engines may perform operations during view creation to transform ViewOriginalText to ViewExpandedText. For example:
-
Fully qualify identifiers:
SELECT * from table1 → SELECT * from db1.table1
sourcepub fn is_stale(self, input: bool) -> Self
pub fn is_stale(self, input: bool) -> Self
Dialects marked as stale are no longer valid and must be updated before they can be queried in their respective query engines.
sourcepub fn set_is_stale(self, input: Option<bool>) -> Self
pub fn set_is_stale(self, input: Option<bool>) -> Self
Dialects marked as stale are no longer valid and must be updated before they can be queried in their respective query engines.
sourcepub fn get_is_stale(&self) -> &Option<bool>
pub fn get_is_stale(&self) -> &Option<bool>
Dialects marked as stale are no longer valid and must be updated before they can be queried in their respective query engines.
sourcepub fn build(self) -> ViewRepresentation
pub fn build(self) -> ViewRepresentation
Consumes the builder and constructs a ViewRepresentation.
Trait Implementations§
source§impl Clone for ViewRepresentationBuilder
impl Clone for ViewRepresentationBuilder
source§fn clone(&self) -> ViewRepresentationBuilder
fn clone(&self) -> ViewRepresentationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ViewRepresentationBuilder
impl Debug for ViewRepresentationBuilder
source§impl Default for ViewRepresentationBuilder
impl Default for ViewRepresentationBuilder
source§fn default() -> ViewRepresentationBuilder
fn default() -> ViewRepresentationBuilder
source§impl PartialEq for ViewRepresentationBuilder
impl PartialEq for ViewRepresentationBuilder
source§fn eq(&self, other: &ViewRepresentationBuilder) -> bool
fn eq(&self, other: &ViewRepresentationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ViewRepresentationBuilder
Auto Trait Implementations§
impl Freeze for ViewRepresentationBuilder
impl RefUnwindSafe for ViewRepresentationBuilder
impl Send for ViewRepresentationBuilder
impl Sync for ViewRepresentationBuilder
impl Unpin for ViewRepresentationBuilder
impl UnwindSafe for ViewRepresentationBuilder
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> 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