Package org.h2.jdbc.meta
Class DatabaseMetaLocalBase
- java.lang.Object
-
- org.h2.jdbc.meta.DatabaseMeta
-
- org.h2.jdbc.meta.DatabaseMetaLocalBase
-
- Direct Known Subclasses:
DatabaseMetaLegacy
,DatabaseMetaLocal
abstract class DatabaseMetaLocalBase extends DatabaseMeta
Base implementation of database meta information.
-
-
Constructor Summary
Constructors Constructor Description DatabaseMetaLocalBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) abstract void
checkClosed()
ResultInterface
getAttributes(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String typeNamePattern, java.lang.String attributeNamePattern)
INTERNALint
getDatabaseMajorVersion()
INTERNALint
getDatabaseMinorVersion()
INTERNALjava.lang.String
getDatabaseProductVersion()
INTERNALResultInterface
getFunctionColumns(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String functionNamePattern, java.lang.String columnNamePattern)
INTERNALResultInterface
getFunctions(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String functionNamePattern)
INTERNAL(package private) SimpleResult
getPseudoColumnsResult()
ResultInterface
getSuperTables(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String tableNamePattern)
INTERNALResultInterface
getSuperTypes(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String typeNamePattern)
INTERNALResultInterface
getUDTs(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String typeNamePattern, int[] types)
INTERNALResultInterface
getVersionColumns(java.lang.String catalog, java.lang.String schema, java.lang.String table)
INTERNAL-
Methods inherited from class org.h2.jdbc.meta.DatabaseMeta
defaultNullOrdering, getBestRowIdentifier, getCatalogs, getColumnPrivileges, getColumns, getCrossReference, getExportedKeys, getImportedKeys, getIndexInfo, getNumericFunctions, getPrimaryKeys, getProcedureColumns, getProcedures, getPseudoColumns, getSchemas, getSchemas, getSearchStringEscape, getSQLKeywords, getStringFunctions, getSystemFunctions, getTablePrivileges, getTables, getTableTypes, getTimeDateFunctions, getTypeInfo
-
-
-
-
Method Detail
-
getDatabaseProductVersion
public final java.lang.String getDatabaseProductVersion()
Description copied from class:DatabaseMeta
INTERNAL- Specified by:
getDatabaseProductVersion
in classDatabaseMeta
- Returns:
- product version as String
- See Also:
DatabaseMetaData.getDatabaseProductVersion()
-
getVersionColumns
public final ResultInterface getVersionColumns(java.lang.String catalog, java.lang.String schema, java.lang.String table)
Description copied from class:DatabaseMeta
INTERNAL- Specified by:
getVersionColumns
in classDatabaseMeta
- Parameters:
catalog
- to inspectschema
- to inspecttable
- to inspect- Returns:
- ResultInterface
- See Also:
DatabaseMetaData.getVersionColumns(String, String, String)
-
getUDTs
public final ResultInterface getUDTs(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String typeNamePattern, int[] types)
Description copied from class:DatabaseMeta
INTERNAL- Specified by:
getUDTs
in classDatabaseMeta
- Parameters:
catalog
- to inspectschemaPattern
- "LIKE" style pattern to filter resulttypeNamePattern
- "LIKE" style pattern to filter resulttypes
- int[]- Returns:
- ResultInterface
- See Also:
DatabaseMetaData.getUDTs(String, String, String, int[])
-
getSuperTypes
public final ResultInterface getSuperTypes(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String typeNamePattern)
Description copied from class:DatabaseMeta
INTERNAL- Specified by:
getSuperTypes
in classDatabaseMeta
- Parameters:
catalog
- to inspectschemaPattern
- "LIKE" style pattern to filter resulttypeNamePattern
- "LIKE" style pattern to filter result- Returns:
- ResultInterface
- See Also:
DatabaseMetaData.getSuperTypes(String, String, String)
-
getSuperTables
public final ResultInterface getSuperTables(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String tableNamePattern)
Description copied from class:DatabaseMeta
INTERNAL- Specified by:
getSuperTables
in classDatabaseMeta
- Parameters:
catalog
- to inspectschemaPattern
- "LIKE" style pattern to filter resulttableNamePattern
- "LIKE" style pattern to filter result- Returns:
- ResultInterface
- See Also:
DatabaseMetaData.getSuperTables(String, String, String)
-
getAttributes
public final ResultInterface getAttributes(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String typeNamePattern, java.lang.String attributeNamePattern)
Description copied from class:DatabaseMeta
INTERNAL- Specified by:
getAttributes
in 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:
DatabaseMetaData.getAttributes(String, String, String, String)
-
getDatabaseMajorVersion
public final int getDatabaseMajorVersion()
Description copied from class:DatabaseMeta
INTERNAL- Specified by:
getDatabaseMajorVersion
in classDatabaseMeta
- Returns:
- ResultInterface
- See Also:
DatabaseMetaData.getDatabaseMajorVersion()
-
getDatabaseMinorVersion
public final int getDatabaseMinorVersion()
Description copied from class:DatabaseMeta
INTERNAL- Specified by:
getDatabaseMinorVersion
in classDatabaseMeta
- Returns:
- ResultInterface
- See Also:
DatabaseMetaData.getDatabaseMinorVersion()
-
getFunctions
public final ResultInterface getFunctions(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String functionNamePattern)
Description copied from class:DatabaseMeta
INTERNAL- Specified by:
getFunctions
in classDatabaseMeta
- Parameters:
catalog
- to inspectschemaPattern
- "LIKE" style pattern to filter resultfunctionNamePattern
- "LIKE" style pattern to filter result- Returns:
- ResultInterface
- See Also:
DatabaseMetaData.getFunctions(String, String, String)
-
getFunctionColumns
public final ResultInterface getFunctionColumns(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String functionNamePattern, java.lang.String columnNamePattern)
Description copied from class:DatabaseMeta
INTERNAL- Specified by:
getFunctionColumns
in 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:
DatabaseMetaData.getFunctionColumns(String, String, String, String)
-
getPseudoColumnsResult
final SimpleResult getPseudoColumnsResult()
-
checkClosed
abstract void checkClosed()
-
-