Struct aws_sdk_glue::types::GlueTable
source · #[non_exhaustive]pub struct GlueTable {
pub database_name: String,
pub table_name: String,
pub catalog_id: Option<String>,
pub connection_name: Option<String>,
pub additional_options: Option<HashMap<String, String>>,
}
Expand description
The database and table in the Glue Data Catalog that is used for input or output data.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.database_name: String
A database name in the Glue Data Catalog.
table_name: String
A table name in the Glue Data Catalog.
catalog_id: Option<String>
A unique identifier for the Glue Data Catalog.
connection_name: Option<String>
The name of the connection to the Glue Data Catalog.
additional_options: Option<HashMap<String, String>>
Additional options for the table. Currently there are two keys supported:
-
pushDownPredicate
: to filter on partitions without having to list and read all the files in your dataset. -
catalogPartitionPredicate
: to use server-side partition pruning using partition indexes in the Glue Data Catalog.
Implementations§
source§impl GlueTable
impl GlueTable
sourcepub fn database_name(&self) -> &str
pub fn database_name(&self) -> &str
A database name in the Glue Data Catalog.
sourcepub fn table_name(&self) -> &str
pub fn table_name(&self) -> &str
A table name in the Glue Data Catalog.
sourcepub fn catalog_id(&self) -> Option<&str>
pub fn catalog_id(&self) -> Option<&str>
A unique identifier for the Glue Data Catalog.
sourcepub fn connection_name(&self) -> Option<&str>
pub fn connection_name(&self) -> Option<&str>
The name of the connection to the Glue Data Catalog.
sourcepub fn additional_options(&self) -> Option<&HashMap<String, String>>
pub fn additional_options(&self) -> Option<&HashMap<String, String>>
Additional options for the table. Currently there are two keys supported:
-
pushDownPredicate
: to filter on partitions without having to list and read all the files in your dataset. -
catalogPartitionPredicate
: to use server-side partition pruning using partition indexes in the Glue Data Catalog.
Trait Implementations§
source§impl PartialEq for GlueTable
impl PartialEq for GlueTable
impl StructuralPartialEq for GlueTable
Auto Trait Implementations§
impl Freeze for GlueTable
impl RefUnwindSafe for GlueTable
impl Send for GlueTable
impl Sync for GlueTable
impl Unpin for GlueTable
impl UnwindSafe for GlueTable
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