Package org.h2.jdbc.meta
Class DatabaseMetaLegacy
java.lang.Object
org.h2.jdbc.meta.DatabaseMeta
org.h2.jdbc.meta.DatabaseMetaLegacy
Legacy implementation of database meta information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal DefaultNullOrderingINTERNALfinal ResultInterfacegetAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) INTERNALgetBestRowIdentifier(String catalogPattern, String schemaPattern, String tableName, int scope, boolean nullable) INTERNALINTERNALgetColumnPrivileges(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) INTERNALfinal intINTERNALfinal intINTERNALfinal StringINTERNALgetExportedKeys(String catalog, String schema, String table) INTERNALfinal ResultInterfacegetFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern) INTERNALfinal ResultInterfacegetFunctions(String catalog, String schemaPattern, String functionNamePattern) INTERNALgetImportedKeys(String catalog, String schema, String table) INTERNALgetIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) INTERNALINTERNALgetPrimaryKeys(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) INTERNALINTERNALgetSchemas(String catalog, String schemaPattern) INTERNALINTERNALINTERNALINTERNALfinal ResultInterfacegetSuperTables(String catalog, String schemaPattern, String tableNamePattern) INTERNALfinal ResultInterfacegetSuperTypes(String catalog, String schemaPattern, String typeNamePattern) INTERNALINTERNALgetTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) INTERNALINTERNALINTERNALINTERNALINTERNALfinal ResultInterfaceINTERNALfinal ResultInterfacegetVersionColumns(String catalog, String schema, String table) INTERNAL
-
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:
-
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:
-
getDatabaseProductVersion
Description copied from class:DatabaseMetaINTERNAL- Specified by:
getDatabaseProductVersionin classDatabaseMeta- Returns:
- product version as String
- See Also:
-
getVersionColumns
Description copied from class:DatabaseMetaINTERNAL- Specified by:
getVersionColumnsin classDatabaseMeta- Parameters:
catalog- to inspectschema- to inspecttable- to inspect- Returns:
- ResultInterface
- See Also:
-
getUDTs
public final ResultInterface getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) Description copied from class:DatabaseMetaINTERNAL- Specified by:
getUDTsin classDatabaseMeta- Parameters:
catalog- to inspectschemaPattern- "LIKE" style pattern to filter resulttypeNamePattern- "LIKE" style pattern to filter resulttypes- int[]- Returns:
- ResultInterface
- See Also:
-
getSuperTypes
public final ResultInterface getSuperTypes(String catalog, String schemaPattern, String typeNamePattern) Description copied from class:DatabaseMetaINTERNAL- Specified by:
getSuperTypesin classDatabaseMeta- Parameters:
catalog- to inspectschemaPattern- "LIKE" style pattern to filter resulttypeNamePattern- "LIKE" style pattern to filter result- Returns:
- ResultInterface
- See Also:
-
getSuperTables
public final ResultInterface getSuperTables(String catalog, String schemaPattern, String tableNamePattern) Description copied from class:DatabaseMetaINTERNAL- Specified by:
getSuperTablesin classDatabaseMeta- Parameters:
catalog- to inspectschemaPattern- "LIKE" style pattern to filter resulttableNamePattern- "LIKE" style pattern to filter result- Returns:
- ResultInterface
- See Also:
-
getAttributes
public final ResultInterface getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) Description copied from class:DatabaseMetaINTERNAL- Specified by:
getAttributesin classDatabaseMeta- Parameters:
catalog- to inspectschemaPattern- "LIKE" style pattern to filter resulttypeNamePattern- "LIKE" style pattern to filter resultattributeNamePattern- "LIKE" style pattern to filter result- Returns:
- ResultInterface
- See Also:
-
getDatabaseMajorVersion
public final int getDatabaseMajorVersion()Description copied from class:DatabaseMetaINTERNAL- Specified by:
getDatabaseMajorVersionin classDatabaseMeta- Returns:
- ResultInterface
- See Also:
-
getDatabaseMinorVersion
public final int getDatabaseMinorVersion()Description copied from class:DatabaseMetaINTERNAL- Specified by:
getDatabaseMinorVersionin classDatabaseMeta- Returns:
- ResultInterface
- See Also:
-
getFunctions
public final ResultInterface getFunctions(String catalog, String schemaPattern, String functionNamePattern) Description copied from class:DatabaseMetaINTERNAL- Specified by:
getFunctionsin classDatabaseMeta- Parameters:
catalog- to inspectschemaPattern- "LIKE" style pattern to filter resultfunctionNamePattern- "LIKE" style pattern to filter result- Returns:
- ResultInterface
- See Also:
-
getFunctionColumns
public final ResultInterface getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern) Description copied from class:DatabaseMetaINTERNAL- Specified by:
getFunctionColumnsin classDatabaseMeta- Parameters:
catalog- to inspectschemaPattern- "LIKE" style pattern to filter resultfunctionNamePattern- "LIKE" style pattern to filter resultcolumnNamePattern- "LIKE" style pattern to filter result- Returns:
- ResultInterface
- See Also:
-