#[non_exhaustive]pub struct DataQualityEvaluationConfigGlueTables {
pub catalog_id: String,
pub database_name: Option<String>,
pub table_name_pattern: Option<String>,
pub pre_processing_query: Option<String>,
pub connection_name: Option<String>,
pub additional_options: Option<HashMap<String, String>>,
}Expand description
Identifies the Glue Data Catalog tables that a data quality evaluation configuration applies to.
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.catalog_id: StringA unique identifier for the Glue Data Catalog.
database_name: Option<String>A database name in the Glue Data Catalog.
table_name_pattern: Option<String>For the CATALOG and DATABASE levels, a glob pattern, such as orders_*, that selects tables. If you don't specify a pattern, every table at the level is in scope. For the TABLE level, the name of the table.
pre_processing_query: Option<String>SQL Query of SparkSQL format that can be used to pre-process the data for the table in Glue Data Catalog, before running the Data Quality Operation.
For the CATALOG and DATABASE levels, use the {{DATABASE_NAME}} and {{TABLE_NAME}} placeholders, which are filled in for each table.
connection_name: Option<String>The name of the connection to the Glue Data Catalog.
additional_options: Option<HashMap<String, String>>Options for reading the table. The following keys are 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 DataQualityEvaluationConfigGlueTables
impl DataQualityEvaluationConfigGlueTables
Sourcepub fn catalog_id(&self) -> &str
pub fn catalog_id(&self) -> &str
A unique identifier for the Glue Data Catalog.
Sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
A database name in the Glue Data Catalog.
Sourcepub fn table_name_pattern(&self) -> Option<&str>
pub fn table_name_pattern(&self) -> Option<&str>
For the CATALOG and DATABASE levels, a glob pattern, such as orders_*, that selects tables. If you don't specify a pattern, every table at the level is in scope. For the TABLE level, the name of the table.
Sourcepub fn pre_processing_query(&self) -> Option<&str>
pub fn pre_processing_query(&self) -> Option<&str>
SQL Query of SparkSQL format that can be used to pre-process the data for the table in Glue Data Catalog, before running the Data Quality Operation.
For the CATALOG and DATABASE levels, use the {{DATABASE_NAME}} and {{TABLE_NAME}} placeholders, which are filled in for each table.
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>>
Options for reading the table. The following keys are 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.
Source§impl DataQualityEvaluationConfigGlueTables
impl DataQualityEvaluationConfigGlueTables
Sourcepub fn builder() -> DataQualityEvaluationConfigGlueTablesBuilder
pub fn builder() -> DataQualityEvaluationConfigGlueTablesBuilder
Creates a new builder-style object to manufacture DataQualityEvaluationConfigGlueTables.
Source§impl DataQualityEvaluationConfigGlueTables
impl DataQualityEvaluationConfigGlueTables
Sourcepub fn deserialize(
deserializer: &mut dyn ShapeDeserializer,
) -> Result<Self, SerdeError>
pub fn deserialize( deserializer: &mut dyn ShapeDeserializer, ) -> Result<Self, SerdeError>
Deserializes this structure from a [ShapeDeserializer].
Trait Implementations§
Source§impl Clone for DataQualityEvaluationConfigGlueTables
impl Clone for DataQualityEvaluationConfigGlueTables
Source§fn clone(&self) -> DataQualityEvaluationConfigGlueTables
fn clone(&self) -> DataQualityEvaluationConfigGlueTables
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl SerializableStruct for DataQualityEvaluationConfigGlueTables
impl SerializableStruct for DataQualityEvaluationConfigGlueTables
Source§fn schema(&self) -> &Schema<'_>
fn schema(&self) -> &Schema<'_>
Source§fn serialize_members(
&self,
ser: &mut dyn ShapeSerializer,
) -> Result<(), SerdeError>
fn serialize_members( &self, ser: &mut dyn ShapeSerializer, ) -> Result<(), SerdeError>
impl StructuralPartialEq for DataQualityEvaluationConfigGlueTables
Auto Trait Implementations§
impl Freeze for DataQualityEvaluationConfigGlueTables
impl RefUnwindSafe for DataQualityEvaluationConfigGlueTables
impl Send for DataQualityEvaluationConfigGlueTables
impl Sync for DataQualityEvaluationConfigGlueTables
impl Unpin for DataQualityEvaluationConfigGlueTables
impl UnsafeUnpin for DataQualityEvaluationConfigGlueTables
impl UnwindSafe for DataQualityEvaluationConfigGlueTables
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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