public class AuroraPostgresUrlParser extends PostgresUrlParser
| Constructor and Description |
|---|
AuroraPostgresUrlParser() |
| Modifier and Type | Method and Description |
|---|---|
String |
getUrl(String hostname,
String port,
String instance)
Returns the JDBC URL for this DB config.
|
DatabaseInstance |
parseUrl(String jdbcUrl) |
protected String |
removeProtocolPrefix(String jdbcUrl) |
getProtocolPrefixpublic String getUrl(String hostname, String port, String instance) throws ParseException
JdbcUrlParsergetUrl in interface JdbcUrlParsergetUrl in class PostgresUrlParserhostname - the hostnameport - the TCP/IP port numberinstance - the DB "instance"ParseExceptionpublic DatabaseInstance parseUrl(String jdbcUrl) throws ParseException
parseUrl in interface JdbcUrlParserparseUrl in class PostgresUrlParserParseExceptionprotected String removeProtocolPrefix(String jdbcUrl) throws ParseException
ParseExceptionCopyright © 2002-2019 Atlassian. All Rights Reserved.