Class PostgreSQLURLParser
java.lang.Object
org.apache.skywalking.apm.plugin.jdbc.connectionurl.parser.AbstractURLParser
org.apache.skywalking.apm.plugin.jdbc.connectionurl.parser.PostgreSQLURLParser
- All Implemented Interfaces:
ConnectionURLParser
PostgreSQLURLParser parse connection url of mysql.-
Field Summary
Fields inherited from class org.apache.skywalking.apm.plugin.jdbc.connectionurl.parser.AbstractURLParser
url -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected URLLocationFetch the index range that database host and port from connection url.protected URLLocationFetch the index range that database name from connection url.parse()ConnectionURLParserparses database name and the database host(s) from connection url.Methods inherited from class org.apache.skywalking.apm.plugin.jdbc.connectionurl.parser.AbstractURLParser
fetchDatabaseHostsFromURL, fetchDatabaseNameFromURL, fetchDatabaseNameFromURL
-
Constructor Details
-
PostgreSQLURLParser
-
-
Method Details
-
fetchDatabaseHostsIndexRange
Description copied from class:AbstractURLParserFetch the index range that database host and port from connection url.- Specified by:
fetchDatabaseHostsIndexRangein classAbstractURLParser- Returns:
- index range that database hosts.
-
fetchDatabaseNameIndexRange
Description copied from class:AbstractURLParserFetch the index range that database name from connection url.- Specified by:
fetchDatabaseNameIndexRangein classAbstractURLParser- Returns:
- index range that database name.
-
parse
Description copied from interface:ConnectionURLParserConnectionURLParserparses database name and the database host(s) from connection url.- Returns:
- connection info.
-