pub struct MultiEntityRename {
pub new_name_pattern: Option<String>,
pub source_name_transformation: Option<String>,
}Expand description
Options to configure rule type MultiEntityRename. The rule is used to rename multiple entities. The rule filter field can refer to one or more entities. The rule scope can be one of: Database, Schema, Table, Column, Constraint, Index, View, Function, Stored Procedure, Materialized View, Sequence, UDT
This type is not used in any activity, and only used as part of another schema.
Fields§
§new_name_pattern: Option<String>Optional. The pattern used to generate the new entity’s name. This pattern must include the characters ‘{name}’, which will be replaced with the name of the original entity. For example, the pattern ‘t_{name}’ for an entity name jobs would be converted to ‘t_jobs’. If unspecified, the default value for this field is ‘{name}’
source_name_transformation: Option<String>Optional. Additional transformation that can be done on the source entity name before it is being used by the new_name_pattern, for example lower case. If no transformation is desired, use NO_TRANSFORMATION
Trait Implementations§
Source§impl Clone for MultiEntityRename
impl Clone for MultiEntityRename
Source§fn clone(&self) -> MultiEntityRename
fn clone(&self) -> MultiEntityRename
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more