Class DBMetaMariaDB
java.lang.Object
de.julianweinelt.datacat.dbx.database.providers.DBMetaMariaDB
- All Implemented Interfaces:
DatabaseMetaData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the default parameters of this database type.intGet the default port of this databaseThe engine name of this database, e.g.Gets the part of the jdbc url after jdbc:[String]://jdbcURL()Gets the JDBC URL as aStringobject containing all needed placeholders.parameters(Map<String, String> parameters) Define how parameters are added to the JDBC URL.syntax()Gets how this database's syntax is defined.
-
Constructor Details
-
DBMetaMariaDB
public DBMetaMariaDB()
-
-
Method Details
-
jdbcString
Description copied from interface:DatabaseMetaDataGets the part of the jdbc url after jdbc:[String]://- Specified by:
jdbcStringin interfaceDatabaseMetaData- Returns:
- The JDBC String
-
defaultPort
public int defaultPort()Description copied from interface:DatabaseMetaDataGet the default port of this database- Specified by:
defaultPortin interfaceDatabaseMetaData- Returns:
- An integer of the port that is used by default
-
jdbcURL
Description copied from interface:DatabaseMetaDataGets the JDBC URL as aStringobject containing all needed placeholders.- Specified by:
jdbcURLin interfaceDatabaseMetaData- Returns:
- A full JDBC URL with placeholders
-
syntax
Description copied from interface:DatabaseMetaDataGets how this database's syntax is defined.- Specified by:
syntaxin interfaceDatabaseMetaData- Returns:
- A
DatabaseSyntaxobject defining the syntax
-
engineName
Description copied from interface:DatabaseMetaDataThe engine name of this database, e.g. "mysql"- Specified by:
engineNamein interfaceDatabaseMetaData- Returns:
- The engine's name, often the same as
DatabaseMetaData.jdbcString()
-
parameters
Description copied from interface:DatabaseMetaDataDefine how parameters are added to the JDBC URL.- Specified by:
parametersin interfaceDatabaseMetaData- Parameters:
parameters- AMapcontains Strings (key-value-format) as the parameters.- Returns:
- A
Stringwhich can be added to the URL String.
-
defaultParameters
Description copied from interface:DatabaseMetaDataGet the default parameters of this database type.- Specified by:
defaultParametersin interfaceDatabaseMetaData- Returns:
- A
ADatabase.ParameterBuilderobject containing all default parameters.
-