Package org.h2.jdbc.meta
Class DatabaseMetaLegacy
java.lang.Object
org.h2.jdbc.meta.DatabaseMeta
org.h2.jdbc.meta.DatabaseMetaLocalBase
org.h2.jdbc.meta.DatabaseMetaLegacy
Legacy implementation of database meta information.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidfinal DefaultNullOrderingINTERNALprivate ResultInterfaceexecuteQuery(String sql, Value... args) getBestRowIdentifier(String catalogPattern, String schemaPattern, String tableName, int scope, boolean nullable) INTERNALprivate ValuegetCatalogPattern(String catalogPattern) INTERNALgetColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) INTERNALgetColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) INTERNALgetCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) INTERNALgetExportedKeys(String catalog, String schema, String table) INTERNALprivate StringgetFunctions(String section) getImportedKeys(String catalog, String schema, String table) INTERNALgetIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) INTERNALINTERNALprivate ValuegetPattern(String pattern) getPrimaryKeys(String catalog, String schema, String table) INTERNALgetProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) INTERNALgetProcedures(String catalog, String schemaPattern, String procedureNamePattern) INTERNALgetPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) INTERNALprivate ValuegetSchemaPattern(String pattern) INTERNALgetSchemas(String catalog, String schemaPattern) INTERNALINTERNALINTERNALprivate ValueINTERNALINTERNALgetTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) INTERNALINTERNALINTERNALINTERNALINTERNALMethods inherited from class org.h2.jdbc.meta.DatabaseMetaLocalBase
getAttributes, getDatabaseMajorVersion, getDatabaseMinorVersion, getDatabaseProductVersion, getFunctionColumns, getFunctions, getPseudoColumnsResult, getSuperTables, getSuperTypes, getUDTs, getVersionColumns
-
Field Details
-
PERCENT
-
BACKSLASH
-
YES
-
NO
-
SCHEMA_MAIN
-
session
-
-
Constructor Details
-
DatabaseMetaLegacy
-
-
Method Details
-
defaultNullOrdering
Description copied from class:DatabaseMetaINTERNAL- Specified by:
defaultNullOrderingin classDatabaseMeta- Returns:
- DefaultNullOrdering
- See Also:
-
getSQLKeywords
Description copied from class:DatabaseMetaINTERNAL- Specified by:
getSQLKeywordsin classDatabaseMeta- Returns:
- list of supported SQL keywords
- See Also:
-
getNumericFunctions
Description copied from class:DatabaseMetaINTERNAL- Specified by:
getNumericFunctionsin classDatabaseMeta- Returns:
- list of supported numeric functions
- See Also:
-
getStringFunctions
Description copied from class:DatabaseMetaINTERNAL- Specified by:
getStringFunctionsin classDatabaseMeta- Returns:
- list of supported string functions
- See Also:
-
getSystemFunctions
Description copied from class:DatabaseMetaINTERNAL- Specified by:
getSystemFunctionsin classDatabaseMeta- Returns:
- list of supported system functions
- See Also:
-
getTimeDateFunctions
Description copied from class:DatabaseMetaINTERNAL- Specified by:
getTimeDateFunctionsin classDatabaseMeta- Returns:
- list of supported time/date functions
- See Also:
-
getFunctions
-
getSearchStringEscape
Description copied from class:DatabaseMetaINTERNAL- Specified by:
getSearchStringEscapein classDatabaseMeta- Returns:
- search string escape sequence
- See Also:
-
getProcedures
public ResultInterface getProcedures(String catalog, String schemaPattern, String procedureNamePattern) Description copied from class:DatabaseMetaINTERNAL- Specified by:
getProceduresin classDatabaseMeta- Parameters:
catalog- to inspectschemaPattern- "LIKE" style pattern to filter resultprocedureNamePattern- "LIKE" style pattern to filter result- Returns:
- ResultInterface
- See Also:
-
getProcedureColumns
public ResultInterface getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) Description copied from class:DatabaseMetaINTERNAL- Specified by:
getProcedureColumnsin classDatabaseMeta- Parameters:
catalog- to inspectschemaPattern- "LIKE" style pattern to filter resultprocedureNamePattern- "LIKE" style pattern to filter resultcolumnNamePattern- "LIKE" style pattern to filter result- Returns:
- ResultInterface
- See Also:
-
getTables
public ResultInterface getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types) Description copied from class:DatabaseMetaINTERNAL- Specified by:
getTablesin classDatabaseMeta- Parameters:
catalog- to inspectschemaPattern- "LIKE" style pattern to filter resulttableNamePattern- "LIKE" style pattern to filter resulttypes- String[]- Returns:
- ResultInterface
- See Also:
-
getSchemas
Description copied from class:DatabaseMetaINTERNAL- Specified by:
getSchemasin classDatabaseMeta- Returns:
- ResultInterface
- See Also:
-
getCatalogs
Description copied from class:DatabaseMetaINTERNAL- Specified by:
getCatalogsin classDatabaseMeta- Returns:
- ResultInterface
- See Also:
-
getTableTypes
Description copied from class:DatabaseMetaINTERNAL- Specified by:
getTableTypesin classDatabaseMeta- Returns:
- ResultInterface
- See Also:
-
getColumns
public ResultInterface getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) Description copied from class:DatabaseMetaINTERNAL- Specified by:
getColumnsin classDatabaseMeta- Parameters:
catalog- to inspectschemaPattern- "LIKE" style pattern to filter resulttableNamePattern- "LIKE" style pattern to filter resultcolumnNamePattern- "LIKE" style pattern to filter result- Returns:
- ResultInterface
- See Also:
-
getColumnPrivileges
public ResultInterface getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) Description copied from class:DatabaseMetaINTERNAL- Specified by:
getColumnPrivilegesin classDatabaseMeta- Parameters:
catalog- to inspectschema- to inspecttable- to inspectcolumnNamePattern- "LIKE" style pattern to filter result- Returns:
- ResultInterface
- See Also:
-
getTablePrivileges
public ResultInterface getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) Description copied from class:DatabaseMetaINTERNAL- Specified by:
getTablePrivilegesin classDatabaseMeta- Parameters:
catalog- to inspectschemaPattern- "LIKE" style pattern to filter resulttableNamePattern- "LIKE" style pattern to filter result- Returns:
- ResultInterface
- See Also:
-
getBestRowIdentifier
public ResultInterface getBestRowIdentifier(String catalogPattern, String schemaPattern, String tableName, int scope, boolean nullable) Description copied from class:DatabaseMetaINTERNAL- Specified by:
getBestRowIdentifierin classDatabaseMeta- Parameters:
catalogPattern- "LIKE" style pattern to filter resultschemaPattern- "LIKE" style pattern to filter resulttableName- table of interestscope- of interestnullable- include nullable columns- Returns:
- ResultInterface
- See Also:
-
getPrimaryKeys
Description copied from class:DatabaseMetaINTERNAL- Specified by:
getPrimaryKeysin classDatabaseMeta- Parameters:
catalog- to inspectschema- to inspecttable- to inspect- Returns:
- ResultInterface
- See Also:
-
getImportedKeys
Description copied from class:DatabaseMetaINTERNAL- Specified by:
getImportedKeysin classDatabaseMeta- Parameters:
catalog- to inspectschema- to inspecttable- to inspect- Returns:
- ResultInterface
- See Also:
-
getExportedKeys
Description copied from class:DatabaseMetaINTERNAL- Specified by:
getExportedKeysin classDatabaseMeta- Parameters:
catalog- to inspectschema- to inspecttable- to inspect- Returns:
- ResultInterface
- See Also:
-
getCrossReference
public ResultInterface getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) Description copied from class:DatabaseMetaINTERNAL- Specified by:
getCrossReferencein classDatabaseMeta- Parameters:
primaryCatalog- to inspectprimarySchema- to inspectprimaryTable- to inspectforeignCatalog- to inspectforeignSchema- to inspectforeignTable- to inspect- Returns:
- ResultInterface
- See Also:
-
getTypeInfo
Description copied from class:DatabaseMetaINTERNAL- Specified by:
getTypeInfoin classDatabaseMeta- Returns:
- ResultInterface
- See Also:
-
getIndexInfo
public ResultInterface getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) Description copied from class:DatabaseMetaINTERNAL- Specified by:
getIndexInfoin classDatabaseMeta- Parameters:
catalog- to inspectschema- to inspecttable- to inspectunique- onlyapproximate- allowed- Returns:
- ResultInterface
- See Also:
-
getSchemas
Description copied from class:DatabaseMetaINTERNAL- Specified by:
getSchemasin classDatabaseMeta- Parameters:
catalog- to inspectschemaPattern- "LIKE" style pattern to filter result- Returns:
- ResultInterface
- See Also:
-
getPseudoColumns
public ResultInterface getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) Description copied from class:DatabaseMetaINTERNAL- Specified by:
getPseudoColumnsin classDatabaseMeta- Parameters:
catalog- to inspectschemaPattern- "LIKE" style pattern to filter resulttableNamePattern- "LIKE" style pattern to filter resultcolumnNamePattern- "LIKE" style pattern to filter result- Returns:
- ResultInterface
- See Also:
-
executeQuery
-
checkClosed
void checkClosed()- Specified by:
checkClosedin classDatabaseMetaLocalBase
-
getString
-
getPattern
-
getSchemaPattern
-
getCatalogPattern
-