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) |
getProtocolPrefix
public String getUrl(String hostname, String port, String instance) throws ParseException
JdbcUrlParser
getUrl
in interface JdbcUrlParser
getUrl
in class PostgresUrlParser
hostname
- the hostnameport
- the TCP/IP port numberinstance
- the DB "instance"ParseException
public DatabaseInstance parseUrl(String jdbcUrl) throws ParseException
parseUrl
in interface JdbcUrlParser
parseUrl
in class PostgresUrlParser
ParseException
protected String removeProtocolPrefix(String jdbcUrl) throws ParseException
ParseException
Copyright © 2002-2019 Atlassian. All Rights Reserved.
View cookie preferences