public class JdbcCatalogUtils extends Object
JdbcCatalog
.Constructor and Description |
---|
JdbcCatalogUtils() |
Modifier and Type | Method and Description |
---|---|
static AbstractJdbcCatalog |
createCatalog(ClassLoader userClassLoader,
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)
public static AbstractJdbcCatalog createCatalog(ClassLoader userClassLoader, String catalogName, String defaultDatabase, String username, String pwd, String baseUrl)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.