LibreOffice LibreOffice 26.2 SDK API Reference

Loading...
Searching...
No Matches
XDatabaseMetaData.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20
21 module com { module sun { module star { module sdbc {
22
23 published interface XResultSet;
24 published interface XConnection;
25
62published interface XDatabaseMetaData: com::sun::star::uno::XInterface
63{
64
75 boolean allProceduresAreCallable() raises (SQLException);
76
84 boolean allTablesAreSelectable() raises (SQLException);
85
88 string getURL() raises (SQLException);
89
92 string getUserName() raises (SQLException);
93
100 boolean isReadOnly() raises (SQLException);
101
108 boolean nullsAreSortedHigh() raises (SQLException);
109
116 boolean nullsAreSortedLow() raises (SQLException);
117
124 boolean nullsAreSortedAtStart() raises (SQLException);
125
132 boolean nullsAreSortedAtEnd() raises (SQLException);
133
136 string getDatabaseProductName() raises (SQLException);
137
140 string getDatabaseProductVersion() raises (SQLException);
141
144 string getDriverName() raises (SQLException);
145
148 string getDriverVersion() raises (SQLException);
149
152 long getDriverMajorVersion();
153
156 long getDriverMinorVersion();
157
164 boolean usesLocalFiles() raises (SQLException);
165
172 boolean usesLocalFilePerTable() raises (SQLException);
173
180 boolean supportsMixedCaseIdentifiers() raises (SQLException);
181
189 boolean storesUpperCaseIdentifiers() raises (SQLException);
190
198 boolean storesLowerCaseIdentifiers() raises (SQLException);
199
207 boolean storesMixedCaseIdentifiers() raises (SQLException);
208
216 boolean supportsMixedCaseQuotedIdentifiers() raises (SQLException);
217
225 boolean storesUpperCaseQuotedIdentifiers() raises (SQLException);
226
234 boolean storesLowerCaseQuotedIdentifiers() raises (SQLException);
235
243 boolean storesMixedCaseQuotedIdentifiers() raises (SQLException);
244
252 string getIdentifierQuoteString() raises (SQLException);
253
261 string getSQLKeywords() raises (SQLException);
262
271 string getNumericFunctions() raises (SQLException);
272
281 string getStringFunctions() raises (SQLException);
282
291 string getSystemFunctions() raises (SQLException);
292
299 string getTimeDateFunctions() raises (SQLException);
300
318 string getSearchStringEscape() raises (SQLException);
319
327 string getExtraNameCharacters() raises (SQLException);
328
335 boolean supportsAlterTableWithAddColumn() raises (SQLException);
336
343 boolean supportsAlterTableWithDropColumn() raises (SQLException);
344
357 boolean supportsColumnAliasing() raises (SQLException);
358
365 boolean nullPlusNonNullIsNull() raises (SQLException);
366
375 boolean supportsTypeConversion() raises (SQLException);
376
385 boolean supportsConvert([in]long fromType, [in]long toType)
386 raises (SQLException);
387
394 boolean supportsTableCorrelationNames() raises (SQLException);
395
403 boolean supportsDifferentTableCorrelationNames()
404 raises (SQLException);
405
412 boolean supportsExpressionsInOrderBy() raises (SQLException);
413
420 boolean supportsOrderByUnrelated() raises (SQLException);
421
428 boolean supportsGroupBy() raises (SQLException);
429
436 boolean supportsGroupByUnrelated() raises (SQLException);
437
445 boolean supportsGroupByBeyondSelect() raises (SQLException);
446
453 boolean supportsLikeEscapeClause() raises (SQLException);
454
461 boolean supportsMultipleResultSets() raises (SQLException);
462
470 boolean supportsMultipleTransactions() raises (SQLException);
471
478 boolean supportsNonNullableColumns() raises (SQLException);
479
487 boolean supportsMinimumSQLGrammar() raises (SQLException);
488
496 boolean supportsCoreSQLGrammar() raises (SQLException);
497
506 boolean supportsExtendedSQLGrammar() raises (SQLException);
507
514 boolean supportsANSI92EntryLevelSQL() raises (SQLException);
515
522 boolean supportsANSI92IntermediateSQL() raises (SQLException);
523
530 boolean supportsANSI92FullSQL() raises (SQLException);
531
538 boolean supportsIntegrityEnhancementFacility() raises (SQLException);
539
546 boolean supportsOuterJoins() raises (SQLException);
547
554 boolean supportsFullOuterJoins() raises (SQLException);
555
563 boolean supportsLimitedOuterJoins() raises (SQLException);
564
571 string getSchemaTerm() raises (SQLException);
572
579 string getProcedureTerm() raises (SQLException);
580
587 string getCatalogTerm() raises (SQLException);
588
596 boolean isCatalogAtStart() raises (SQLException);
597
604 string getCatalogSeparator() raises (SQLException);
605
612 boolean supportsSchemasInDataManipulation() raises (SQLException);
613
620 boolean supportsSchemasInProcedureCalls() raises (SQLException);
621
628 boolean supportsSchemasInTableDefinitions() raises (SQLException);
629
636 boolean supportsSchemasInIndexDefinitions() raises (SQLException);
637
644 boolean supportsSchemasInPrivilegeDefinitions()
645 raises (SQLException);
646
653 boolean supportsCatalogsInDataManipulation() raises (SQLException);
654
661 boolean supportsCatalogsInProcedureCalls() raises (SQLException);
662
669 boolean supportsCatalogsInTableDefinitions() raises (SQLException);
670
677 boolean supportsCatalogsInIndexDefinitions() raises (SQLException);
678
685 boolean supportsCatalogsInPrivilegeDefinitions()
686 raises (SQLException);
687
694 boolean supportsPositionedDelete() raises (SQLException);
695
702 boolean supportsPositionedUpdate() raises (SQLException);
703
710 boolean supportsSelectForUpdate() raises (SQLException);
711
719 boolean supportsStoredProcedures() raises (SQLException);
720
727 boolean supportsSubqueriesInComparisons() raises (SQLException);
728
735 boolean supportsSubqueriesInExists() raises (SQLException);
736
743 boolean supportsSubqueriesInIns() raises (SQLException);
744
751 boolean supportsSubqueriesInQuantifieds() raises (SQLException);
752
759 boolean supportsCorrelatedSubqueries() raises (SQLException);
760
767 boolean supportsUnion() raises (SQLException);
768
775 boolean supportsUnionAll() raises (SQLException);
776
783 boolean supportsOpenCursorsAcrossCommit() raises (SQLException);
784
791 boolean supportsOpenCursorsAcrossRollback() raises (SQLException);
792
799 boolean supportsOpenStatementsAcrossCommit() raises (SQLException);
800
807 boolean supportsOpenStatementsAcrossRollback()
808 raises (SQLException);
809
816 long getMaxBinaryLiteralLength() raises (SQLException);
817
824 long getMaxCharLiteralLength() raises (SQLException);
825
832 long getMaxColumnNameLength() raises (SQLException);
833
840 long getMaxColumnsInGroupBy() raises (SQLException);
841
848 long getMaxColumnsInIndex() raises (SQLException);
849
856 long getMaxColumnsInOrderBy() raises (SQLException);
857
864 long getMaxColumnsInSelect() raises (SQLException);
865
872 long getMaxColumnsInTable() raises (SQLException);
873
880 long getMaxConnections() raises (SQLException);
881
888 long getMaxCursorNameLength() raises (SQLException);
889
896 long getMaxIndexLength() raises (SQLException);
897
904 long getMaxSchemaNameLength() raises (SQLException);
905
912 long getMaxProcedureNameLength() raises (SQLException);
913
920 long getMaxCatalogNameLength() raises (SQLException);
921
928 long getMaxRowSize() raises (SQLException);
929
937 boolean doesMaxRowSizeIncludeBlobs() raises (SQLException);
938
945 long getMaxStatementLength() raises (SQLException);
946
953 long getMaxStatements() raises (SQLException);
954
961 long getMaxTableNameLength() raises (SQLException);
962
969 long getMaxTablesInSelect() raises (SQLException);
970
977 long getMaxUserNameLength() raises (SQLException);
978
988 long getDefaultTransactionIsolation() raises (SQLException);
989
1000 boolean supportsTransactions() raises (SQLException);
1001
1009 boolean supportsTransactionIsolationLevel([in]long level)
1010 raises (SQLException);
1011
1026 boolean supportsDataDefinitionAndDataManipulationTransactions()
1027 raises (SQLException);
1028
1036 boolean supportsDataManipulationTransactionsOnly()
1037 raises (SQLException);
1038
1046 boolean dataDefinitionCausesTransactionCommit()
1047 raises (SQLException);
1048
1055 boolean dataDefinitionIgnoredInTransactions()
1056 raises (SQLException);
1057
1112 XResultSet getProcedures([in]any catalog, [in]string schemaPattern,
1113 [in]string procedureNamePattern) raises (SQLException);
1114
1211 XResultSet getProcedureColumns([in]any catalog, [in]string schemaPattern,
1212 [in]string procedureNamePattern,
1213 [in]string columnNamePattern)
1214 raises (SQLException);
1215
1261 XResultSet getTables([in]any catalog, [in]string schemaPattern,
1262 [in]string tableNamePattern, [in]sequence<string> types)
1263 raises (SQLException);
1264
1281 XResultSet getSchemas() raises (SQLException);
1282
1299 XResultSet getCatalogs() raises (SQLException);
1300
1319 XResultSet getTableTypes() raises (SQLException);
1320
1415 XResultSet getColumns([in]any catalog, [in]string schemaPattern,
1416 [in]string tableNamePattern, [in]string columnNamePattern)
1417 raises (SQLException);
1418
1469 XResultSet getColumnPrivileges([in]any catalog, [in]string schema,
1470 [in]string table, [in]string columnNamePattern) raises (SQLException);
1471
1521 XResultSet getTablePrivileges([in]any catalog, [in]string schemaPattern,
1522 [in]string tableNamePattern) raises (SQLException);
1523
1589 XResultSet getBestRowIdentifier([in]any catalog, [in]string schema,
1590 [in]string table, [in]long scope, [in] boolean nullable)
1591 raises (SQLException);
1592
1646 XResultSet getVersionColumns([in]any catalog, [in]string schema,
1647 [in]string table) raises (SQLException);
1648
1686 XResultSet getPrimaryKeys([in]any catalog, [in]string schema,
1687 [in]string table) raises (SQLException);
1688
1800 XResultSet getImportedKeys([in]any catalog, [in]string schema,
1801 [in]string table) raises (SQLException);
1802
1914 XResultSet getExportedKeys([in]any catalog, [in]string schema,
1915 [in]string table) raises (SQLException);
1916
2037 XResultSet getCrossReference(
2038 [in]any primaryCatalog, [in]string primarySchema,
2039 [in]string primaryTable,
2040 [in]any foreignCatalog, [in]string foreignSchema,
2041 [in]string foreignTable) raises (SQLException);
2042
2135 XResultSet getTypeInfo() raises (SQLException);
2136
2222 XResultSet getIndexInfo([in]any catalog, [in]string schema, [in]string table,
2223 [in]boolean unique, [in]boolean approximate)
2224 raises (SQLException);
2225
2235 boolean supportsResultSetType([in]long setType) raises (SQLException);
2236
2250 boolean supportsResultSetConcurrency([in]long setType,
2251 [in]long concurrency)
2252 raises (SQLException);
2253
2263 boolean ownUpdatesAreVisible([in]long setType) raises (SQLException);
2264
2274 boolean ownDeletesAreVisible([in]long setType) raises (SQLException);
2275
2285 boolean ownInsertsAreVisible([in]long setType) raises (SQLException);
2286
2296 boolean othersUpdatesAreVisible([in]long setType) raises (SQLException);
2297
2307 boolean othersDeletesAreVisible([in]long setType) raises (SQLException);
2308
2318 boolean othersInsertsAreVisible([in]long setType) raises (SQLException);
2319
2331 boolean updatesAreDetected([in]long setType) raises (SQLException);
2332
2345 boolean deletesAreDetected([in]long setType) raises (SQLException);
2346
2358 boolean insertsAreDetected([in]long setType) raises (SQLException);
2359
2366 boolean supportsBatchUpdates() raises (SQLException);
2367
2419 XResultSet getUDTs([in]any catalog, [in]string schemaPattern,
2420 [in]string typeNamePattern, [in]sequence<long> types)
2421 raises (SQLException);
2422
2429 XConnection getConnection() raises (SQLException);
2430};
2431
2432
2433}; }; }; };
2434
2435/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::sdbc::SQLException
is an exception that provides information on a database access error.
Definition SQLException.idl:41
com::sun::star::sdbc::XConnection
represents a connection (session) with a specific database.
Definition XConnection.idl:50
com::sun::star::sdbc::XDatabaseMetaData
provides comprehensive information about the database as a whole.
Definition XDatabaseMetaData.idl:63
com::sun::star::sdbc::XDatabaseMetaData::supportsAlterTableWithDropColumn
boolean supportsAlterTableWithDropColumn()
support the Database "ALTER TABLE" with drop column?
com::sun::star::sdbc::XDatabaseMetaData::supportsTransactionIsolationLevel
boolean supportsTransactionIsolationLevel([in]long level)
Does this database support the given transaction isolation level?
com::sun::star::sdbc::XDatabaseMetaData::getCatalogSeparator
string getCatalogSeparator()
return the separator between catalog and table name
com::sun::star::sdbc::XDatabaseMetaData::getMaxIndexLength
long getMaxIndexLength()
return the maximum length of an index (in bytes)
com::sun::star::sdbc::XDatabaseMetaData::supportsTypeConversion
boolean supportsTypeConversion()
TRUE , if the Database supports the CONVERT function between SQL types, otherwise FALSE.
com::sun::star::sdbc::XDatabaseMetaData::nullPlusNonNullIsNull
boolean nullPlusNonNullIsNull()
are concatenations between NULL and non-NULL values NULL?
com::sun::star::sdbc::XDatabaseMetaData::supportsAlterTableWithAddColumn
boolean supportsAlterTableWithAddColumn()
support the Database "ALTER TABLE" with add column?
com::sun::star::sdbc::XDatabaseMetaData::getDatabaseProductName
string getDatabaseProductName()
returns the name of the database product.
com::sun::star::sdbc::XDatabaseMetaData::supportsSubqueriesInQuantifieds
boolean supportsSubqueriesInQuantifieds()
Are subqueries in quantified expressions supported?
com::sun::star::sdbc::XDatabaseMetaData::supportsSelectForUpdate
boolean supportsSelectForUpdate()
Is SELECT for UPDATE supported?
com::sun::star::sdbc::XDatabaseMetaData::getDriverVersion
string getDriverVersion()
returns the version number of the SDBC driver.
com::sun::star::sdbc::XDatabaseMetaData::getCrossReference
XResultSet getCrossReference([in]any primaryCatalog, [in]string primarySchema, [in]string primaryTable, [in]any foreignCatalog, [in]string foreignSchema, [in]string foreignTable)
gets a description of the foreign key columns in the foreign key table that reference the primary key...
com::sun::star::sdbc::XDatabaseMetaData::supportsSchemasInDataManipulation
boolean supportsSchemasInDataManipulation()
Can a schema name be used in a data manipulation statement?
com::sun::star::sdbc::XDatabaseMetaData::storesMixedCaseIdentifiers
boolean storesMixedCaseIdentifiers()
Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in mix...
com::sun::star::sdbc::XDatabaseMetaData::getNumericFunctions
string getNumericFunctions()
gets a comma-separated list of math functions.
com::sun::star::sdbc::XDatabaseMetaData::getMaxTablesInSelect
long getMaxTablesInSelect()
return the maximum number of tables in a SELECT statement
com::sun::star::sdbc::XDatabaseMetaData::getSystemFunctions
string getSystemFunctions()
gets a comma-separated list of system functions.
com::sun::star::sdbc::XDatabaseMetaData::supportsNonNullableColumns
boolean supportsNonNullableColumns()
Can columns be defined as non-nullable?
com::sun::star::sdbc::XDatabaseMetaData::getProcedureColumns
XResultSet getProcedureColumns([in]any catalog, [in]string schemaPattern, [in]string procedureNamePattern, [in]string columnNamePattern)
gets a description of a catalog's stored procedure parameters and result columns.
com::sun::star::sdbc::XDatabaseMetaData::supportsCoreSQLGrammar
boolean supportsCoreSQLGrammar()
TRUE, if the database supports ODBC Core SQL grammar, otherwise FALSE.
com::sun::star::sdbc::XDatabaseMetaData::getProcedureTerm
string getProcedureTerm()
return the database vendor's preferred term for "procedure"
com::sun::star::sdbc::XDatabaseMetaData::storesUpperCaseQuotedIdentifiers
boolean storesUpperCaseQuotedIdentifiers()
Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in upper...
com::sun::star::sdbc::XDatabaseMetaData::getExportedKeys
XResultSet getExportedKeys([in]any catalog, [in]string schema, [in]string table)
gets a description of the foreign key columns that reference a table's primary key columns (the forei...
com::sun::star::sdbc::XDatabaseMetaData::nullsAreSortedLow
boolean nullsAreSortedLow()
Are NULL values sorted low?
com::sun::star::sdbc::XDatabaseMetaData::supportsStoredProcedures
boolean supportsStoredProcedures()
Are stored procedure calls using the stored procedure escape syntax supported?
com::sun::star::sdbc::XDatabaseMetaData::getImportedKeys
XResultSet getImportedKeys([in]any catalog, [in]string schema, [in]string table)
gets a description of the primary key columns that are referenced by a table's foreign key columns (t...
com::sun::star::sdbc::XDatabaseMetaData::getDriverMinorVersion
long getDriverMinorVersion()
returns the SDBC driver minor version number.
com::sun::star::sdbc::XDatabaseMetaData::getMaxSchemaNameLength
long getMaxSchemaNameLength()
return the maximum length allowed for a schema name
com::sun::star::sdbc::XDatabaseMetaData::getMaxColumnsInSelect
long getMaxColumnsInSelect()
return the maximum number of columns in a "SELECT" list
com::sun::star::sdbc::XDatabaseMetaData::getMaxRowSize
long getMaxRowSize()
return the maximum length of a single row.
com::sun::star::sdbc::XDatabaseMetaData::getMaxColumnsInIndex
long getMaxColumnsInIndex()
return the maximum number of columns allowed in an index
com::sun::star::sdbc::XDatabaseMetaData::supportsMultipleTransactions
boolean supportsMultipleTransactions()
Can we have multiple transactions open at once (on different connections)?
com::sun::star::sdbc::XDatabaseMetaData::supportsANSI92EntryLevelSQL
boolean supportsANSI92EntryLevelSQL()
com::sun::star::sdbc::XDatabaseMetaData::othersInsertsAreVisible
boolean othersInsertsAreVisible([in]long setType)
indicates whether inserts made by others are visible.
com::sun::star::sdbc::XDatabaseMetaData::supportsTableCorrelationNames
boolean supportsTableCorrelationNames()
Are table correlation names supported?
com::sun::star::sdbc::XDatabaseMetaData::supportsSchemasInTableDefinitions
boolean supportsSchemasInTableDefinitions()
Can a schema name be used in a table definition statement?
com::sun::star::sdbc::XDatabaseMetaData::supportsBatchUpdates
boolean supportsBatchUpdates()
indicates whether the driver supports batch updates.
com::sun::star::sdbc::XDatabaseMetaData::supportsCorrelatedSubqueries
boolean supportsCorrelatedSubqueries()
Are correlated subqueries supported?
com::sun::star::sdbc::XDatabaseMetaData::getStringFunctions
string getStringFunctions()
gets a comma-separated list of string functions.
com::sun::star::sdbc::XDatabaseMetaData::getIdentifierQuoteString
string getIdentifierQuoteString()
What's the string used to quote SQL identifiers?
com::sun::star::sdbc::XDatabaseMetaData::supportsOuterJoins
boolean supportsOuterJoins()
com::sun::star::sdbc::XDatabaseMetaData::supportsDataManipulationTransactionsOnly
boolean supportsDataManipulationTransactionsOnly()
are only data manipulation statements within a transaction supported?
com::sun::star::sdbc::XDatabaseMetaData::supportsMixedCaseQuotedIdentifiers
boolean supportsMixedCaseQuotedIdentifiers()
Does the database treat mixed case quoted SQL identifiers as case sensitive and as a result store the...
com::sun::star::sdbc::XDatabaseMetaData::getConnection
XConnection getConnection()
retrieves the connection that produced this metadata object.
com::sun::star::sdbc::XDatabaseMetaData::getMaxCharLiteralLength
long getMaxCharLiteralLength()
return the max length for a character literal
com::sun::star::sdbc::XDatabaseMetaData::isCatalogAtStart
boolean isCatalogAtStart()
Does a catalog appear at the start of a qualified table name?
com::sun::star::sdbc::XDatabaseMetaData::getTablePrivileges
XResultSet getTablePrivileges([in]any catalog, [in]string schemaPattern, [in]string tableNamePattern)
gets a description of the access rights for each table available in a catalog.
com::sun::star::sdbc::XDatabaseMetaData::getMaxTableNameLength
long getMaxTableNameLength()
return the maximum length of a table name
com::sun::star::sdbc::XDatabaseMetaData::getMaxProcedureNameLength
long getMaxProcedureNameLength()
return the maximum length of a procedure name
com::sun::star::sdbc::XDatabaseMetaData::usesLocalFiles
boolean usesLocalFiles()
use the database local files to save the tables.
com::sun::star::sdbc::XDatabaseMetaData::supportsExpressionsInOrderBy
boolean supportsExpressionsInOrderBy()
Are expressions in "ORDER BY" lists supported?
com::sun::star::sdbc::XDatabaseMetaData::supportsMixedCaseIdentifiers
boolean supportsMixedCaseIdentifiers()
use the database "mixed case unquoted SQL identifiers" case sensitive.
com::sun::star::sdbc::XDatabaseMetaData::getVersionColumns
XResultSet getVersionColumns([in]any catalog, [in]string schema, [in]string table)
gets a description of a table's columns that are automatically updated when any value in a row is upd...
com::sun::star::sdbc::XDatabaseMetaData::othersDeletesAreVisible
boolean othersDeletesAreVisible([in]long setType)
indicates whether deletes made by others are visible.
com::sun::star::sdbc::XDatabaseMetaData::getMaxStatements
long getMaxStatements()
return the maximal number of open active statements at one time to this database
com::sun::star::sdbc::XDatabaseMetaData::supportsGroupBy
boolean supportsGroupBy()
Is some form of "GROUP BY" clause supported?
com::sun::star::sdbc::XDatabaseMetaData::storesMixedCaseQuotedIdentifiers
boolean storesMixedCaseQuotedIdentifiers()
Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in mixed...
com::sun::star::sdbc::XDatabaseMetaData::ownDeletesAreVisible
boolean ownDeletesAreVisible([in]long setType)
indicates whether a result set's own deletes are visible.
com::sun::star::sdbc::XDatabaseMetaData::allProceduresAreCallable
boolean allProceduresAreCallable()
Can all the procedures returned by getProcedures be called by the current user?
com::sun::star::sdbc::XDatabaseMetaData::supportsTransactions
boolean supportsTransactions()
support the Database transactions?
com::sun::star::sdbc::XDatabaseMetaData::supportsANSI92FullSQL
boolean supportsANSI92FullSQL()
com::sun::star::sdbc::XDatabaseMetaData::supportsSchemasInProcedureCalls
boolean supportsSchemasInProcedureCalls()
Can a schema name be used in a procedure call statement?
com::sun::star::sdbc::XDatabaseMetaData::othersUpdatesAreVisible
boolean othersUpdatesAreVisible([in]long setType)
indicates whether updates made by others are visible.
com::sun::star::sdbc::XDatabaseMetaData::getMaxCursorNameLength
long getMaxCursorNameLength()
return the maximum cursor name length
com::sun::star::sdbc::XDatabaseMetaData::dataDefinitionIgnoredInTransactions
boolean dataDefinitionIgnoredInTransactions()
is a data definition statement within a transaction ignored?
com::sun::star::sdbc::XDatabaseMetaData::updatesAreDetected
boolean updatesAreDetected([in]long setType)
indicates whether or not a visible row update can be detected by calling the method XResultSet....
com::sun::star::sdbc::XDatabaseMetaData::allTablesAreSelectable
boolean allTablesAreSelectable()
Can all the tables returned by getTable be SELECTed by the current user?
com::sun::star::sdbc::XDatabaseMetaData::supportsANSI92IntermediateSQL
boolean supportsANSI92IntermediateSQL()
com::sun::star::sdbc::XDatabaseMetaData::getMaxConnections
long getMaxConnections()
return the number of active connections at a time to this database.
com::sun::star::sdbc::XDatabaseMetaData::supportsOpenCursorsAcrossRollback
boolean supportsOpenCursorsAcrossRollback()
Can cursors remain open across rollbacks?
com::sun::star::sdbc::XDatabaseMetaData::supportsResultSetConcurrency
boolean supportsResultSetConcurrency([in]long setType, [in]long concurrency)
Does the database support the concurrency type in combination with the given result set type?
com::sun::star::sdbc::XDatabaseMetaData::supportsOpenStatementsAcrossRollback
boolean supportsOpenStatementsAcrossRollback()
Can statements remain open across rollbacks?
com::sun::star::sdbc::XDatabaseMetaData::ownInsertsAreVisible
boolean ownInsertsAreVisible([in]long setType)
indicates whether a result set's own inserts are visible.
com::sun::star::sdbc::XDatabaseMetaData::getTableTypes
XResultSet getTableTypes()
gets the table types available in this database.
com::sun::star::sdbc::XDatabaseMetaData::supportsOpenCursorsAcrossCommit
boolean supportsOpenCursorsAcrossCommit()
Can cursors remain open across commits?
com::sun::star::sdbc::XDatabaseMetaData::deletesAreDetected
boolean deletesAreDetected([in]long setType)
indicates whether or not a visible row delete can be detected by calling com::sun::star::sdbc::XResul...
com::sun::star::sdbc::XDatabaseMetaData::getProcedures
XResultSet getProcedures([in]any catalog, [in]string schemaPattern, [in]string procedureNamePattern)
Gets a description of the stored procedures available in a catalog.
com::sun::star::sdbc::XDatabaseMetaData::supportsSubqueriesInIns
boolean supportsSubqueriesInIns()
Are subqueries in "in" statements supported?
com::sun::star::sdbc::XDatabaseMetaData::supportsCatalogsInPrivilegeDefinitions
boolean supportsCatalogsInPrivilegeDefinitions()
Can a catalog name be used in a privilege definition statement?
com::sun::star::sdbc::XDatabaseMetaData::supportsSubqueriesInComparisons
boolean supportsSubqueriesInComparisons()
Are subqueries in comparison expressions supported?
com::sun::star::sdbc::XDatabaseMetaData::getColumnPrivileges
XResultSet getColumnPrivileges([in]any catalog, [in]string schema, [in]string table, [in]string columnNamePattern)
gets a description of the access rights for a table's columns.
com::sun::star::sdbc::XDatabaseMetaData::supportsSchemasInIndexDefinitions
boolean supportsSchemasInIndexDefinitions()
Can a schema name be used in an index definition statement?
com::sun::star::sdbc::XDatabaseMetaData::nullsAreSortedAtEnd
boolean nullsAreSortedAtEnd()
Are NULL values sorted at the end, regardless of sort order?
com::sun::star::sdbc::XDatabaseMetaData::supportsIntegrityEnhancementFacility
boolean supportsIntegrityEnhancementFacility()
returns TRUE, if the Database supports SQL Integrity Enhancement Facility, otherwise FALSE.
com::sun::star::sdbc::XDatabaseMetaData::getMaxBinaryLiteralLength
long getMaxBinaryLiteralLength()
return the maximal number of hex characters in an inline binary literal
com::sun::star::sdbc::XDatabaseMetaData::getDefaultTransactionIsolation
long getDefaultTransactionIsolation()
return the database default transaction isolation level.
com::sun::star::sdbc::XDatabaseMetaData::supportsSubqueriesInExists
boolean supportsSubqueriesInExists()
Are subqueries in "exists" expressions supported?
com::sun::star::sdbc::XDatabaseMetaData::getIndexInfo
XResultSet getIndexInfo([in]any catalog, [in]string schema, [in]string table, [in]boolean unique, [in]boolean approximate)
gets a description of a table's indices and statistics.
com::sun::star::sdbc::XDatabaseMetaData::storesLowerCaseIdentifiers
boolean storesLowerCaseIdentifiers()
Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in low...
com::sun::star::sdbc::XDatabaseMetaData::nullsAreSortedHigh
boolean nullsAreSortedHigh()
Are NULL values sorted high?
com::sun::star::sdbc::XDatabaseMetaData::getSearchStringEscape
string getSearchStringEscape()
gets the string that can be used to escape wildcard characters.
com::sun::star::sdbc::XDatabaseMetaData::getSchemas
XResultSet getSchemas()
Gets the schema names available in this database.
com::sun::star::sdbc::XDatabaseMetaData::getMaxStatementLength
long getMaxStatementLength()
return the maximum length of a SQL statement
com::sun::star::sdbc::XDatabaseMetaData::storesUpperCaseIdentifiers
boolean storesUpperCaseIdentifiers()
Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in upp...
com::sun::star::sdbc::XDatabaseMetaData::supportsUnionAll
boolean supportsUnionAll()
Is SQL UNION ALL supported?
com::sun::star::sdbc::XDatabaseMetaData::storesLowerCaseQuotedIdentifiers
boolean storesLowerCaseQuotedIdentifiers()
Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in lower...
com::sun::star::sdbc::XDatabaseMetaData::supportsGroupByBeyondSelect
boolean supportsGroupByBeyondSelect()
Can a "GROUP BY" clause add columns not in the SELECT provided it specifies all the columns in the SE...
com::sun::star::sdbc::XDatabaseMetaData::usesLocalFilePerTable
boolean usesLocalFilePerTable()
use the database one local file to save for each table.
com::sun::star::sdbc::XDatabaseMetaData::getMaxColumnsInTable
long getMaxColumnsInTable()
return the maximum number of columns in a table
com::sun::star::sdbc::XDatabaseMetaData::getBestRowIdentifier
XResultSet getBestRowIdentifier([in]any catalog, [in]string schema, [in]string table, [in]long scope, [in] boolean nullable)
gets a description of a table's optimal set of columns that uniquely identifies a row.
com::sun::star::sdbc::XDatabaseMetaData::insertsAreDetected
boolean insertsAreDetected([in]long setType)
indicates whether or not a visible row insert can be detected by calling com::sun::star::sdbc::XResul...
com::sun::star::sdbc::XDatabaseMetaData::supportsOpenStatementsAcrossCommit
boolean supportsOpenStatementsAcrossCommit()
Can statements remain open across commits?
com::sun::star::sdbc::XDatabaseMetaData::getMaxColumnNameLength
long getMaxColumnNameLength()
return the limit on column name length
com::sun::star::sdbc::XDatabaseMetaData::getDriverMajorVersion
long getDriverMajorVersion()
returns the SDBC driver major version number.
com::sun::star::sdbc::XDatabaseMetaData::supportsDataDefinitionAndDataManipulationTransactions
boolean supportsDataDefinitionAndDataManipulationTransactions()
support the Database both data definition and data manipulation statements within a transaction?
com::sun::star::sdbc::XDatabaseMetaData::supportsCatalogsInTableDefinitions
boolean supportsCatalogsInTableDefinitions()
Can a catalog name be used in a table definition statement?
com::sun::star::sdbc::XDatabaseMetaData::supportsResultSetType
boolean supportsResultSetType([in]long setType)
Does the database support the given result set type?
com::sun::star::sdbc::XDatabaseMetaData::supportsMultipleResultSets
boolean supportsMultipleResultSets()
Are multiple XResultSets from a single execute supported?
com::sun::star::sdbc::XDatabaseMetaData::getMaxColumnsInOrderBy
long getMaxColumnsInOrderBy()
return the maximum number of columns in an "ORDER BY" clause
com::sun::star::sdbc::XDatabaseMetaData::getPrimaryKeys
XResultSet getPrimaryKeys([in]any catalog, [in]string schema, [in]string table)
gets a description of a table's primary key columns.
com::sun::star::sdbc::XDatabaseMetaData::getCatalogTerm
string getCatalogTerm()
return the database vendor's preferred term for "catalog"
com::sun::star::sdbc::XDatabaseMetaData::supportsCatalogsInProcedureCalls
boolean supportsCatalogsInProcedureCalls()
Can a catalog name be used in a procedure call statement?
com::sun::star::sdbc::XDatabaseMetaData::getDatabaseProductVersion
string getDatabaseProductVersion()
returns the version of the database product.
com::sun::star::sdbc::XDatabaseMetaData::supportsCatalogsInDataManipulation
boolean supportsCatalogsInDataManipulation()
Can a catalog name be used in a data manipulation statement?
com::sun::star::sdbc::XDatabaseMetaData::ownUpdatesAreVisible
boolean ownUpdatesAreVisible([in]long setType)
indicates whether a result set's own updates are visible.
com::sun::star::sdbc::XDatabaseMetaData::supportsGroupByUnrelated
boolean supportsGroupByUnrelated()
Can a "GROUP BY" clause use columns not in the SELECT?
com::sun::star::sdbc::XDatabaseMetaData::getUDTs
XResultSet getUDTs([in]any catalog, [in]string schemaPattern, [in]string typeNamePattern, [in]sequence< long > types)
Gets a description of the user-defined types defined in a particular schema.
com::sun::star::sdbc::XDatabaseMetaData::getExtraNameCharacters
string getExtraNameCharacters()
gets all the "extra" characters that can be used in unquoted identifier names (those beyond a-z,...
com::sun::star::sdbc::XDatabaseMetaData::getSQLKeywords
string getSQLKeywords()
gets a comma-separated list of all a database's SQL keywords that are NOT also SQL92 keywords.
com::sun::star::sdbc::XDatabaseMetaData::getTimeDateFunctions
string getTimeDateFunctions()
gets a comma-separated list of time and date functions.
com::sun::star::sdbc::XDatabaseMetaData::getDriverName
string getDriverName()
returns the name of the SDBC driver.
com::sun::star::sdbc::XDatabaseMetaData::isReadOnly
boolean isReadOnly()
checks if the database in read-only mode.
com::sun::star::sdbc::XDatabaseMetaData::supportsMinimumSQLGrammar
boolean supportsMinimumSQLGrammar()
TRUE, if the database supports ODBC Minimum SQL grammar, otherwise FALSE.
com::sun::star::sdbc::XDatabaseMetaData::supportsFullOuterJoins
boolean supportsFullOuterJoins()
com::sun::star::sdbc::XDatabaseMetaData::supportsExtendedSQLGrammar
boolean supportsExtendedSQLGrammar()
com::sun::star::sdbc::XDatabaseMetaData::supportsDifferentTableCorrelationNames
boolean supportsDifferentTableCorrelationNames()
If table correlation names are supported, are they restricted to be different from the names of the t...
com::sun::star::sdbc::XDatabaseMetaData::dataDefinitionCausesTransactionCommit
boolean dataDefinitionCausesTransactionCommit()
does a data definition statement within a transaction force the transaction to commit?
com::sun::star::sdbc::XDatabaseMetaData::supportsSchemasInPrivilegeDefinitions
boolean supportsSchemasInPrivilegeDefinitions()
Can a schema name be used in a privilege definition statement?
com::sun::star::sdbc::XDatabaseMetaData::getMaxUserNameLength
long getMaxUserNameLength()
return the maximum length of a user name
com::sun::star::sdbc::XDatabaseMetaData::getMaxCatalogNameLength
long getMaxCatalogNameLength()
return the maximum length of a catalog name
com::sun::star::sdbc::XDatabaseMetaData::doesMaxRowSizeIncludeBlobs
boolean doesMaxRowSizeIncludeBlobs()
Did getMaxRowSize() include LONGVARCHAR and LONGVARBINARY blobs?
com::sun::star::sdbc::XDatabaseMetaData::getUserName
string getUserName()
returns the user name from this database connection.
com::sun::star::sdbc::XDatabaseMetaData::supportsOrderByUnrelated
boolean supportsOrderByUnrelated()
Can an "ORDER BY" clause use columns not in the SELECT statement?
com::sun::star::sdbc::XDatabaseMetaData::getURL
string getURL()
returns the URL for the database connection
com::sun::star::sdbc::XDatabaseMetaData::getTypeInfo
XResultSet getTypeInfo()
gets a description of all the standard SQL types supported by this database.
com::sun::star::sdbc::XDatabaseMetaData::getColumns
XResultSet getColumns([in]any catalog, [in]string schemaPattern, [in]string tableNamePattern, [in]string columnNamePattern)
gets a description of table columns available in the specified catalog.
com::sun::star::sdbc::XDatabaseMetaData::supportsPositionedUpdate
boolean supportsPositionedUpdate()
Is positioned UPDATE supported?
com::sun::star::sdbc::XDatabaseMetaData::getTables
XResultSet getTables([in]any catalog, [in]string schemaPattern, [in]string tableNamePattern, [in]sequence< string > types)
gets a description of tables available in a catalog.
com::sun::star::sdbc::XDatabaseMetaData::supportsColumnAliasing
boolean supportsColumnAliasing()
support the Database column aliasing?
com::sun::star::sdbc::XDatabaseMetaData::getMaxColumnsInGroupBy
long getMaxColumnsInGroupBy()
return the maximum number of columns in a "GROUP BY" clause
com::sun::star::sdbc::XDatabaseMetaData::supportsLikeEscapeClause
boolean supportsLikeEscapeClause()
Is the escape character in "LIKE" clauses supported?
com::sun::star::sdbc::XDatabaseMetaData::getSchemaTerm
string getSchemaTerm()
return the database vendor's preferred term for "schema"
com::sun::star::sdbc::XDatabaseMetaData::supportsLimitedOuterJoins
boolean supportsLimitedOuterJoins()
com::sun::star::sdbc::XDatabaseMetaData::getCatalogs
XResultSet getCatalogs()
gets the catalog names available in this database.
com::sun::star::sdbc::XDatabaseMetaData::supportsUnion
boolean supportsUnion()
Is SQL UNION supported?
com::sun::star::sdbc::XDatabaseMetaData::nullsAreSortedAtStart
boolean nullsAreSortedAtStart()
Are NULL values sorted at the start regardless of sort order?
com::sun::star::sdbc::XDatabaseMetaData::supportsPositionedDelete
boolean supportsPositionedDelete()
Is positioned DELETE supported?
com::sun::star::sdbc::XDatabaseMetaData::supportsConvert
boolean supportsConvert([in]long fromType, [in]long toType)
TRUE , if the Database supports the CONVERT between the given SQL types otherwise FALSE.
com::sun::star::sdbc::XDatabaseMetaData::supportsCatalogsInIndexDefinitions
boolean supportsCatalogsInIndexDefinitions()
Can a catalog name be used in an index definition statement?
com::sun::star::sdbc::XResultSet
provides the navigation on a table of data.
Definition XResultSet.idl:38
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition XInterface.idl:46
com::sun::star::table
Table specific interfaces (for text and spreadsheet).
Definition modules.idl:358
com
Definition Ambiguous.idl:20