public class JcrMetaData extends Object implements DatabaseMetaData
DatabaseMetaData
.Modifier and Type | Class and Description |
---|---|
protected static class |
JcrMetaData.PseudoPropertyDefinition |
Modifier and Type | Field and Description |
---|---|
protected static Integer |
DEFAULT_ZERO |
protected static int |
NO_LIMIT |
protected static List<PropertyDefinition> |
PSEUDO_COLUMN_DEFNS |
protected static List<String> |
PSEUDO_COLUMN_NAMES |
protected static String |
WILDCARD
CONSTANTS
|
attributeNoNulls, attributeNullable, attributeNullableUnknown, bestRowNotPseudo, bestRowPseudo, bestRowSession, bestRowTemporary, bestRowTransaction, bestRowUnknown, columnNoNulls, columnNullable, columnNullableUnknown, functionColumnIn, functionColumnInOut, functionColumnOut, functionColumnResult, functionColumnUnknown, functionNoNulls, functionNoTable, functionNullable, functionNullableUnknown, functionResultUnknown, functionReturn, functionReturnsTable, importedKeyCascade, importedKeyInitiallyDeferred, importedKeyInitiallyImmediate, importedKeyNoAction, importedKeyNotDeferrable, importedKeyRestrict, importedKeySetDefault, importedKeySetNull, procedureColumnIn, procedureColumnInOut, procedureColumnOut, procedureColumnResult, procedureColumnReturn, procedureColumnUnknown, procedureNoNulls, procedureNoResult, procedureNullable, procedureNullableUnknown, procedureResultUnknown, procedureReturnsResult, sqlStateSQL, sqlStateSQL99, sqlStateXOpen, tableIndexClustered, tableIndexHashed, tableIndexOther, tableIndexStatistic, typeNoNulls, typeNullable, typeNullableUnknown, typePredBasic, typePredChar, typePredNone, typeSearchable, versionColumnNotPseudo, versionColumnPseudo, versionColumnUnknown
Constructor and Description |
---|
JcrMetaData(JcrConnection connection) |
Modifier and Type | Method and Description |
---|---|
boolean |
allProceduresAreCallable() |
boolean |
allTablesAreSelectable() |
boolean |
autoCommitFailureClosesAllResultSets() |
boolean |
dataDefinitionCausesTransactionCommit() |
boolean |
dataDefinitionIgnoredInTransactions() |
boolean |
deletesAreDetected(int type) |
boolean |
doesMaxRowSizeIncludeBlobs() |
boolean |
generatedKeyAlwaysReturned()
This method always returns true. *
Note: This method is part of the JDBC API in JDK 1.7.
|
ResultSet |
getAttributes(String catalog,
String schemaPattern,
String typeNamePattern,
String attributeNamePattern) |
ResultSet |
getBestRowIdentifier(String catalog,
String schema,
String table,
int scope,
boolean nullable) |
ResultSet |
getCatalogs()
This driver maps the repository name as the JDBC catalog name.
|
String |
getCatalogSeparator() |
String |
getCatalogTerm()
This driver maps the repository name as the JDBC catalog name.
|
ResultSet |
getClientInfoProperties() |
ResultSet |
getColumnPrivileges(String catalog,
String schema,
String table,
String columnNamePattern) |
ResultSet |
getColumns(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern) |
Connection |
getConnection() |
ResultSet |
getCrossReference(String parentCatalog,
String parentSchema,
String parentTable,
String foreignCatalog,
String foreignSchema,
String foreignTable) |
int |
getDatabaseMajorVersion() |
int |
getDatabaseMinorVersion() |
String |
getDatabaseProductName() |
String |
getDatabaseProductUrl() |
String |
getDatabaseProductVersion() |
int |
getDefaultTransactionIsolation() |
int |
getDriverMajorVersion() |
int |
getDriverMinorVersion() |
String |
getDriverName() |
String |
getDriverVersion() |
ResultSet |
getExportedKeys(String catalog,
String schema,
String table)
This driver maps REFERENCE properties as keys, and therefore it represents as imported keys those REFERENCE properties on
the type identified by the table name.
|
String |
getExtraNameCharacters() |
ResultSet |
getFunctionColumns(String catalog,
String schemaPattern,
String functionNamePattern,
String columnNamePattern) |
ResultSet |
getFunctions(String catalog,
String schemaPattern,
String functionNamePattern) |
String |
getIdentifierQuoteString()
JCR-SQL2 allows identifiers to be surrounded by matching single quotes, double quotes, or opening and closing square
brackets.
|
ResultSet |
getImportedKeys(String catalog,
String schema,
String table)
This driver maps REFERENCE properties as keys, and therefore it represents as imported keys those properties on other types
referencing the type identified by the table name.
|
ResultSet |
getIndexInfo(String catalog,
String schema,
String tableNamePattern,
boolean unique,
boolean approximate) |
int |
getJDBCMajorVersion() |
int |
getJDBCMinorVersion() |
int |
getMaxBinaryLiteralLength()
There is no maximum length of binary literals (or if there is a limit it is not known), so this method returns 0.
|
int |
getMaxCatalogNameLength()
There is no maximum length of the catalog (repository) names - or the limit is not known.
|
int |
getMaxCharLiteralLength()
There is no maximum length of character literals (or if there is a limit it is not known), so this method returns 0.
|
int |
getMaxColumnNameLength()
There is no maximum length of column names (or if there is a limit it is not known), so this method returns 0.
|
int |
getMaxColumnsInGroupBy()
JCR-SQL2 does not support GROUP BY, so this method returns 0.
|
int |
getMaxColumnsInIndex()
There is no limit to the number of columns in an index (or if there is a limit it is not known), so this method returns 0.
|
int |
getMaxColumnsInOrderBy()
There is no limit to the number of columns in an ORDER BY statement (or if there is a limit it is not known), so this
method returns 0.
|
int |
getMaxColumnsInSelect()
There is no limit to the number of columns in a select statement (or if there is a limit it is not known), so this method
returns 0.
|
int |
getMaxColumnsInTable()
There is no limit to the number of columns in a table (or if there is a limit it is not known), so this method returns 0.
|
int |
getMaxConnections()
There is no limit to the number of connections (or if there is a limit it is not known), so this method returns 0.
|
int |
getMaxCursorNameLength()
There are no cursors (or there is no limit), so this method returns 0.
|
int |
getMaxIndexLength()
There are no indexes (or there is no limit), so this method returns 0.
|
int |
getMaxProcedureNameLength()
There are no procedures, so this method returns 0.
|
int |
getMaxRowSize()
There is no maximum row size.
|
int |
getMaxSchemaNameLength()
There is no maximum length of the schema (workspace) names - or the limit is not known.
|
int |
getMaxStatementLength() |
int |
getMaxStatements() |
int |
getMaxTableNameLength() |
int |
getMaxTablesInSelect() |
int |
getMaxUserNameLength() |
String |
getNumericFunctions() |
ResultSet |
getPrimaryKeys(String catalog,
String schema,
String tableNamePattern) |
ResultSet |
getProcedureColumns(String catalog,
String schemaPattern,
String procedureNamePattern,
String columnNamePattern) |
ResultSet |
getProcedures(String catalog,
String schemaPattern,
String procedureNamePattern) |
String |
getProcedureTerm() |
ResultSet |
getPseudoColumns(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern)
This method always returns an emtpy result set. *
Note: This method is part of the JDBC API in JDK 1.7.
|
int |
getResultSetHoldability() |
RowIdLifetime |
getRowIdLifetime() |
ResultSet |
getSchemas() |
ResultSet |
getSchemas(String catalog,
String schemaPattern) |
String |
getSchemaTerm() |
String |
getSearchStringEscape() |
String |
getSQLKeywords() |
int |
getSQLStateType() |
String |
getStringFunctions() |
ResultSet |
getSuperTables(String catalog,
String schemaPattern,
String tableNamePattern) |
ResultSet |
getSuperTypes(String catalog,
String schemaPattern,
String typeNamePattern) |
String |
getSystemFunctions() |
ResultSet |
getTablePrivileges(String catalog,
String schemaPattern,
String tableNamePattern) |
ResultSet |
getTables(String catalog,
String schemaPattern,
String tableNamePattern,
String[] types) |
ResultSet |
getTableTypes() |
String |
getTimeDateFunctions() |
ResultSet |
getTypeInfo() |
ResultSet |
getUDTs(String catalog,
String schemaPattern,
String typeNamePattern,
int[] types) |
String |
getURL()
This method returns the effective URL of the connection, which includes all connection properties (even if those properties
were passed in via the Properties argument).
|
String |
getUserName() |
ResultSet |
getVersionColumns(String catalog,
String schema,
String table) |
boolean |
insertsAreDetected(int type) |
boolean |
isCatalogAtStart() |
boolean |
isReadOnly() |
boolean |
isWrapperFor(Class<?> iface) |
boolean |
locatorsUpdateCopy() |
boolean |
nullPlusNonNullIsNull() |
boolean |
nullsAreSortedAtEnd()
Assumed to be false for JCR implementations (meaning that sort order IS used), though section 6.7.37 of JCR 2.0
specification says ordering of null values is implementation-determined.
|
boolean |
nullsAreSortedAtStart()
Assumed to be false for JCR implementations (meaning that sort order IS used), though section 6.7.37 of JCR 2.0
specification says ordering of null values is implementation-determined.
|
boolean |
nullsAreSortedHigh()
Assumed to be false for JCR implementations, though section 6.7.37 of JCR 2.0 specification says ordering of null values is
implementation-determined.
|
boolean |
nullsAreSortedLow()
Assumed to be true for JCR implementations, though section 6.7.37 of JCR 2.0 specification says ordering of null values is
implementation-determined.
|
boolean |
othersDeletesAreVisible(int type) |
boolean |
othersInsertsAreVisible(int type) |
boolean |
othersUpdatesAreVisible(int type) |
boolean |
ownDeletesAreVisible(int type) |
boolean |
ownInsertsAreVisible(int type) |
boolean |
ownUpdatesAreVisible(int type) |
boolean |
storesLowerCaseIdentifiers() |
boolean |
storesLowerCaseQuotedIdentifiers() |
boolean |
storesMixedCaseIdentifiers() |
boolean |
storesMixedCaseQuotedIdentifiers() |
boolean |
storesUpperCaseIdentifiers() |
boolean |
storesUpperCaseQuotedIdentifiers() |
boolean |
supportsAlterTableWithAddColumn() |
boolean |
supportsAlterTableWithDropColumn() |
boolean |
supportsANSI92EntryLevelSQL() |
boolean |
supportsANSI92FullSQL() |
boolean |
supportsANSI92IntermediateSQL() |
boolean |
supportsBatchUpdates() |
boolean |
supportsCatalogsInDataManipulation() |
boolean |
supportsCatalogsInIndexDefinitions() |
boolean |
supportsCatalogsInPrivilegeDefinitions() |
boolean |
supportsCatalogsInProcedureCalls() |
boolean |
supportsCatalogsInTableDefinitions() |
boolean |
supportsColumnAliasing() |
boolean |
supportsConvert() |
boolean |
supportsConvert(int fromType,
int toType) |
boolean |
supportsCoreSQLGrammar() |
boolean |
supportsCorrelatedSubqueries() |
boolean |
supportsDataDefinitionAndDataManipulationTransactions() |
boolean |
supportsDataManipulationTransactionsOnly() |
boolean |
supportsDifferentTableCorrelationNames() |
boolean |
supportsExpressionsInOrderBy() |
boolean |
supportsExtendedSQLGrammar() |
boolean |
supportsFullOuterJoins() |
boolean |
supportsGetGeneratedKeys() |
boolean |
supportsGroupBy() |
boolean |
supportsGroupByBeyondSelect() |
boolean |
supportsGroupByUnrelated() |
boolean |
supportsIntegrityEnhancementFacility() |
boolean |
supportsLikeEscapeClause() |
boolean |
supportsLimitedOuterJoins() |
boolean |
supportsMinimumSQLGrammar() |
boolean |
supportsMixedCaseIdentifiers() |
boolean |
supportsMixedCaseQuotedIdentifiers() |
boolean |
supportsMultipleOpenResults() |
boolean |
supportsMultipleResultSets() |
boolean |
supportsMultipleTransactions() |
boolean |
supportsNamedParameters() |
boolean |
supportsNonNullableColumns() |
boolean |
supportsOpenCursorsAcrossCommit() |
boolean |
supportsOpenCursorsAcrossRollback() |
boolean |
supportsOpenStatementsAcrossCommit() |
boolean |
supportsOpenStatementsAcrossRollback() |
boolean |
supportsOrderByUnrelated() |
boolean |
supportsOuterJoins() |
boolean |
supportsPositionedDelete() |
boolean |
supportsPositionedUpdate() |
boolean |
supportsResultSetConcurrency(int type,
int concurrency) |
boolean |
supportsResultSetHoldability(int holdability) |
boolean |
supportsResultSetType(int type) |
boolean |
supportsSavepoints() |
boolean |
supportsSchemasInDataManipulation() |
boolean |
supportsSchemasInIndexDefinitions() |
boolean |
supportsSchemasInPrivilegeDefinitions() |
boolean |
supportsSchemasInProcedureCalls() |
boolean |
supportsSchemasInTableDefinitions() |
boolean |
supportsSelectForUpdate() |
boolean |
supportsStatementPooling() |
boolean |
supportsStoredFunctionsUsingCallSyntax() |
boolean |
supportsStoredProcedures() |
boolean |
supportsSubqueriesInComparisons() |
boolean |
supportsSubqueriesInExists() |
boolean |
supportsSubqueriesInIns() |
boolean |
supportsSubqueriesInQuantifieds() |
boolean |
supportsTableCorrelationNames() |
boolean |
supportsTransactionIsolationLevel(int level) |
boolean |
supportsTransactions() |
boolean |
supportsUnion() |
boolean |
supportsUnionAll() |
<T> T |
unwrap(Class<T> iface) |
boolean |
updatesAreDetected(int type) |
boolean |
usesLocalFilePerTable() |
boolean |
usesLocalFiles() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMaxLogicalLobSize, supportsRefCursors
protected static final List<PropertyDefinition> PSEUDO_COLUMN_DEFNS
protected static final String WILDCARD
protected static final Integer DEFAULT_ZERO
protected static final int NO_LIMIT
public JcrMetaData(JcrConnection connection)
public ResultSet getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException
Note: This method is part of the JDBC API in JDK 1.7.
getPseudoColumns
in interface DatabaseMetaData
catalog
- schemaPattern
- tableNamePattern
- columnNamePattern
- SQLException
public boolean generatedKeyAlwaysReturned() throws SQLException
Note: This method is part of the JDBC API in JDK 1.7.
generatedKeyAlwaysReturned
in interface DatabaseMetaData
SQLException
public int getDriverMajorVersion()
getDriverMajorVersion
in interface DatabaseMetaData
public int getDriverMinorVersion()
getDriverMinorVersion
in interface DatabaseMetaData
public String getDriverName()
getDriverName
in interface DatabaseMetaData
public String getDriverVersion()
getDriverVersion
in interface DatabaseMetaData
public int getDatabaseMajorVersion()
getDatabaseMajorVersion
in interface DatabaseMetaData
public int getDatabaseMinorVersion()
getDatabaseMinorVersion
in interface DatabaseMetaData
public String getDatabaseProductName()
getDatabaseProductName
in interface DatabaseMetaData
public String getDatabaseProductUrl()
public String getDatabaseProductVersion()
getDatabaseProductVersion
in interface DatabaseMetaData
public int getJDBCMajorVersion()
getJDBCMajorVersion
in interface DatabaseMetaData
public int getJDBCMinorVersion()
getJDBCMinorVersion
in interface DatabaseMetaData
public Connection getConnection()
getConnection
in interface DatabaseMetaData
public boolean isReadOnly()
isReadOnly
in interface DatabaseMetaData
public boolean allProceduresAreCallable()
allProceduresAreCallable
in interface DatabaseMetaData
public boolean allTablesAreSelectable()
allTablesAreSelectable
in interface DatabaseMetaData
public boolean autoCommitFailureClosesAllResultSets()
autoCommitFailureClosesAllResultSets
in interface DatabaseMetaData
public boolean dataDefinitionCausesTransactionCommit()
dataDefinitionCausesTransactionCommit
in interface DatabaseMetaData
public boolean dataDefinitionIgnoredInTransactions()
dataDefinitionIgnoredInTransactions
in interface DatabaseMetaData
public boolean deletesAreDetected(int type)
deletesAreDetected
in interface DatabaseMetaData
public boolean doesMaxRowSizeIncludeBlobs()
doesMaxRowSizeIncludeBlobs
in interface DatabaseMetaData
public ResultSet getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) throws SQLException
getAttributes
in interface DatabaseMetaData
SQLException
public ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLException
getBestRowIdentifier
in interface DatabaseMetaData
SQLException
public String getCatalogSeparator()
getCatalogSeparator
in interface DatabaseMetaData
public String getCatalogTerm()
This driver maps the repository name as the JDBC catalog name. Therefore, this method returns 'Repository' for the catalog term.
getCatalogTerm
in interface DatabaseMetaData
DatabaseMetaData.getCatalogTerm()
public ResultSet getCatalogs() throws SQLException
This driver maps the repository name as the JDBC catalog name. Therefore, this method returns a result set containing only the repository's name.
getCatalogs
in interface DatabaseMetaData
SQLException
DatabaseMetaData.getCatalogs()
public ResultSet getClientInfoProperties() throws SQLException
getClientInfoProperties
in interface DatabaseMetaData
SQLException
public ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) throws SQLException
getColumnPrivileges
in interface DatabaseMetaData
SQLException
public ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException
getColumns
in interface DatabaseMetaData
SQLException
public ResultSet getCrossReference(String parentCatalog, String parentSchema, String parentTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException
getCrossReference
in interface DatabaseMetaData
SQLException
public int getDefaultTransactionIsolation()
getDefaultTransactionIsolation
in interface DatabaseMetaData
public ResultSet getExportedKeys(String catalog, String schema, String table) throws SQLException
This driver maps REFERENCE properties as keys, and therefore it represents as imported keys those REFERENCE properties on the type identified by the table name.
getExportedKeys
in interface DatabaseMetaData
SQLException
DatabaseMetaData.getExportedKeys(java.lang.String, java.lang.String, java.lang.String)
public String getExtraNameCharacters()
getExtraNameCharacters
in interface DatabaseMetaData
public ResultSet getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern) throws SQLException
getFunctionColumns
in interface DatabaseMetaData
SQLException
public ResultSet getFunctions(String catalog, String schemaPattern, String functionNamePattern) throws SQLException
getFunctions
in interface DatabaseMetaData
SQLException
public String getIdentifierQuoteString()
JCR-SQL2 allows identifiers to be surrounded by matching single quotes, double quotes, or opening and closing square brackets. Therefore, this method returns a single-quote character as the quote string.
getIdentifierQuoteString
in interface DatabaseMetaData
DatabaseMetaData.getIdentifierQuoteString()
public ResultSet getImportedKeys(String catalog, String schema, String table) throws SQLException
This driver maps REFERENCE properties as keys, and therefore it represents as imported keys those properties on other types referencing the type identified by the table name.
getImportedKeys
in interface DatabaseMetaData
SQLException
DatabaseMetaData.getImportedKeys(java.lang.String, java.lang.String, java.lang.String)
public ResultSet getIndexInfo(String catalog, String schema, String tableNamePattern, boolean unique, boolean approximate) throws SQLException
getIndexInfo
in interface DatabaseMetaData
SQLException
public int getMaxBinaryLiteralLength()
There is no maximum length of binary literals (or if there is a limit it is not known), so this method returns 0.
getMaxBinaryLiteralLength
in interface DatabaseMetaData
DatabaseMetaData.getMaxBinaryLiteralLength()
public int getMaxCatalogNameLength()
There is no maximum length of the catalog (repository) names - or the limit is not known.
getMaxCatalogNameLength
in interface DatabaseMetaData
DatabaseMetaData.getMaxCatalogNameLength()
public int getMaxCharLiteralLength()
There is no maximum length of character literals (or if there is a limit it is not known), so this method returns 0.
getMaxCharLiteralLength
in interface DatabaseMetaData
DatabaseMetaData.getMaxCharLiteralLength()
public int getMaxColumnNameLength()
There is no maximum length of column names (or if there is a limit it is not known), so this method returns 0.
getMaxColumnNameLength
in interface DatabaseMetaData
DatabaseMetaData.getMaxColumnNameLength()
public int getMaxColumnsInGroupBy()
JCR-SQL2 does not support GROUP BY, so this method returns 0.
getMaxColumnsInGroupBy
in interface DatabaseMetaData
DatabaseMetaData.getMaxColumnsInGroupBy()
public int getMaxColumnsInIndex()
There is no limit to the number of columns in an index (or if there is a limit it is not known), so this method returns 0.
getMaxColumnsInIndex
in interface DatabaseMetaData
DatabaseMetaData.getMaxColumnsInIndex()
public int getMaxColumnsInOrderBy()
There is no limit to the number of columns in an ORDER BY statement (or if there is a limit it is not known), so this method returns 0.
getMaxColumnsInOrderBy
in interface DatabaseMetaData
DatabaseMetaData.getMaxColumnsInOrderBy()
public int getMaxColumnsInSelect()
There is no limit to the number of columns in a select statement (or if there is a limit it is not known), so this method returns 0.
getMaxColumnsInSelect
in interface DatabaseMetaData
DatabaseMetaData.getMaxColumnsInSelect()
public int getMaxColumnsInTable()
There is no limit to the number of columns in a table (or if there is a limit it is not known), so this method returns 0.
getMaxColumnsInTable
in interface DatabaseMetaData
DatabaseMetaData.getMaxColumnsInTable()
public int getMaxConnections()
There is no limit to the number of connections (or if there is a limit it is not known), so this method returns 0.
getMaxConnections
in interface DatabaseMetaData
DatabaseMetaData.getMaxConnections()
public int getMaxCursorNameLength()
There are no cursors (or there is no limit), so this method returns 0.
getMaxCursorNameLength
in interface DatabaseMetaData
DatabaseMetaData.getMaxCursorNameLength()
public int getMaxIndexLength()
There are no indexes (or there is no limit), so this method returns 0.
getMaxIndexLength
in interface DatabaseMetaData
DatabaseMetaData.getMaxIndexLength()
public int getMaxProcedureNameLength()
There are no procedures, so this method returns 0.
getMaxProcedureNameLength
in interface DatabaseMetaData
DatabaseMetaData.getMaxProcedureNameLength()
public int getMaxRowSize()
There is no maximum row size.
getMaxRowSize
in interface DatabaseMetaData
DatabaseMetaData.getMaxRowSize()
public int getMaxSchemaNameLength()
There is no maximum length of the schema (workspace) names - or the limit is not known.
getMaxSchemaNameLength
in interface DatabaseMetaData
DatabaseMetaData.getMaxSchemaNameLength()
public int getMaxStatementLength()
getMaxStatementLength
in interface DatabaseMetaData
public int getMaxStatements()
getMaxStatements
in interface DatabaseMetaData
public int getMaxTableNameLength()
getMaxTableNameLength
in interface DatabaseMetaData
public int getMaxTablesInSelect()
getMaxTablesInSelect
in interface DatabaseMetaData
public int getMaxUserNameLength()
getMaxUserNameLength
in interface DatabaseMetaData
public String getNumericFunctions()
getNumericFunctions
in interface DatabaseMetaData
public ResultSet getPrimaryKeys(String catalog, String schema, String tableNamePattern) throws SQLException
getPrimaryKeys
in interface DatabaseMetaData
SQLException
public ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SQLException
getProcedureColumns
in interface DatabaseMetaData
SQLException
public String getProcedureTerm()
getProcedureTerm
in interface DatabaseMetaData
public ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException
getProcedures
in interface DatabaseMetaData
SQLException
public int getResultSetHoldability()
getResultSetHoldability
in interface DatabaseMetaData
public RowIdLifetime getRowIdLifetime()
getRowIdLifetime
in interface DatabaseMetaData
public String getSQLKeywords()
getSQLKeywords
in interface DatabaseMetaData
public int getSQLStateType()
getSQLStateType
in interface DatabaseMetaData
public String getSchemaTerm()
getSchemaTerm
in interface DatabaseMetaData
public ResultSet getSchemas() throws SQLException
getSchemas
in interface DatabaseMetaData
SQLException
public ResultSet getSchemas(String catalog, String schemaPattern) throws SQLException
getSchemas
in interface DatabaseMetaData
SQLException
public String getSearchStringEscape()
getSearchStringEscape
in interface DatabaseMetaData
public String getStringFunctions()
getStringFunctions
in interface DatabaseMetaData
public ResultSet getSuperTables(String catalog, String schemaPattern, String tableNamePattern) throws SQLException
getSuperTables
in interface DatabaseMetaData
SQLException
public ResultSet getSuperTypes(String catalog, String schemaPattern, String typeNamePattern) throws SQLException
getSuperTypes
in interface DatabaseMetaData
SQLException
public String getSystemFunctions()
getSystemFunctions
in interface DatabaseMetaData
public ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) throws SQLException
getTablePrivileges
in interface DatabaseMetaData
SQLException
public ResultSet getTableTypes() throws SQLException
getTableTypes
in interface DatabaseMetaData
SQLException
public ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types) throws SQLException
getTables
in interface DatabaseMetaData
SQLException
public String getTimeDateFunctions()
getTimeDateFunctions
in interface DatabaseMetaData
public ResultSet getTypeInfo() throws SQLException
getTypeInfo
in interface DatabaseMetaData
SQLException
public ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) throws SQLException
getUDTs
in interface DatabaseMetaData
SQLException
public String getURL()
This method returns the effective URL of the connection, which includes all connection properties (even if those properties were passed in via the Properties argument). Note that each character in the password is replaced with a '*' character.
getURL
in interface DatabaseMetaData
DatabaseMetaData.getURL()
public String getUserName()
getUserName
in interface DatabaseMetaData
public ResultSet getVersionColumns(String catalog, String schema, String table) throws SQLException
getVersionColumns
in interface DatabaseMetaData
SQLException
public boolean insertsAreDetected(int type)
insertsAreDetected
in interface DatabaseMetaData
public boolean isCatalogAtStart()
isCatalogAtStart
in interface DatabaseMetaData
public boolean locatorsUpdateCopy()
locatorsUpdateCopy
in interface DatabaseMetaData
public boolean nullPlusNonNullIsNull()
nullPlusNonNullIsNull
in interface DatabaseMetaData
public boolean nullsAreSortedAtEnd()
Assumed to be false for JCR implementations (meaning that sort order IS used), though section 6.7.37 of JCR 2.0 specification says ordering of null values is implementation-determined.
nullsAreSortedAtEnd
in interface DatabaseMetaData
DatabaseMetaData.nullsAreSortedAtEnd()
public boolean nullsAreSortedAtStart()
Assumed to be false for JCR implementations (meaning that sort order IS used), though section 6.7.37 of JCR 2.0 specification says ordering of null values is implementation-determined.
nullsAreSortedAtStart
in interface DatabaseMetaData
DatabaseMetaData.nullsAreSortedAtStart()
public boolean nullsAreSortedHigh()
Assumed to be false for JCR implementations, though section 6.7.37 of JCR 2.0 specification says ordering of null values is implementation-determined.
nullsAreSortedHigh
in interface DatabaseMetaData
DatabaseMetaData.nullsAreSortedHigh()
public boolean nullsAreSortedLow()
Assumed to be true for JCR implementations, though section 6.7.37 of JCR 2.0 specification says ordering of null values is implementation-determined.
nullsAreSortedLow
in interface DatabaseMetaData
DatabaseMetaData.nullsAreSortedLow()
public boolean othersDeletesAreVisible(int type)
othersDeletesAreVisible
in interface DatabaseMetaData
public boolean othersInsertsAreVisible(int type)
othersInsertsAreVisible
in interface DatabaseMetaData
public boolean othersUpdatesAreVisible(int type)
othersUpdatesAreVisible
in interface DatabaseMetaData
public boolean ownDeletesAreVisible(int type)
ownDeletesAreVisible
in interface DatabaseMetaData
public boolean ownInsertsAreVisible(int type)
ownInsertsAreVisible
in interface DatabaseMetaData
public boolean ownUpdatesAreVisible(int type)
ownUpdatesAreVisible
in interface DatabaseMetaData
public boolean storesLowerCaseIdentifiers()
storesLowerCaseIdentifiers
in interface DatabaseMetaData
public boolean storesLowerCaseQuotedIdentifiers()
storesLowerCaseQuotedIdentifiers
in interface DatabaseMetaData
public boolean storesMixedCaseIdentifiers()
storesMixedCaseIdentifiers
in interface DatabaseMetaData
public boolean storesMixedCaseQuotedIdentifiers()
storesMixedCaseQuotedIdentifiers
in interface DatabaseMetaData
public boolean storesUpperCaseIdentifiers()
storesUpperCaseIdentifiers
in interface DatabaseMetaData
public boolean storesUpperCaseQuotedIdentifiers()
storesUpperCaseQuotedIdentifiers
in interface DatabaseMetaData
public boolean supportsANSI92EntryLevelSQL()
supportsANSI92EntryLevelSQL
in interface DatabaseMetaData
public boolean supportsANSI92FullSQL()
supportsANSI92FullSQL
in interface DatabaseMetaData
public boolean supportsANSI92IntermediateSQL()
supportsANSI92IntermediateSQL
in interface DatabaseMetaData
public boolean supportsAlterTableWithAddColumn()
supportsAlterTableWithAddColumn
in interface DatabaseMetaData
public boolean supportsAlterTableWithDropColumn()
supportsAlterTableWithDropColumn
in interface DatabaseMetaData
public boolean supportsBatchUpdates()
supportsBatchUpdates
in interface DatabaseMetaData
public boolean supportsCatalogsInDataManipulation()
supportsCatalogsInDataManipulation
in interface DatabaseMetaData
public boolean supportsCatalogsInIndexDefinitions()
supportsCatalogsInIndexDefinitions
in interface DatabaseMetaData
public boolean supportsCatalogsInPrivilegeDefinitions()
supportsCatalogsInPrivilegeDefinitions
in interface DatabaseMetaData
public boolean supportsCatalogsInProcedureCalls()
supportsCatalogsInProcedureCalls
in interface DatabaseMetaData
public boolean supportsCatalogsInTableDefinitions()
supportsCatalogsInTableDefinitions
in interface DatabaseMetaData
public boolean supportsColumnAliasing()
supportsColumnAliasing
in interface DatabaseMetaData
public boolean supportsConvert()
supportsConvert
in interface DatabaseMetaData
public boolean supportsConvert(int fromType, int toType)
supportsConvert
in interface DatabaseMetaData
public boolean supportsCoreSQLGrammar()
supportsCoreSQLGrammar
in interface DatabaseMetaData
public boolean supportsCorrelatedSubqueries()
supportsCorrelatedSubqueries
in interface DatabaseMetaData
public boolean supportsDataDefinitionAndDataManipulationTransactions()
supportsDataDefinitionAndDataManipulationTransactions
in interface DatabaseMetaData
public boolean supportsDataManipulationTransactionsOnly()
supportsDataManipulationTransactionsOnly
in interface DatabaseMetaData
public boolean supportsDifferentTableCorrelationNames()
supportsDifferentTableCorrelationNames
in interface DatabaseMetaData
public boolean supportsExpressionsInOrderBy()
supportsExpressionsInOrderBy
in interface DatabaseMetaData
public boolean supportsExtendedSQLGrammar()
supportsExtendedSQLGrammar
in interface DatabaseMetaData
public boolean supportsFullOuterJoins()
supportsFullOuterJoins
in interface DatabaseMetaData
public boolean supportsGetGeneratedKeys()
supportsGetGeneratedKeys
in interface DatabaseMetaData
public boolean supportsGroupBy()
supportsGroupBy
in interface DatabaseMetaData
public boolean supportsGroupByBeyondSelect()
supportsGroupByBeyondSelect
in interface DatabaseMetaData
public boolean supportsGroupByUnrelated()
supportsGroupByUnrelated
in interface DatabaseMetaData
public boolean supportsIntegrityEnhancementFacility()
supportsIntegrityEnhancementFacility
in interface DatabaseMetaData
public boolean supportsLikeEscapeClause()
supportsLikeEscapeClause
in interface DatabaseMetaData
public boolean supportsLimitedOuterJoins()
supportsLimitedOuterJoins
in interface DatabaseMetaData
public boolean supportsMinimumSQLGrammar()
supportsMinimumSQLGrammar
in interface DatabaseMetaData
public boolean supportsMixedCaseIdentifiers()
supportsMixedCaseIdentifiers
in interface DatabaseMetaData
public boolean supportsMixedCaseQuotedIdentifiers()
supportsMixedCaseQuotedIdentifiers
in interface DatabaseMetaData
public boolean supportsMultipleOpenResults()
supportsMultipleOpenResults
in interface DatabaseMetaData
public boolean supportsMultipleResultSets()
supportsMultipleResultSets
in interface DatabaseMetaData
public boolean supportsMultipleTransactions()
supportsMultipleTransactions
in interface DatabaseMetaData
public boolean supportsNamedParameters()
supportsNamedParameters
in interface DatabaseMetaData
public boolean supportsNonNullableColumns()
supportsNonNullableColumns
in interface DatabaseMetaData
public boolean supportsOpenCursorsAcrossCommit()
supportsOpenCursorsAcrossCommit
in interface DatabaseMetaData
public boolean supportsOpenCursorsAcrossRollback()
supportsOpenCursorsAcrossRollback
in interface DatabaseMetaData
public boolean supportsOpenStatementsAcrossCommit()
supportsOpenStatementsAcrossCommit
in interface DatabaseMetaData
public boolean supportsOpenStatementsAcrossRollback()
supportsOpenStatementsAcrossRollback
in interface DatabaseMetaData
public boolean supportsOrderByUnrelated()
supportsOrderByUnrelated
in interface DatabaseMetaData
public boolean supportsOuterJoins()
supportsOuterJoins
in interface DatabaseMetaData
public boolean supportsPositionedDelete()
supportsPositionedDelete
in interface DatabaseMetaData
public boolean supportsPositionedUpdate()
supportsPositionedUpdate
in interface DatabaseMetaData
public boolean supportsResultSetConcurrency(int type, int concurrency)
supportsResultSetConcurrency
in interface DatabaseMetaData
public boolean supportsResultSetHoldability(int holdability)
supportsResultSetHoldability
in interface DatabaseMetaData
public boolean supportsResultSetType(int type)
supportsResultSetType
in interface DatabaseMetaData
public boolean supportsSavepoints()
supportsSavepoints
in interface DatabaseMetaData
public boolean supportsSchemasInDataManipulation()
supportsSchemasInDataManipulation
in interface DatabaseMetaData
public boolean supportsSchemasInIndexDefinitions()
supportsSchemasInIndexDefinitions
in interface DatabaseMetaData
public boolean supportsSchemasInPrivilegeDefinitions()
supportsSchemasInPrivilegeDefinitions
in interface DatabaseMetaData
public boolean supportsSchemasInProcedureCalls()
supportsSchemasInProcedureCalls
in interface DatabaseMetaData
public boolean supportsSchemasInTableDefinitions()
supportsSchemasInTableDefinitions
in interface DatabaseMetaData
public boolean supportsSelectForUpdate()
supportsSelectForUpdate
in interface DatabaseMetaData
public boolean supportsStatementPooling()
supportsStatementPooling
in interface DatabaseMetaData
public boolean supportsStoredFunctionsUsingCallSyntax()
supportsStoredFunctionsUsingCallSyntax
in interface DatabaseMetaData
public boolean supportsStoredProcedures()
supportsStoredProcedures
in interface DatabaseMetaData
public boolean supportsSubqueriesInComparisons()
supportsSubqueriesInComparisons
in interface DatabaseMetaData
public boolean supportsSubqueriesInExists()
supportsSubqueriesInExists
in interface DatabaseMetaData
public boolean supportsSubqueriesInIns()
supportsSubqueriesInIns
in interface DatabaseMetaData
public boolean supportsSubqueriesInQuantifieds()
supportsSubqueriesInQuantifieds
in interface DatabaseMetaData
public boolean supportsTableCorrelationNames()
supportsTableCorrelationNames
in interface DatabaseMetaData
public boolean supportsTransactionIsolationLevel(int level)
supportsTransactionIsolationLevel
in interface DatabaseMetaData
public boolean supportsTransactions()
supportsTransactions
in interface DatabaseMetaData
public boolean supportsUnion()
supportsUnion
in interface DatabaseMetaData
public boolean supportsUnionAll()
supportsUnionAll
in interface DatabaseMetaData
public boolean updatesAreDetected(int type)
updatesAreDetected
in interface DatabaseMetaData
public boolean usesLocalFilePerTable()
usesLocalFilePerTable
in interface DatabaseMetaData
public boolean usesLocalFiles()
usesLocalFiles
in interface DatabaseMetaData
public boolean isWrapperFor(Class<?> iface)
isWrapperFor
in interface Wrapper
public <T> T unwrap(Class<T> iface) throws SQLException
unwrap
in interface Wrapper
SQLException
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.