pub struct MultiColumnDatatypeChange {
pub custom_features: Option<HashMap<String, Value>>,
pub new_data_type: Option<String>,
pub override_fractional_seconds_precision: Option<i32>,
pub override_length: Option<i64>,
pub override_precision: Option<i32>,
pub override_scale: Option<i32>,
pub source_data_type_filter: Option<String>,
pub source_numeric_filter: Option<SourceNumericFilter>,
pub source_text_filter: Option<SourceTextFilter>,
}
Expand description
Options to configure rule type MultiColumnDatatypeChange. The rule is used to change the data type and associated properties of multiple columns at once. The rule filter field can refer to one or more entities. The rule scope can be one of:Column. This rule requires additional filters to be specified beyond the basic rule filter field, which is the source data type, but the rule supports additional filtering capabilities such as the minimum and maximum field length. All additional filters which are specified are required to be met in order for the rule to be applied (logical AND between the fields).
This type is not used in any activity, and only used as part of another schema.
Fields§
§custom_features: Option<HashMap<String, Value>>
Optional. Custom engine specific features.
new_data_type: Option<String>
Required. New data type.
override_fractional_seconds_precision: Option<i32>
Optional. Column fractional seconds precision - used only for timestamp based datatypes - if not specified and relevant uses the source column fractional seconds precision.
override_length: Option<i64>
Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.
override_precision: Option<i32>
Optional. Column precision - when relevant - if not specified and relevant uses the source column precision.
override_scale: Option<i32>
Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.
source_data_type_filter: Option<String>
Required. Filter on source data type.
source_numeric_filter: Option<SourceNumericFilter>
Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.
source_text_filter: Option<SourceTextFilter>
Optional. Filter for text-based data types like varchar.
Trait Implementations§
Source§impl Clone for MultiColumnDatatypeChange
impl Clone for MultiColumnDatatypeChange
Source§fn clone(&self) -> MultiColumnDatatypeChange
fn clone(&self) -> MultiColumnDatatypeChange
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MultiColumnDatatypeChange
impl Debug for MultiColumnDatatypeChange
Source§impl Default for MultiColumnDatatypeChange
impl Default for MultiColumnDatatypeChange
Source§fn default() -> MultiColumnDatatypeChange
fn default() -> MultiColumnDatatypeChange
Source§impl<'de> Deserialize<'de> for MultiColumnDatatypeChange
impl<'de> Deserialize<'de> for MultiColumnDatatypeChange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for MultiColumnDatatypeChange
Auto Trait Implementations§
impl Freeze for MultiColumnDatatypeChange
impl RefUnwindSafe for MultiColumnDatatypeChange
impl Send for MultiColumnDatatypeChange
impl Sync for MultiColumnDatatypeChange
impl Unpin for MultiColumnDatatypeChange
impl UnwindSafe for MultiColumnDatatypeChange
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