public class JdbcCatalogUtils extends Object
JdbcCatalog
.Constructor and Description |
---|
JdbcCatalogUtils() |
Modifier and Type | Method and Description |
---|---|
static AbstractJdbcCatalog |
createCatalog(String catalogName,
String defaultDatabase,
String username,
String pwd,
String baseUrl)
Create catalog instance from given information.
|
static void |
validateJdbcUrl(String url)
URL has to be without database, like "jdbc:postgresql://localhost:5432/" or
"jdbc:postgresql://localhost:5432" rather than "jdbc:postgresql://localhost:5432/db".
|
public static void validateJdbcUrl(String url)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.