Struct aws_sdk_athena::model::ColumnInfo
source · #[non_exhaustive]pub struct ColumnInfo { /* private fields */ }
Expand description
Information about the columns in a query execution result.
Implementations§
source§impl ColumnInfo
impl ColumnInfo
sourcepub fn catalog_name(&self) -> Option<&str>
pub fn catalog_name(&self) -> Option<&str>
The catalog to which the query results belong.
sourcepub fn schema_name(&self) -> Option<&str>
pub fn schema_name(&self) -> Option<&str>
The schema name (database name) to which the query results belong.
sourcepub fn table_name(&self) -> Option<&str>
pub fn table_name(&self) -> Option<&str>
The table name for the query results.
sourcepub fn precision(&self) -> i32
pub fn precision(&self) -> i32
For DECIMAL
data types, specifies the total number of digits, up to 38. For performance reasons, we recommend up to 18 digits.
sourcepub fn scale(&self) -> i32
pub fn scale(&self) -> i32
For DECIMAL
data types, specifies the total number of digits in the fractional part of the value. Defaults to 0.
sourcepub fn nullable(&self) -> Option<&ColumnNullable>
pub fn nullable(&self) -> Option<&ColumnNullable>
Indicates the column's nullable status.
sourcepub fn case_sensitive(&self) -> bool
pub fn case_sensitive(&self) -> bool
Indicates whether values in the column are case-sensitive.
source§impl ColumnInfo
impl ColumnInfo
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ColumnInfo
.
Trait Implementations§
source§impl Clone for ColumnInfo
impl Clone for ColumnInfo
source§fn clone(&self) -> ColumnInfo
fn clone(&self) -> ColumnInfo
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 Debug for ColumnInfo
impl Debug for ColumnInfo
source§impl PartialEq<ColumnInfo> for ColumnInfo
impl PartialEq<ColumnInfo> for ColumnInfo
source§fn eq(&self, other: &ColumnInfo) -> bool
fn eq(&self, other: &ColumnInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.