|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.axiondb.jdbc.AxionDatabaseMetaData
public class AxionDatabaseMetaData
A DatabaseMetaData
implementation.
Field Summary |
---|
Constructor Summary | |
---|---|
AxionDatabaseMetaData(AxionConnection conn,
Database db)
|
Method Summary | ||
---|---|---|
boolean |
allProceduresAreCallable()
Currently returns false . |
|
boolean |
allTablesAreSelectable()
Returns true , since all tables are indeed selectable. |
|
boolean |
autoCommitFailureClosesAllResultSets()
|
|
boolean |
dataDefinitionCausesTransactionCommit()
Returns false , since Axion currently doesn't treat Data Definition
Language (DDL) statements like CREATE or DROP transactionally. |
|
boolean |
dataDefinitionIgnoredInTransactions()
Returns false , since Axion currently doesn't treat Data Definition
Language (DDL) statements like CREATE or DROP transactionally. |
|
boolean |
deletesAreDetected(int type)
Currently not supported. |
|
boolean |
doesMaxRowSizeIncludeBlobs()
Returns false since LOB sizes are not counted in the
maximum row size (which is unbounded anyway). |
|
ResultSet |
getAttributes(String arg0,
String arg1,
String arg2,
String arg3)
Currently unsupported. |
|
ResultSet |
getBestRowIdentifier(String catalog,
String schema,
String table,
int scope,
boolean nullable)
Currently not supported. |
|
ResultSet |
getCatalogs()
Supported. |
|
String |
getCatalogSeparator()
Currently not supported. |
|
String |
getCatalogTerm()
Currently not supported. |
|
ResultSet |
getClientInfoProperties()
|
|
ResultSet |
getColumnPrivileges(String catalog,
String schema,
String table,
String columnNamePattern)
Currently not supported. |
|
ResultSet |
getColumns(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern)
Supported, |
|
Connection |
getConnection()
Returns my Connection . |
|
ResultSet |
getCrossReference(String primaryCatalog,
String primarySchema,
String primaryTable,
String foreignCatalog,
String foreignSchema,
String foreignTable)
Currently not supported. |
|
int |
getDatabaseMajorVersion()
|
|
int |
getDatabaseMinorVersion()
|
|
String |
getDatabaseProductName()
Currently returns " AxionDB ". |
|
String |
getDatabaseProductVersion()
Currently returns " 1.0M1 ". |
|
int |
getDefaultTransactionIsolation()
Returns Connection.TRANSACTION_SERIALIZABLE . |
|
int |
getDriverMajorVersion()
Currently returns 0 . |
|
int |
getDriverMinorVersion()
Currently returns 1 . |
|
String |
getDriverName()
Currently returns " Axion JDBC Driver". |
|
String |
getDriverVersion()
Currently returns " 1.0M1 ". |
|
ResultSet |
getExportedKeys(String catalog,
String schema,
String table)
Currently not supported. |
|
String |
getExtraNameCharacters()
Currently not supported. |
|
ResultSet |
getFunctionColumns(String arg0,
String arg1,
String arg2,
String arg3)
|
|
ResultSet |
getFunctions(String arg0,
String arg1,
String arg2)
|
|
String |
getIdentifierQuoteString()
Returns " as Axion now supports quoted identifiers to allow for
escaping of reserved words for use as table or column identifiers. |
|
ResultSet |
getImportedKeys(String catalog,
String schema,
String table)
Currently not supported. |
|
ResultSet |
getIndexInfo(String catalog,
String schema,
String table,
boolean unique,
boolean approximate)
Partially supported. |
|
int |
getJDBCMajorVersion()
Supported. |
|
int |
getJDBCMinorVersion()
Supported. |
|
int |
getMaxBinaryLiteralLength()
Returns 0 . |
|
int |
getMaxCatalogNameLength()
Returns 0 . |
|
int |
getMaxCharLiteralLength()
Returns 0 . |
|
int |
getMaxColumnNameLength()
Returns Integer.MAX_VALUE , since Axion has no hard limit on the
length of a column name. |
|
int |
getMaxColumnsInGroupBy()
Returns 0. |
|
int |
getMaxColumnsInIndex()
Returns 1 , since Axion currently doesn't support multi-column
indices. |
|
int |
getMaxColumnsInOrderBy()
Returns Integer.MAX_VALUE , the maximum number of columns Axion
can manage in a single ORDER BY clause. |
|
int |
getMaxColumnsInSelect()
Returns Integer.MAX_VALUE , the maximum number of columns Axion
can manage in a single SELECT clause. |
|
int |
getMaxColumnsInTable()
Returns Integer.MAX_VALUE , the maximum number of columns Axion
can manage in a single table. |
|
int |
getMaxConnections()
Returns 0 , since Axion has no hard limit on the number of
connections. |
|
int |
getMaxCursorNameLength()
Returns 0 since named cursors are not supported. |
|
int |
getMaxIndexLength()
Returns 0 . |
|
int |
getMaxProcedureNameLength()
Returns 0 . |
|
int |
getMaxRowSize()
Returns 0 , since Axion has no hard limit on the size of a row. |
|
int |
getMaxSchemaNameLength()
Returns 0 . |
|
int |
getMaxStatementLength()
Returns 0 , since Axion has no hard limit on the size of a
statement. |
|
int |
getMaxStatements()
Returns 0 . |
|
int |
getMaxTableNameLength()
Returns Integer.MAX_VALUE . |
|
int |
getMaxTablesInSelect()
Returns Integer.MAX_VALUE , the maximum number of tables Axion
can manage in a single SELECT statement. |
|
int |
getMaxUserNameLength()
Returns 0 . |
|
String |
getNumericFunctions()
Currently not supported. |
|
ResultSet |
getPrimaryKeys(String catalog,
String schema,
String table)
Currently not supported. |
|
ResultSet |
getProcedureColumns(String catalog,
String schemaPattern,
String procedureNamePattern,
String columnNamePattern)
Currently not supported. |
|
ResultSet |
getProcedures(String catalog,
String schemaPattern,
String procedureNamePattern)
Currently not supported. |
|
String |
getProcedureTerm()
Currently not supported. |
|
int |
getResultSetHoldability()
|
|
RowIdLifetime |
getRowIdLifetime()
|
|
ResultSet |
getSchemas()
Supported. |
|
ResultSet |
getSchemas(String arg0,
String arg1)
|
|
String |
getSchemaTerm()
Currently not supported. |
|
String |
getSearchStringEscape()
Currently not supported. |
|
String |
getSQLKeywords()
Currently not supported. |
|
int |
getSQLStateType()
Currently unsupported. |
|
String |
getStringFunctions()
Currently not supported. |
|
ResultSet |
getSuperTables(String arg0,
String arg1,
String arg2)
Always empty, super tables are currently not supported. |
|
ResultSet |
getSuperTypes(String arg0,
String arg1,
String arg2)
Always empty, super types are currently not supported. |
|
String |
getSystemFunctions()
Currently not supported. |
|
ResultSet |
getTablePrivileges(String catalog,
String schemaPattern,
String tableNamePattern)
Currently not supported. |
|
ResultSet |
getTables(String catalog,
String schemaPattern,
String tableNamePattern,
String[] types)
Supported. |
|
ResultSet |
getTableTypes()
Supported. |
|
String |
getTimeDateFunctions()
Currently not supported. |
|
ResultSet |
getTypeInfo()
Supported. |
|
ResultSet |
getUDTs(String catalog,
String schemaPattern,
String typeNamePattern,
int[] types)
Currently not supported. |
|
String |
getURL()
Returns the connect string used to establish my Connection . |
|
String |
getUserName()
Currently returns null . |
|
ResultSet |
getVersionColumns(String catalog,
String schema,
String table)
Currently not supported. |
|
boolean |
insertsAreDetected(int type)
Retrieves whether or not a visible row insert can be detected by calling the method ResultSet.rowInserted . |
|
boolean |
isCatalogAtStart()
Currently not supported. |
|
boolean |
isReadOnly()
Returns true when this database is known to be read only, false
otherwise. |
|
boolean |
isWrapperFor(Class<?> arg0)
|
|
boolean |
locatorsUpdateCopy()
Currently unsupported. |
|
boolean |
nullPlusNonNullIsNull()
Returns true . |
|
boolean |
nullsAreSortedAtEnd()
Returns false , since null s are considered greater
than any non- null value. |
|
boolean |
nullsAreSortedAtStart()
Returns false , since null s are considered greater
than any non- null value. |
|
boolean |
nullsAreSortedHigh()
Returns true , since null s are considered greater
than any non- null value. |
|
boolean |
nullsAreSortedLow()
Returns false , since null s are considered greater
than any non- null value. |
|
boolean |
othersDeletesAreVisible(int type)
Currently not supported. |
|
boolean |
othersInsertsAreVisible(int type)
Currently not supported. |
|
boolean |
othersUpdatesAreVisible(int type)
Currently not supported. |
|
boolean |
ownDeletesAreVisible(int type)
Retrieves whether for the given type of ResultSet object, the result set's own deletes are visible. |
|
boolean |
ownInsertsAreVisible(int type)
Currently supported. |
|
boolean |
ownUpdatesAreVisible(int type)
Retrieves whether for the given type of ResultSet object, the result set's own updates are visible. |
|
boolean |
storesLowerCaseIdentifiers()
Returns false , since Axion currently ignores case in identifiers,
and stores them internally as upper case values. |
|
boolean |
storesLowerCaseQuotedIdentifiers()
Returns false , since Axion currently ignores case in identifiers,
and stores them internally as upper case values. |
|
boolean |
storesMixedCaseIdentifiers()
Returns false , since Axion currently ignores case in identifiers,
and stores them internally as upper case values. |
|
boolean |
storesMixedCaseQuotedIdentifiers()
Returns false , since Axion currently ignores case in identifiers,
and stores them internally as upper case values. |
|
boolean |
storesUpperCaseIdentifiers()
Returns true , since Axion currently ignores case in identifiers,
and stores them internally as upper case values. |
|
boolean |
storesUpperCaseQuotedIdentifiers()
Returns true . |
|
boolean |
supportsAlterTableWithAddColumn()
Returns true as this feature is currently supported. |
|
boolean |
supportsAlterTableWithDropColumn()
Returns false as this feature is currently not supported. |
|
boolean |
supportsANSI92EntryLevelSQL()
Supported. |
|
boolean |
supportsANSI92FullSQL()
Currently not supported. |
|
boolean |
supportsANSI92IntermediateSQL()
Currently not supported. |
|
boolean |
supportsBatchUpdates()
Returns true , since Axion supports addBatch,clearBatch and
executeBatch. |
|
boolean |
supportsCatalogsInDataManipulation()
Returns false as this feature is currently not supported. |
|
boolean |
supportsCatalogsInIndexDefinitions()
Returns false as this feature is currently not supported. |
|
boolean |
supportsCatalogsInPrivilegeDefinitions()
Returns false as this feature is currently not supported. |
|
boolean |
supportsCatalogsInProcedureCalls()
Returns false as this feature is currently not supported. |
|
boolean |
supportsCatalogsInTableDefinitions()
Returns false as this feature is currently not supported. |
|
boolean |
supportsColumnAliasing()
Returns true , since Axion supports column aliasing. |
|
boolean |
supportsConvert()
Returns true ; use CAST(col AS type) |
|
boolean |
supportsConvert(int fromType,
int toType)
Returns false as this feature is currently not supported. |
|
boolean |
supportsCoreSQLGrammar()
Currently not supported. |
|
boolean |
supportsCorrelatedSubqueries()
Returns true . |
|
boolean |
supportsDataDefinitionAndDataManipulationTransactions()
Returns false , since Axion currently doesn't treat Data Definition
Language (DDL) statements like CREATE or DROP transactionally. |
|
boolean |
supportsDataManipulationTransactionsOnly()
Returns true . |
|
boolean |
supportsDifferentTableCorrelationNames()
Returns true as Axion supports table aliasing. |
|
boolean |
supportsExpressionsInOrderBy()
Returns true . |
|
boolean |
supportsExtendedSQLGrammar()
Currently not supported. |
|
boolean |
supportsFullOuterJoins()
Returns false . |
|
boolean |
supportsGetGeneratedKeys()
Currently always false. |
|
boolean |
supportsGroupBy()
Is some form of "GROUP BY" clause supported? Returns true |
|
boolean |
supportsGroupByBeyondSelect()
Can a "GROUP BY" clause add columns not in the SELECT provided it specifies all the columns in the SELECT? Returns true |
|
boolean |
supportsGroupByUnrelated()
Can a "GROUP BY" clause use columns not in the SELECT? Returns true |
|
boolean |
supportsIntegrityEnhancementFacility()
Currently not supported. |
|
boolean |
supportsLikeEscapeClause()
Supported. |
|
boolean |
supportsLimitedOuterJoins()
Returns true . |
|
boolean |
supportsMinimumSQLGrammar()
Returns true as Axion supports the "ODBC
Minimum SQL Grammar" . |
|
boolean |
supportsMixedCaseIdentifiers()
Returns false , since Axion currently ignores case in identifiers. |
|
boolean |
supportsMixedCaseQuotedIdentifiers()
Returns false , since Axion currently ignores case in identifiers. |
|
boolean |
supportsMultipleOpenResults()
Currently always false. |
|
boolean |
supportsMultipleResultSets()
Returns false as this feature is currently unsupported. |
|
boolean |
supportsMultipleTransactions()
Returns true , Axion supports multiple transactions. |
|
boolean |
supportsNamedParameters()
Currently always false. |
|
boolean |
supportsNonNullableColumns()
Returns true , Axion supports NOT NULL constraints. |
|
boolean |
supportsOpenCursorsAcrossCommit()
Returns false . |
|
boolean |
supportsOpenCursorsAcrossRollback()
Returns false . |
|
boolean |
supportsOpenStatementsAcrossCommit()
Returns true . |
|
boolean |
supportsOpenStatementsAcrossRollback()
Returns true . |
|
boolean |
supportsOrderByUnrelated()
Returns true , since Axion allows arbitrary columns in an ORDER BY. |
|
boolean |
supportsOuterJoins()
Returns true . |
|
boolean |
supportsPositionedDelete()
Returns true since this feature is currently supported. |
|
boolean |
supportsPositionedUpdate()
Returns true since this feature is currently supported. |
|
boolean |
supportsResultSetConcurrency(int type,
int concurrency)
Returns true iff type is supported and concurrency
is ResultSet.CONCUR_READ_ONLY or ResultSet.CONCUR_UPDATABLE . |
|
boolean |
supportsResultSetHoldability(int code)
|
|
boolean |
supportsResultSetType(int type)
Returns true iff type is ResultSet.TYPE_FORWARD_ONLY
or ResultSet.TYPE_SCROLL_SENSITIVE . |
|
boolean |
supportsSavepoints()
Currently always false. |
|
boolean |
supportsSchemasInDataManipulation()
Returns false as this feature is currently not supported. |
|
boolean |
supportsSchemasInIndexDefinitions()
Returns false as this feature is currently not supported. |
|
boolean |
supportsSchemasInPrivilegeDefinitions()
Currently not supported. |
|
boolean |
supportsSchemasInProcedureCalls()
Returns false as this feature is currently not supported. |
|
boolean |
supportsSchemasInTableDefinitions()
Currently not supported. |
|
boolean |
supportsSelectForUpdate()
Returns false as this feature is currently not supported. |
|
boolean |
supportsStatementPooling()
Currently always false. |
|
boolean |
supportsStoredFunctionsUsingCallSyntax()
|
|
boolean |
supportsStoredProcedures()
Returns false as this feature is currently not supported. |
|
boolean |
supportsSubqueriesInComparisons()
Returns true since you could use id = {sub-select}. |
|
boolean |
supportsSubqueriesInExists()
Returns true |
|
boolean |
supportsSubqueriesInIns()
Returns true |
|
boolean |
supportsSubqueriesInQuantifieds()
Returns true as this feature is currently supported. |
|
boolean |
supportsTableCorrelationNames()
Returns true as Axion supports table aliasing. |
|
boolean |
supportsTransactionIsolationLevel(int level)
Returns true iff level is
Connection.TRANSACTION_SERIALIZABLE since Axion supports
TRANSACTION_SERIALIZABLE transactions only. |
|
boolean |
supportsTransactions()
Returns true , since Axion supports transactions. |
|
boolean |
supportsUnion()
Returns false since UNION queries are currently not supported.. |
|
boolean |
supportsUnionAll()
Returns false as this feature is currently not supported. |
|
|
unwrap(Class<T> arg0)
|
|
boolean |
updatesAreDetected(int type)
Retrieves whether or not a visible row update can be detected by calling the method ResultSet.rowUpdated . |
|
boolean |
usesLocalFilePerTable()
Returns false , since the driver does not require local files |
|
boolean |
usesLocalFiles()
Returns false , since the driver does not require local files |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AxionDatabaseMetaData(AxionConnection conn, Database db)
Method Detail |
---|
public String getDatabaseProductName() throws SQLException
AxionDB
".
getDatabaseProductName
in interface DatabaseMetaData
SQLException
public String getDatabaseProductVersion() throws SQLException
1.0M1
".
getDatabaseProductVersion
in interface DatabaseMetaData
SQLException
public String getDriverName() throws SQLException
Axion JDBC Driver".
- Specified by:
getDriverName
in interface DatabaseMetaData
- Throws:
SQLException
public String getDriverVersion() throws SQLException
1.0M1
".
getDriverVersion
in interface DatabaseMetaData
SQLException
public int getDriverMajorVersion()
0
.
getDriverMajorVersion
in interface DatabaseMetaData
public int getDriverMinorVersion()
1
.
getDriverMinorVersion
in interface DatabaseMetaData
public String getUserName() throws SQLException
null
.
getUserName
in interface DatabaseMetaData
SQLException
public boolean allProceduresAreCallable() throws SQLException
false
.
allProceduresAreCallable
in interface DatabaseMetaData
SQLException
public boolean allTablesAreSelectable() throws SQLException
true
, since all tables are indeed selectable.
allTablesAreSelectable
in interface DatabaseMetaData
SQLException
public boolean isReadOnly() throws SQLException
true
when this database is known to be read only, false
otherwise.
isReadOnly
in interface DatabaseMetaData
SQLException
public boolean supportsMixedCaseIdentifiers() throws SQLException
false
, since Axion currently ignores case in identifiers.
supportsMixedCaseIdentifiers
in interface DatabaseMetaData
SQLException
public boolean supportsColumnAliasing() throws SQLException
true
, since Axion supports column aliasing.
supportsColumnAliasing
in interface DatabaseMetaData
SQLException
public boolean supportsBatchUpdates() throws SQLException
true
, since Axion supports addBatch,clearBatch and
executeBatch.
supportsBatchUpdates
in interface DatabaseMetaData
SQLException
public Connection getConnection() throws SQLException
Connection
.
getConnection
in interface DatabaseMetaData
SQLException
public boolean nullsAreSortedHigh() throws SQLException
true
, since null
s are considered greater
than any non- null
value.
nullsAreSortedHigh
in interface DatabaseMetaData
SQLException
public boolean nullsAreSortedLow() throws SQLException
false
, since null
s are considered greater
than any non- null
value.
nullsAreSortedLow
in interface DatabaseMetaData
SQLException
nullsAreSortedHigh()
public boolean nullsAreSortedAtStart() throws SQLException
false
, since null
s are considered greater
than any non- null
value.
nullsAreSortedAtStart
in interface DatabaseMetaData
SQLException
nullsAreSortedHigh()
public boolean nullsAreSortedAtEnd() throws SQLException
false
, since null
s are considered greater
than any non- null
value.
nullsAreSortedAtEnd
in interface DatabaseMetaData
SQLException
nullsAreSortedHigh()
public boolean storesLowerCaseIdentifiers() throws SQLException
false
, since Axion currently ignores case in identifiers,
and stores them internally as upper case values.
storesLowerCaseIdentifiers
in interface DatabaseMetaData
SQLException
public boolean supportsMixedCaseQuotedIdentifiers() throws SQLException
false
, since Axion currently ignores case in identifiers.
supportsMixedCaseQuotedIdentifiers
in interface DatabaseMetaData
SQLException
public boolean storesMixedCaseQuotedIdentifiers() throws SQLException
false
, since Axion currently ignores case in identifiers,
and stores them internally as upper case values.
storesMixedCaseQuotedIdentifiers
in interface DatabaseMetaData
SQLException
public boolean storesUpperCaseIdentifiers() throws SQLException
true
, since Axion currently ignores case in identifiers,
and stores them internally as upper case values.
storesUpperCaseIdentifiers
in interface DatabaseMetaData
SQLException
public boolean storesLowerCaseQuotedIdentifiers() throws SQLException
false
, since Axion currently ignores case in identifiers,
and stores them internally as upper case values. Quoted identifiers are also
currently unsupported.
storesLowerCaseQuotedIdentifiers
in interface DatabaseMetaData
SQLException
public boolean storesMixedCaseIdentifiers() throws SQLException
false
, since Axion currently ignores case in identifiers,
and stores them internally as upper case values.
storesMixedCaseIdentifiers
in interface DatabaseMetaData
SQLException
public int getMaxRowSize() throws SQLException
0
, since Axion has no hard limit on the size of a row.
getMaxRowSize
in interface DatabaseMetaData
SQLException
public int getMaxStatementLength() throws SQLException
0
, since Axion has no hard limit on the size of a
statement.
getMaxStatementLength
in interface DatabaseMetaData
SQLException
public int getMaxConnections() throws SQLException
0
, since Axion has no hard limit on the number of
connections.
getMaxConnections
in interface DatabaseMetaData
SQLException
public int getMaxColumnNameLength() throws SQLException
Integer.MAX_VALUE
, since Axion has no hard limit on the
length of a column name.
getMaxColumnNameLength
in interface DatabaseMetaData
SQLException
public int getMaxColumnsInIndex() throws SQLException
1
, since Axion currently doesn't support multi-column
indices.
getMaxColumnsInIndex
in interface DatabaseMetaData
SQLException
public int getMaxTablesInSelect() throws SQLException
Integer.MAX_VALUE
, the maximum number of tables Axion
can manage in a single SELECT statement.
getMaxTablesInSelect
in interface DatabaseMetaData
SQLException
public int getMaxColumnsInOrderBy() throws SQLException
Integer.MAX_VALUE
, the maximum number of columns Axion
can manage in a single ORDER BY clause.
getMaxColumnsInOrderBy
in interface DatabaseMetaData
SQLException
public int getMaxColumnsInSelect() throws SQLException
Integer.MAX_VALUE
, the maximum number of columns Axion
can manage in a single SELECT clause.
getMaxColumnsInSelect
in interface DatabaseMetaData
SQLException
public int getMaxColumnsInTable() throws SQLException
Integer.MAX_VALUE
, the maximum number of columns Axion
can manage in a single table.
getMaxColumnsInTable
in interface DatabaseMetaData
SQLException
public int getMaxColumnsInGroupBy() throws SQLException
getMaxColumnsInGroupBy
in interface DatabaseMetaData
SQLException
public boolean supportsUnion() throws SQLException
false
since UNION queries are currently not supported..
supportsUnion
in interface DatabaseMetaData
SQLException
public int getMaxSchemaNameLength() throws SQLException
0
.
getMaxSchemaNameLength
in interface DatabaseMetaData
SQLException
public int getMaxStatements() throws SQLException
0
.
getMaxStatements
in interface DatabaseMetaData
SQLException
public int getMaxTableNameLength() throws SQLException
Integer.MAX_VALUE
.
getMaxTableNameLength
in interface DatabaseMetaData
SQLException
public int getMaxUserNameLength() throws SQLException
0
.
getMaxUserNameLength
in interface DatabaseMetaData
SQLException
public int getMaxBinaryLiteralLength() throws SQLException
0
.
getMaxBinaryLiteralLength
in interface DatabaseMetaData
SQLException
public int getMaxCharLiteralLength() throws SQLException
0
.
getMaxCharLiteralLength
in interface DatabaseMetaData
SQLException
public int getMaxIndexLength() throws SQLException
0
.
getMaxIndexLength
in interface DatabaseMetaData
SQLException
public int getMaxProcedureNameLength() throws SQLException
0
.
getMaxProcedureNameLength
in interface DatabaseMetaData
SQLException
public int getMaxCatalogNameLength() throws SQLException
0
.
getMaxCatalogNameLength
in interface DatabaseMetaData
SQLException
public int getDefaultTransactionIsolation() throws SQLException
Connection.TRANSACTION_SERIALIZABLE
.
getDefaultTransactionIsolation
in interface DatabaseMetaData
SQLException
public String getURL() throws SQLException
Connection
.
getURL
in interface DatabaseMetaData
SQLException
public boolean supportsSelectForUpdate() throws SQLException
false
as this feature is currently not supported.
supportsSelectForUpdate
in interface DatabaseMetaData
SQLException
public boolean supportsStoredProcedures() throws SQLException
false
as this feature is currently not supported.
supportsStoredProcedures
in interface DatabaseMetaData
SQLException
public boolean supportsSubqueriesInComparisons() throws SQLException
true
since you could use id = {sub-select}.
supportsSubqueriesInComparisons
in interface DatabaseMetaData
SQLException
public boolean supportsSubqueriesInExists() throws SQLException
true
supportsSubqueriesInExists
in interface DatabaseMetaData
SQLException
public boolean supportsSubqueriesInIns() throws SQLException
true
supportsSubqueriesInIns
in interface DatabaseMetaData
SQLException
public boolean supportsSubqueriesInQuantifieds() throws SQLException
true
as this feature is currently supported.
supportsSubqueriesInQuantifieds
in interface DatabaseMetaData
SQLException
public boolean supportsAlterTableWithDropColumn() throws SQLException
false
as this feature is currently not supported.
supportsAlterTableWithDropColumn
in interface DatabaseMetaData
SQLException
public boolean supportsAlterTableWithAddColumn() throws SQLException
true
as this feature is currently supported.
supportsAlterTableWithAddColumn
in interface DatabaseMetaData
SQLException
public boolean supportsSchemasInDataManipulation() throws SQLException
false
as this feature is currently not supported.
supportsSchemasInDataManipulation
in interface DatabaseMetaData
SQLException
public boolean supportsSchemasInProcedureCalls() throws SQLException
false
as this feature is currently not supported.
supportsSchemasInProcedureCalls
in interface DatabaseMetaData
SQLException
public boolean supportsSchemasInIndexDefinitions() throws SQLException
false
as this feature is currently not supported.
supportsSchemasInIndexDefinitions
in interface DatabaseMetaData
SQLException
public boolean supportsCatalogsInDataManipulation() throws SQLException
false
as this feature is currently not supported.
supportsCatalogsInDataManipulation
in interface DatabaseMetaData
SQLException
public boolean supportsCatalogsInProcedureCalls() throws SQLException
false
as this feature is currently not supported.
supportsCatalogsInProcedureCalls
in interface DatabaseMetaData
SQLException
public boolean supportsCatalogsInTableDefinitions() throws SQLException
false
as this feature is currently not supported.
supportsCatalogsInTableDefinitions
in interface DatabaseMetaData
SQLException
public boolean supportsCatalogsInIndexDefinitions() throws SQLException
false
as this feature is currently not supported.
supportsCatalogsInIndexDefinitions
in interface DatabaseMetaData
SQLException
public boolean supportsCatalogsInPrivilegeDefinitions() throws SQLException
false
as this feature is currently not supported.
supportsCatalogsInPrivilegeDefinitions
in interface DatabaseMetaData
SQLException
public boolean supportsGroupBy() throws SQLException
true
supportsGroupBy
in interface DatabaseMetaData
SQLException
public boolean supportsGroupByUnrelated() throws SQLException
true
supportsGroupByUnrelated
in interface DatabaseMetaData
SQLException
public boolean supportsGroupByBeyondSelect() throws SQLException
true
supportsGroupByBeyondSelect
in interface DatabaseMetaData
SQLException
public boolean supportsOuterJoins() throws SQLException
true
.
supportsOuterJoins
in interface DatabaseMetaData
SQLException
public boolean supportsFullOuterJoins() throws SQLException
false
.
supportsFullOuterJoins
in interface DatabaseMetaData
SQLException
public boolean supportsLimitedOuterJoins() throws SQLException
true
.
supportsLimitedOuterJoins
in interface DatabaseMetaData
SQLException
public boolean supportsOrderByUnrelated() throws SQLException
true
, since Axion allows arbitrary columns in an ORDER BY.
supportsOrderByUnrelated
in interface DatabaseMetaData
SQLException
public boolean supportsTransactions() throws SQLException
true
, since Axion supports transactions.
supportsTransactions
in interface DatabaseMetaData
SQLException
public boolean supportsTransactionIsolationLevel(int level) throws SQLException
true
iff level is
Connection.TRANSACTION_SERIALIZABLE
since Axion supports
TRANSACTION_SERIALIZABLE transactions only.
supportsTransactionIsolationLevel
in interface DatabaseMetaData
SQLException
public boolean supportsConvert() throws SQLException
true
; use CAST(col AS type)
supportsConvert
in interface DatabaseMetaData
SQLException
public boolean supportsConvert(int fromType, int toType) throws SQLException
false
as this feature is currently not supported.
supportsConvert
in interface DatabaseMetaData
SQLException
public boolean supportsUnionAll() throws SQLException
false
as this feature is currently not supported.
supportsUnionAll
in interface DatabaseMetaData
SQLException
public boolean supportsTableCorrelationNames() throws SQLException
true
as Axion supports table aliasing.
supportsTableCorrelationNames
in interface DatabaseMetaData
SQLException
public boolean supportsDifferentTableCorrelationNames() throws SQLException
true
as Axion supports table aliasing.
supportsDifferentTableCorrelationNames
in interface DatabaseMetaData
SQLException
public boolean storesUpperCaseQuotedIdentifiers() throws SQLException
true
.
storesUpperCaseQuotedIdentifiers
in interface DatabaseMetaData
SQLException
public boolean supportsMinimumSQLGrammar() throws SQLException
true
as Axion supports the "ODBC
Minimum SQL Grammar" . Namely:
CREATE TABLE base-table-name (column-identifier data-type [,column-identifier data-type]*) DELETE FROM table-name [WHERE search-condition] DROP TABLE base-table-name INSERT INTO table-name [( column-identifier [, column-identifier]...)] VALUES (insert-value[, insert-value]... ) SELECT [ALL | DISTINCT] select-list FROM table-reference-list [WHERE search-condition] [order-by-clause] UPDATE table-name SET column-identifier = {expression | NULL } [, column-identifier = {expression | NULL}]* [WHERE search-condition]
supportsMinimumSQLGrammar
in interface DatabaseMetaData
SQLException
public boolean nullPlusNonNullIsNull() throws SQLException
true
.
nullPlusNonNullIsNull
in interface DatabaseMetaData
SQLException
public ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException
getColumns
in interface DatabaseMetaData
SQLException
public ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types) throws SQLException
getTables
in interface DatabaseMetaData
SQLException
public ResultSet getSchemas() throws SQLException
getSchemas
in interface DatabaseMetaData
SQLException
public ResultSet getCatalogs() throws SQLException
getCatalogs
in interface DatabaseMetaData
SQLException
public ResultSet getTableTypes() throws SQLException
getTableTypes
in interface DatabaseMetaData
SQLException
public ResultSet getTypeInfo() throws SQLException
getTypeInfo
in interface DatabaseMetaData
SQLException
public boolean supportsMultipleResultSets() throws SQLException
false
as this feature is currently unsupported.
supportsMultipleResultSets
in interface DatabaseMetaData
SQLException
public boolean supportsMultipleTransactions() throws SQLException
true
, Axion supports multiple transactions.
supportsMultipleTransactions
in interface DatabaseMetaData
SQLException
public boolean supportsNonNullableColumns() throws SQLException
true
, Axion supports NOT NULL constraints.
supportsNonNullableColumns
in interface DatabaseMetaData
SQLException
public boolean supportsDataManipulationTransactionsOnly() throws SQLException
true
.
supportsDataManipulationTransactionsOnly
in interface DatabaseMetaData
SQLException
public boolean supportsOpenCursorsAcrossCommit() throws SQLException
false
. Closing a transaction will close any open
ResultSets.
supportsOpenCursorsAcrossCommit
in interface DatabaseMetaData
SQLException
public boolean supportsOpenCursorsAcrossRollback() throws SQLException
false
. Closing a transaction will close any open
ResultSets.
supportsOpenCursorsAcrossRollback
in interface DatabaseMetaData
SQLException
public boolean supportsOpenStatementsAcrossCommit() throws SQLException
true
. Statements remain valid accross a transaction
boundary.
supportsOpenStatementsAcrossCommit
in interface DatabaseMetaData
SQLException
public boolean supportsOpenStatementsAcrossRollback() throws SQLException
true
. Statements remain valid accross a transaction
boundary.
supportsOpenStatementsAcrossRollback
in interface DatabaseMetaData
SQLException
public boolean supportsDataDefinitionAndDataManipulationTransactions() throws SQLException
false
, since Axion currently doesn't treat Data Definition
Language (DDL) statements like CREATE or DROP transactionally.
supportsDataDefinitionAndDataManipulationTransactions
in interface DatabaseMetaData
SQLException
public boolean dataDefinitionCausesTransactionCommit() throws SQLException
false
, since Axion currently doesn't treat Data Definition
Language (DDL) statements like CREATE or DROP transactionally.
dataDefinitionCausesTransactionCommit
in interface DatabaseMetaData
SQLException
public boolean dataDefinitionIgnoredInTransactions() throws SQLException
false
, since Axion currently doesn't treat Data Definition
Language (DDL) statements like CREATE or DROP transactionally.
dataDefinitionIgnoredInTransactions
in interface DatabaseMetaData
SQLException
public boolean doesMaxRowSizeIncludeBlobs() throws SQLException
false
since LOB sizes are not counted in the
maximum row size
(which is unbounded anyway).
doesMaxRowSizeIncludeBlobs
in interface DatabaseMetaData
SQLException
public boolean usesLocalFiles() throws SQLException
false
, since the driver does not require local files
usesLocalFiles
in interface DatabaseMetaData
SQLException
public boolean usesLocalFilePerTable() throws SQLException
false
, since the driver does not require local files
usesLocalFilePerTable
in interface DatabaseMetaData
SQLException
public boolean supportsExpressionsInOrderBy() throws SQLException
true
.
supportsExpressionsInOrderBy
in interface DatabaseMetaData
SQLException
public boolean supportsCorrelatedSubqueries() throws SQLException
true
.
supportsCorrelatedSubqueries
in interface DatabaseMetaData
SQLException
public boolean supportsPositionedDelete() throws SQLException
true
since this feature is currently supported.
supportsPositionedDelete
in interface DatabaseMetaData
SQLException
public boolean supportsPositionedUpdate() throws SQLException
true
since this feature is currently supported.
supportsPositionedUpdate
in interface DatabaseMetaData
SQLException
public int getMaxCursorNameLength() throws SQLException
0
since named cursors are not supported.
getMaxCursorNameLength
in interface DatabaseMetaData
SQLException
public String getIdentifierQuoteString() throws SQLException
"
as Axion now supports quoted identifiers to allow for
escaping of reserved words for use as table or column identifiers.
getIdentifierQuoteString
in interface DatabaseMetaData
SQLException
public boolean supportsResultSetConcurrency(int type, int concurrency) throws SQLException
true
iff type is supported and concurrency
is ResultSet.CONCUR_READ_ONLY
or ResultSet.CONCUR_UPDATABLE
.
supportsResultSetConcurrency
in interface DatabaseMetaData
type
- ResultSet type to testconcurrency
- ResultSet concurrency to test
SQLException
public boolean supportsResultSetType(int type) throws SQLException
true
iff type is ResultSet.TYPE_FORWARD_ONLY
or ResultSet.TYPE_SCROLL_SENSITIVE
.
supportsResultSetType
in interface DatabaseMetaData
type
- ResultSet type to test
SQLException
public boolean supportsANSI92EntryLevelSQL() throws SQLException
supportsANSI92EntryLevelSQL
in interface DatabaseMetaData
SQLException
public boolean supportsLikeEscapeClause() throws SQLException
supportsLikeEscapeClause
in interface DatabaseMetaData
SQLException
public boolean supportsCoreSQLGrammar() throws SQLException
supportsCoreSQLGrammar
in interface DatabaseMetaData
SQLException
public ResultSet getPrimaryKeys(String catalog, String schema, String table) throws SQLException
getPrimaryKeys
in interface DatabaseMetaData
SQLException
public ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException
getIndexInfo
in interface DatabaseMetaData
SQLException
public String getNumericFunctions() throws SQLException
getNumericFunctions
in interface DatabaseMetaData
SQLException
public String getSystemFunctions() throws SQLException
getSystemFunctions
in interface DatabaseMetaData
SQLException
public String getSQLKeywords() throws SQLException
getSQLKeywords
in interface DatabaseMetaData
SQLException
public String getSearchStringEscape() throws SQLException
getSearchStringEscape
in interface DatabaseMetaData
SQLException
public String getStringFunctions() throws SQLException
getStringFunctions
in interface DatabaseMetaData
SQLException
public String getTimeDateFunctions() throws SQLException
getTimeDateFunctions
in interface DatabaseMetaData
SQLException
public String getExtraNameCharacters() throws SQLException
getExtraNameCharacters
in interface DatabaseMetaData
SQLException
public boolean supportsSchemasInTableDefinitions() throws SQLException
supportsSchemasInTableDefinitions
in interface DatabaseMetaData
SQLException
public boolean supportsExtendedSQLGrammar() throws SQLException
supportsExtendedSQLGrammar
in interface DatabaseMetaData
SQLException
public boolean supportsSchemasInPrivilegeDefinitions() throws SQLException
supportsSchemasInPrivilegeDefinitions
in interface DatabaseMetaData
SQLException
public boolean supportsANSI92IntermediateSQL() throws SQLException
supportsANSI92IntermediateSQL
in interface DatabaseMetaData
SQLException
public boolean supportsANSI92FullSQL() throws SQLException
supportsANSI92FullSQL
in interface DatabaseMetaData
SQLException
public boolean supportsIntegrityEnhancementFacility() throws SQLException
supportsIntegrityEnhancementFacility
in interface DatabaseMetaData
SQLException
public String getSchemaTerm() throws SQLException
getSchemaTerm
in interface DatabaseMetaData
SQLException
public String getProcedureTerm() throws SQLException
getProcedureTerm
in interface DatabaseMetaData
SQLException
public String getCatalogTerm() throws SQLException
getCatalogTerm
in interface DatabaseMetaData
SQLException
public boolean isCatalogAtStart() throws SQLException
isCatalogAtStart
in interface DatabaseMetaData
SQLException
public String getCatalogSeparator() throws SQLException
getCatalogSeparator
in interface DatabaseMetaData
SQLException
public ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException
getProcedures
in interface DatabaseMetaData
SQLException
public ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SQLException
getProcedureColumns
in interface DatabaseMetaData
SQLException
public ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) throws SQLException
getColumnPrivileges
in interface DatabaseMetaData
SQLException
public ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) throws SQLException
getTablePrivileges
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 ResultSet getVersionColumns(String catalog, String schema, String table) throws SQLException
getVersionColumns
in interface DatabaseMetaData
SQLException
public ResultSet getImportedKeys(String catalog, String schema, String table) throws SQLException
getImportedKeys
in interface DatabaseMetaData
SQLException
public ResultSet getExportedKeys(String catalog, String schema, String table) throws SQLException
getExportedKeys
in interface DatabaseMetaData
SQLException
public ResultSet getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException
getCrossReference
in interface DatabaseMetaData
SQLException
public boolean ownUpdatesAreVisible(int type) throws SQLException
ownUpdatesAreVisible
in interface DatabaseMetaData
type
- the ResultSet type; one of ResultSet.TYPE_FORWARD_ONLY
,
ResultSet.TYPE_SCROLL_INSENSITIVE
, or SQLException
- if a database access error occurspublic boolean ownDeletesAreVisible(int type) throws SQLException
ownDeletesAreVisible
in interface DatabaseMetaData
type
- the ResultSet type; one of ResultSet.TYPE_FORWARD_ONLY
,
ResultSet.TYPE_SCROLL_INSENSITIVE
, or SQLException
- if a database access error occurspublic boolean ownInsertsAreVisible(int type) throws SQLException
ownInsertsAreVisible
in interface DatabaseMetaData
SQLException
public boolean othersUpdatesAreVisible(int type) throws SQLException
othersUpdatesAreVisible
in interface DatabaseMetaData
SQLException
public boolean othersDeletesAreVisible(int type) throws SQLException
othersDeletesAreVisible
in interface DatabaseMetaData
SQLException
public boolean othersInsertsAreVisible(int type) throws SQLException
othersInsertsAreVisible
in interface DatabaseMetaData
SQLException
public boolean updatesAreDetected(int type) throws SQLException
ResultSet.rowUpdated
. As ResultSet.rowUpdated is not supported, this method
should return false.
updatesAreDetected
in interface DatabaseMetaData
type
- the ResultSet type; one of ResultSet.TYPE_FORWARD_ONLY
,
ResultSet.TYPE_SCROLL_INSENSITIVE
, or SQLException
- if a database access error occurspublic boolean deletesAreDetected(int type) throws SQLException
deletesAreDetected
in interface DatabaseMetaData
SQLException
public boolean insertsAreDetected(int type) throws SQLException
ResultSet.rowInserted
. As ResultSet.rowInserted is not supported, this method
should return false.
insertsAreDetected
in interface DatabaseMetaData
type
- the ResultSet type; one of ResultSet.TYPE_FORWARD_ONLY
,
ResultSet.TYPE_SCROLL_INSENSITIVE
, or SQLException
- if a database access error occurspublic ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) throws SQLException
getUDTs
in interface DatabaseMetaData
SQLException
public int getDatabaseMajorVersion() throws SQLException
getDatabaseMajorVersion
in interface DatabaseMetaData
SQLException
public int getDatabaseMinorVersion() throws SQLException
getDatabaseMinorVersion
in interface DatabaseMetaData
SQLException
public ResultSet getSuperTables(String arg0, String arg1, String arg2) throws SQLException
getSuperTables
in interface DatabaseMetaData
SQLException
public ResultSet getSuperTypes(String arg0, String arg1, String arg2) throws SQLException
getSuperTypes
in interface DatabaseMetaData
SQLException
public boolean supportsGetGeneratedKeys() throws SQLException
supportsGetGeneratedKeys
in interface DatabaseMetaData
SQLException
public boolean supportsMultipleOpenResults() throws SQLException
supportsMultipleOpenResults
in interface DatabaseMetaData
SQLException
public boolean supportsNamedParameters() throws SQLException
supportsNamedParameters
in interface DatabaseMetaData
SQLException
public boolean supportsSavepoints() throws SQLException
supportsSavepoints
in interface DatabaseMetaData
SQLException
public boolean supportsStatementPooling() throws SQLException
supportsStatementPooling
in interface DatabaseMetaData
SQLException
public int getResultSetHoldability() throws SQLException
getResultSetHoldability
in interface DatabaseMetaData
SQLException
public boolean supportsResultSetHoldability(int code) throws SQLException
supportsResultSetHoldability
in interface DatabaseMetaData
SQLException
public ResultSet getAttributes(String arg0, String arg1, String arg2, String arg3) throws SQLException
getAttributes
in interface DatabaseMetaData
SQLException
public int getJDBCMajorVersion() throws SQLException
getJDBCMajorVersion
in interface DatabaseMetaData
SQLException
public int getJDBCMinorVersion() throws SQLException
getJDBCMinorVersion
in interface DatabaseMetaData
SQLException
public int getSQLStateType() throws SQLException
getSQLStateType
in interface DatabaseMetaData
SQLException
public boolean locatorsUpdateCopy() throws SQLException
locatorsUpdateCopy
in interface DatabaseMetaData
SQLException
public boolean autoCommitFailureClosesAllResultSets() throws SQLException
autoCommitFailureClosesAllResultSets
in interface DatabaseMetaData
SQLException
public ResultSet getClientInfoProperties() throws SQLException
getClientInfoProperties
in interface DatabaseMetaData
SQLException
public ResultSet getFunctionColumns(String arg0, String arg1, String arg2, String arg3) throws SQLException
getFunctionColumns
in interface DatabaseMetaData
SQLException
public ResultSet getFunctions(String arg0, String arg1, String arg2) throws SQLException
getFunctions
in interface DatabaseMetaData
SQLException
public RowIdLifetime getRowIdLifetime() throws SQLException
getRowIdLifetime
in interface DatabaseMetaData
SQLException
public ResultSet getSchemas(String arg0, String arg1) throws SQLException
getSchemas
in interface DatabaseMetaData
SQLException
public boolean supportsStoredFunctionsUsingCallSyntax() throws SQLException
supportsStoredFunctionsUsingCallSyntax
in interface DatabaseMetaData
SQLException
public boolean isWrapperFor(Class<?> arg0) throws SQLException
isWrapperFor
in interface Wrapper
SQLException
public <T> T unwrap(Class<T> arg0) throws SQLException
unwrap
in interface Wrapper
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |