|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object org.apache.spark.sql.jdbc.JdbcDialects
public class JdbcDialects
:: DeveloperApi ::
Registry of dialects that apply to every new jdbc 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 Summary | |
---|---|
JdbcDialects()
|
Method Summary | |
---|---|
static void |
registerDialect(JdbcDialect dialect)
Register a dialect for use on all new matching jdbc DataFrame . |
static void |
unregisterDialect(JdbcDialect dialect)
Unregister a dialect. |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JdbcDialects()
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |