pub enum ColumnNameMode {
Quoted,
Sanitize,
}Expand description
Column name handling mode for DDL generation.
Controls how column names from source schemas are transformed when generating Exasol CREATE TABLE DDL statements.
Variants§
Quoted
Preserve original column names exactly, wrapped in double quotes.
This mode:
- Wraps all names in double quotes
- Escapes internal double quotes by doubling them
- Preserves case sensitivity and special characters
Example: my Column becomes "my Column"
Sanitize
Sanitize column names to valid Exasol identifiers.
This mode:
- Converts names to uppercase
- Replaces invalid identifier characters with underscores
- Prefixes names starting with digits with an underscore
Example: my Column becomes MY_COLUMN
Trait Implementations§
Source§impl Clone for ColumnNameMode
impl Clone for ColumnNameMode
Source§fn clone(&self) -> ColumnNameMode
fn clone(&self) -> ColumnNameMode
Returns a duplicate 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 ColumnNameMode
impl Debug for ColumnNameMode
Source§impl Default for ColumnNameMode
impl Default for ColumnNameMode
Source§fn default() -> ColumnNameMode
fn default() -> ColumnNameMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for ColumnNameMode
impl PartialEq for ColumnNameMode
impl Copy for ColumnNameMode
impl Eq for ColumnNameMode
impl StructuralPartialEq for ColumnNameMode
Auto Trait Implementations§
impl Freeze for ColumnNameMode
impl RefUnwindSafe for ColumnNameMode
impl Send for ColumnNameMode
impl Sync for ColumnNameMode
impl Unpin for ColumnNameMode
impl UnsafeUnpin for ColumnNameMode
impl UnwindSafe for ColumnNameMode
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.