| Modifier and Type | Class and Description |
|---|---|
| protected static enum |
| Modifier and Type | Field and Description |
|---|---|
| private static final Lock | |
| private static Map |
| Access | Constructor and Description |
|---|---|
| protected | DatabaseMetaDataUsingInfoSchema(JdbcConnection connToSet, String databaseToSet, ResultSetFactory resultSetFactory)
|
| Modifier and Type | Method and Description |
|---|---|
| private final void | appendJdbcTypeMappingQuery(StringBuilder buf, String mysqlTypeColumnName, String fullMysqlTypeColumnName)
|
| protected ResultSet | |
| private String | |
| private String | |
| private String | |
| public ResultSet | getBestRowIdentifier(String
a catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schema, String null means that the schema name should not be used to narrow
the searcha table name; must match the table name as it is stored
in the database table, int the scope of interest; use same values as SCOPE scope, boolean include columns that are nullable. nullable)Overrides com. Implements java. Retrieves a description of a table's optimal set of columns that uniquely identifies a row. |
| public ResultSet | getCatalogs()
Overrides com. Implements java. Retrieves the catalog names available in this database. |
| public ResultSet | getColumnPrivileges(String
a catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name; must match the schema name as it is
stored in the database; "" retrieves those without a schema;
schema, String null means that the schema name should not be used to narrow
the searcha table name; must match the table name as it is
stored in the database table, String a column name pattern; must match the column
name as it is stored in the database columnNamePattern)Overrides com. Implements java. Retrieves a description of the access rights for a table's columns. |
| public ResultSet | getColumns(String
a catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name pattern; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schemaPattern, String null means that the schema name should not be used to narrow
the searcha table name pattern; must match the
table name as it is stored in the database tableNamePattern, String a column name pattern; must match the column
name as it is stored in the database columnNamePattern)Overrides com. Implements java. Retrieves a description of table columns available in the specified catalog. |
| public ResultSet | getCrossReference(final String
a catalog name; must match the catalog name
as it is stored in the database; "" retrieves those without a
catalog; parentCatalog, final String null means drop catalog name from the selection criteriaa schema name; must match the schema name as
it is stored in the database; "" retrieves those without a schema;
parentSchema, final String null means drop schema name from the selection criteriathe name of the table that exports the key; must match
the table name as it is stored in the database parentTable, final String a catalog name; must match the catalog name as
it is stored in the database; "" retrieves those without a
catalog; foreignCatalog, final String null means drop catalog name from the selection criteriaa schema name; must match the schema name as it
is stored in the database; "" retrieves those without a schema;
foreignSchema, final String null means drop schema name from the selection criteriathe name of the table that imports the key; must match
the table name as it is stored in the database foreignTable)Overrides com. Implements java. Retrieves a description of the foreign key columns in the given foreign key table that reference the primary key or the columns representing a unique constraint of the parent table (could be the same or a different table). |
| public ResultSet | getExportedKeys(String
a catalog name; must match the catalog name as it
is stored in this database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schema, String null means that the schema name should not be used to narrow
the searcha table name; must match the table name as it is stored
in this database table)Overrides com. Implements java. Retrieves a description of the foreign key columns that reference the given table's primary key columns (the foreign keys exported by a table). |
| public ResultSet | getFunctionColumns(String
a catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name pattern; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schemaPattern, String null means that the schema name should not be used to narrow
the searcha procedure name pattern; must match the
function name as it is stored in the database functionNamePattern, String a parameter name pattern; must match the
parameter or column name as it is stored in the database columnNamePattern)Overrides com. Implements java. Retrieves a description of the given catalog's system or user function parameters and return type. |
| protected int | Returns: one of the java.sql.DatabaseMetaData#function* fields.the constant id from DatabaseMetaData fields to return. constantGetter to DatabaseMetaData.function* constants. |
| public ResultSet | getFunctions(String
a catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name pattern; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schemaPattern, String null means that the schema name should not be used to narrow
the searcha function name pattern; must match the
function name as it is stored in the database functionNamePattern)Overrides com. Implements java. Retrieves a description of the system and user functions available in the given catalog. |
| public ResultSet | getImportedKeys(String
a catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schema, String null means that the schema name should not be used to narrow
the searcha table name; must match the table name as it is stored
in the database table)Overrides com. Implements java. Retrieves a description of the primary key columns that are referenced by the given table's foreign key columns (the primary keys imported by a table). |
| public ResultSet | getIndexInfo(String
a catalog name; must match the catalog name as it
is stored in this database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name; must match the schema name
as it is stored in this database; "" retrieves those without a schema;
schema, String null means that the schema name should not be used to narrow
the searcha table name; must match the table name as it is stored
in this database table, boolean when true, return only indices for unique values;
when false, return indices regardless of whether unique or not unique, boolean when true, result is allowed to reflect approximate
or out of data values; when false, results are requested to be
accurate approximate)Overrides com. Implements java. Retrieves a description of the given table's indices and statistics. |
| public ResultSet | getPrimaryKeys(String
a catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schema, String null means that the schema name should not be used to narrow
the searcha table name; must match the table name as it is stored
in the database table)Overrides com. Implements java. Retrieves a description of the given table's primary key columns. |
| public ResultSet | getProcedureColumns(String
a catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name pattern; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schemaPattern, String null means that the schema name should not be used to narrow
the searcha procedure name pattern; must match the
procedure name as it is stored in the database procedureNamePattern, String a column name pattern; must match the column name
as it is stored in the database columnNamePattern)Overrides com. Implements java. Retrieves a description of the given catalog's stored procedure parameter and result columns. |
| public ResultSet | getProcedures(String
a catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name pattern; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schemaPattern, String null means that the schema name should not be used to narrow
the searcha procedure name pattern; must match the
procedure name as it is stored in the database procedureNamePattern)Overrides com. Implements java. Retrieves a description of the stored procedures available in the given catalog. |
| public ResultSet | getSchemas()
Overrides com. Implements java. Retrieves the schema names available in this database. |
| public ResultSet | getSchemas(String
a catalog name; must match the catalog name as it is stored
in the database;"" retrieves those without a catalog; null means catalog
name should not be used to narrow down the search. catalog, String a schema name; must match the schema name as it is
stored in the database; null means
schema name should not be used to narrow down the search. schemaPattern)Overrides com. Implements java. Retrieves the schema names available in this database. |
| public String | getSQLKeywords()
Overrides com. Implements java. Get a comma separated list of all a database's SQL keywords that are NOT also SQL92/SQL2003 keywords. |
| public ResultSet | getTablePrivileges(String
a catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name pattern; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schemaPattern, String null means that the schema name should not be used to narrow
the searcha table name pattern; must match the
table name as it is stored in the database tableNamePattern)Overrides com. Implements java. Retrieves a description of the access rights for each table available in a catalog. |
| public ResultSet | getTables(String
a catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name pattern; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schemaPattern, String null means that the schema name should not be used to narrow
the searcha table name pattern; must match the
table name as it is stored in the database tableNamePattern, String[] a list of table types, which must be from the list of table types
returned from types)getTableTypes, to include; null returns
all typesOverrides com. Implements java. Retrieves a description of the tables available in the given catalog. |
| public ResultSet | getVersionColumns(String
a catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schema, String null means that the schema name should not be used to narrow
the searcha table name; must match the table name as it is stored
in the database table)Overrides com. Implements java. Retrieves a description of a table's columns that are automatically updated when any value in a row is updated. |