public class PostgreSQLURLParser extends AbstractURLParser
PostgreSQLURLParser parse connection url of mysql.url| Constructor and Description |
|---|
PostgreSQLURLParser(String url) |
| Modifier and Type | Method and Description |
|---|---|
protected URLLocation |
fetchDatabaseHostsIndexRange()
Fetch the index range that database host and port from connection url.
|
protected URLLocation |
fetchDatabaseNameIndexRange()
Fetch the index range that database name from connection url.
|
ConnectionInfo |
parse()
ConnectionURLParser parses database name and the database host(s) from connection url. |
fetchDatabaseHostsFromURL, fetchDatabaseNameFromURL, fetchDatabaseNameFromURLpublic PostgreSQLURLParser(String url)
protected URLLocation fetchDatabaseHostsIndexRange()
AbstractURLParserfetchDatabaseHostsIndexRange in class AbstractURLParserprotected URLLocation fetchDatabaseNameIndexRange()
AbstractURLParserfetchDatabaseNameIndexRange in class AbstractURLParserpublic ConnectionInfo parse()
ConnectionURLParserConnectionURLParser parses database name and the database host(s) from connection url.Copyright © 2020 The Apache Software Foundation. All rights reserved.