public class JdbcDialects
extends Object
DataFrame
.
If multiple matching dialects are registered then all matching ones will be tried in reverse order. A user-added dialect will thus be applied first, overwriting the defaults.
Note that all new dialects are applied to new jdbc DataFrames only. Make sure to register your dialects first.
Constructor and Description |
---|
JdbcDialects() |
Modifier and Type | Method and Description |
---|---|
static void |
registerDialect(JdbcDialect dialect)
Register a dialect for use on all new matching jdbc
DataFrame . |
static void |
unregisterDialect(JdbcDialect dialect)
Unregister a dialect.
|
public static void registerDialect(JdbcDialect dialect)
DataFrame
.
Readding an existing dialect will cause a move-to-front.dialect
- The new dialect.public static void unregisterDialect(JdbcDialect dialect)
dialect
- The jdbc dialect.