public interface DatabaseType
| Modifier and Type | Method and Description |
|---|---|
default String |
formatTableNamePattern(String tableNamePattern)
Format table name pattern.
|
DataSourceMetaData |
getDataSourceMetaData(String url,
String username)
Get data source meta data.
|
Collection<String> |
getJdbcUrlPrefixes()
Get alias of JDBC URL prefixes.
|
String |
getName()
Get database name.
|
org.apache.shardingsphere.sql.parser.sql.common.constant.QuoteCharacter |
getQuoteCharacter()
Get quote character.
|
default String |
getSchema(Connection connection)
Get schema.
|
String getName()
org.apache.shardingsphere.sql.parser.sql.common.constant.QuoteCharacter getQuoteCharacter()
Collection<String> getJdbcUrlPrefixes()
DataSourceMetaData getDataSourceMetaData(String url, String username)
url - URL of data sourceusername - username of data sourcedefault String getSchema(Connection connection)
connection - connectionCopyright © 2021 The Apache Software Foundation. All rights reserved.