Package org.h2.jdbc.meta
Class DatabaseMetaRemote
java.lang.Object
org.h2.jdbc.meta.DatabaseMeta
org.h2.jdbc.meta.DatabaseMetaRemote
Remote implementation of database meta information.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final intprivate final SessionRemote -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionINTERNALprivate ResultInterfaceexecuteQuery(int code, Value... args) getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) INTERNALgetBestRowIdentifier(String catalog, String schema, String table, 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) INTERNALintINTERNALintINTERNALINTERNALgetExportedKeys(String catalog, String schema, String table) INTERNALgetFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern) INTERNALgetFunctions(String catalog, String schemaPattern, String functionNamePattern) INTERNALgetImportedKeys(String catalog, String schema, String table) INTERNALgetIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) INTERNALprivate ValuegetIntArray(int[] array) INTERNALgetPrimaryKeys(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) INTERNALINTERNALINTERNALprivate Valueprivate ValuegetStringArray(String[] array) INTERNALgetSuperTables(String catalog, String schemaPattern, String tableNamePattern) INTERNALgetSuperTypes(String catalog, String schemaPattern, String typeNamePattern) INTERNALINTERNALgetTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) INTERNALINTERNALINTERNALINTERNALINTERNALINTERNALgetVersionColumns(String catalog, String schema, String table) INTERNAL
-
Field Details
-
DEFAULT_NULL_ORDERING
static final int DEFAULT_NULL_ORDERING- See Also:
-
GET_DATABASE_PRODUCT_VERSION
static final int GET_DATABASE_PRODUCT_VERSION- See Also:
-
GET_SQL_KEYWORDS
static final int GET_SQL_KEYWORDS- See Also:
-
GET_NUMERIC_FUNCTIONS
static final int GET_NUMERIC_FUNCTIONS- See Also:
-
GET_STRING_FUNCTIONS
static final int GET_STRING_FUNCTIONS- See Also:
-
GET_SYSTEM_FUNCTIONS
static final int GET_SYSTEM_FUNCTIONS- See Also:
-
GET_TIME_DATE_FUNCTIONS
static final int GET_TIME_DATE_FUNCTIONS- See Also:
-
GET_SEARCH_STRING_ESCAPE
static final int GET_SEARCH_STRING_ESCAPE- See Also:
-
GET_PROCEDURES_3
static final int GET_PROCEDURES_3- See Also:
-
GET_PROCEDURE_COLUMNS_4
static final int GET_PROCEDURE_COLUMNS_4- See Also:
-
GET_TABLES_4
static final int GET_TABLES_4- See Also:
-
GET_SCHEMAS
static final int GET_SCHEMAS- See Also:
-
GET_CATALOGS
static final int GET_CATALOGS- See Also:
-
GET_TABLE_TYPES
static final int GET_TABLE_TYPES- See Also:
-
GET_COLUMNS_4
static final int GET_COLUMNS_4- See Also:
-
GET_COLUMN_PRIVILEGES_4
static final int GET_COLUMN_PRIVILEGES_4- See Also:
-
GET_TABLE_PRIVILEGES_3
static final int GET_TABLE_PRIVILEGES_3- See Also:
-
GET_BEST_ROW_IDENTIFIER_5
static final int GET_BEST_ROW_IDENTIFIER_5- See Also:
-
GET_VERSION_COLUMNS_3
static final int GET_VERSION_COLUMNS_3- See Also:
-
GET_PRIMARY_KEYS_3
static final int GET_PRIMARY_KEYS_3- See Also:
-
GET_IMPORTED_KEYS_3
static final int GET_IMPORTED_KEYS_3- See Also:
-
GET_EXPORTED_KEYS_3
static final int GET_EXPORTED_KEYS_3- See Also:
-
GET_CROSS_REFERENCE_6
static final int GET_CROSS_REFERENCE_6- See Also:
-
GET_TYPE_INFO
static final int GET_TYPE_INFO- See Also:
-
GET_INDEX_INFO_5
static final int GET_INDEX_INFO_5- See Also:
-
GET_UDTS_4
static final int GET_UDTS_4- See Also:
-
GET_SUPER_TYPES_3
static final int GET_SUPER_TYPES_3- See Also:
-
GET_SUPER_TABLES_3
static final int GET_SUPER_TABLES_3- See Also:
-
GET_ATTRIBUTES_4
static final int GET_ATTRIBUTES_4- See Also:
-
GET_DATABASE_MAJOR_VERSION
static final int GET_DATABASE_MAJOR_VERSION- See Also:
-
GET_DATABASE_MINOR_VERSION
static final int GET_DATABASE_MINOR_VERSION- See Also:
-
GET_SCHEMAS_2
static final int GET_SCHEMAS_2- See Also:
-
GET_FUNCTIONS_3
static final int GET_FUNCTIONS_3- See Also:
-
GET_FUNCTION_COLUMNS_4
static final int GET_FUNCTION_COLUMNS_4- See Also:
-
GET_PSEUDO_COLUMNS_4
static final int GET_PSEUDO_COLUMNS_4- See Also:
-
session
-
transferList
-
-
Constructor Details
-
DatabaseMetaRemote
-
-
Method Details
-
defaultNullOrdering
Description copied from class:DatabaseMetaINTERNAL- Specified by:
defaultNullOrderingin classDatabaseMeta- Returns:
- DefaultNullOrdering
- See Also:
-
getDatabaseProductVersion
Description copied from class:DatabaseMetaINTERNAL- Specified by:
getDatabaseProductVersionin classDatabaseMeta- Returns:
- product version as String
- 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 catalog, String schema, String table, int scope, boolean nullable) Description copied from class:DatabaseMetaINTERNAL- Specified by:
getBestRowIdentifierin classDatabaseMeta- Parameters:
catalog- "LIKE" style pattern to filter resultschema- "LIKE" style pattern to filter resulttable- table of interestscope- of interestnullable- include nullable columns- Returns:
- ResultInterface
- See Also:
-
getVersionColumns
Description copied from class:DatabaseMetaINTERNAL- Specified by:
getVersionColumnsin classDatabaseMeta- Parameters:
catalog- to inspectschema- to inspecttable- to inspect- 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:
-
getUDTs
public 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
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 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 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 int getDatabaseMajorVersion()Description copied from class:DatabaseMetaINTERNAL- Specified by:
getDatabaseMajorVersionin classDatabaseMeta- Returns:
- ResultInterface
- See Also:
-
getDatabaseMinorVersion
public int getDatabaseMinorVersion()Description copied from class:DatabaseMetaINTERNAL- Specified by:
getDatabaseMinorVersionin classDatabaseMeta- 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:
-
getFunctions
public 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 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:
-
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
-
getIntArray
-
getStringArray
-
getString
-