#[non_exhaustive]pub struct SelectColumnBuilder { /* private fields */ }
Expand description
A builder for SelectColumn
.
Implementations§
source§impl SelectColumnBuilder
impl SelectColumnBuilder
sourcepub fn type(self, input: Type) -> Self
pub fn type(self, input: Type) -> Self
Contains the data type of a column in a query result set. The data type can be scalar or complex. The supported scalar data types are integers, Boolean, string, double, timestamp, date, time, and intervals. The supported complex data types are arrays, rows, and timeseries.
sourcepub fn set_type(self, input: Option<Type>) -> Self
pub fn set_type(self, input: Option<Type>) -> Self
Contains the data type of a column in a query result set. The data type can be scalar or complex. The supported scalar data types are integers, Boolean, string, double, timestamp, date, time, and intervals. The supported complex data types are arrays, rows, and timeseries.
sourcepub fn get_type(&self) -> &Option<Type>
pub fn get_type(&self) -> &Option<Type>
Contains the data type of a column in a query result set. The data type can be scalar or complex. The supported scalar data types are integers, Boolean, string, double, timestamp, date, time, and intervals. The supported complex data types are arrays, rows, and timeseries.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
Database that has this column.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
Database that has this column.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
Database that has this column.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
Table within the database that has this column.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
Table within the database that has this column.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
Table within the database that has this column.
sourcepub fn aliased(self, input: bool) -> Self
pub fn aliased(self, input: bool) -> Self
True, if the column name was aliased by the query. False otherwise.
sourcepub fn set_aliased(self, input: Option<bool>) -> Self
pub fn set_aliased(self, input: Option<bool>) -> Self
True, if the column name was aliased by the query. False otherwise.
sourcepub fn get_aliased(&self) -> &Option<bool>
pub fn get_aliased(&self) -> &Option<bool>
True, if the column name was aliased by the query. False otherwise.
sourcepub fn build(self) -> SelectColumn
pub fn build(self) -> SelectColumn
Consumes the builder and constructs a SelectColumn
.
Trait Implementations§
source§impl Clone for SelectColumnBuilder
impl Clone for SelectColumnBuilder
source§fn clone(&self) -> SelectColumnBuilder
fn clone(&self) -> SelectColumnBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SelectColumnBuilder
impl Debug for SelectColumnBuilder
source§impl Default for SelectColumnBuilder
impl Default for SelectColumnBuilder
source§fn default() -> SelectColumnBuilder
fn default() -> SelectColumnBuilder
source§impl PartialEq<SelectColumnBuilder> for SelectColumnBuilder
impl PartialEq<SelectColumnBuilder> for SelectColumnBuilder
source§fn eq(&self, other: &SelectColumnBuilder) -> bool
fn eq(&self, other: &SelectColumnBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.