summaryrefslogtreecommitdiff
path: root/libjava/java/sql/DatabaseMetaData.h
blob: 0d1feb748ca34b05b067dc338be68dfd63e6b7bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_sql_DatabaseMetaData__
#define __java_sql_DatabaseMetaData__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace sql
    {
        class Connection;
        class DatabaseMetaData;
        class ResultSet;
    }
  }
}

class java::sql::DatabaseMetaData : public ::java::lang::Object
{

public:
  virtual jboolean allProceduresAreCallable() = 0;
  virtual jboolean allTablesAreSelectable() = 0;
  virtual ::java::lang::String * getURL() = 0;
  virtual ::java::lang::String * getUserName() = 0;
  virtual jboolean isReadOnly() = 0;
  virtual jboolean nullsAreSortedHigh() = 0;
  virtual jboolean nullsAreSortedLow() = 0;
  virtual jboolean nullsAreSortedAtStart() = 0;
  virtual jboolean nullsAreSortedAtEnd() = 0;
  virtual ::java::lang::String * getDatabaseProductName() = 0;
  virtual ::java::lang::String * getDatabaseProductVersion() = 0;
  virtual ::java::lang::String * getDriverName() = 0;
  virtual ::java::lang::String * getDriverVersion() = 0;
  virtual jint getDriverMajorVersion() = 0;
  virtual jint getDriverMinorVersion() = 0;
  virtual jboolean usesLocalFiles() = 0;
  virtual jboolean usesLocalFilePerTable() = 0;
  virtual jboolean supportsMixedCaseIdentifiers() = 0;
  virtual jboolean storesUpperCaseIdentifiers() = 0;
  virtual jboolean storesLowerCaseIdentifiers() = 0;
  virtual jboolean storesMixedCaseIdentifiers() = 0;
  virtual jboolean supportsMixedCaseQuotedIdentifiers() = 0;
  virtual jboolean storesUpperCaseQuotedIdentifiers() = 0;
  virtual jboolean storesLowerCaseQuotedIdentifiers() = 0;
  virtual jboolean storesMixedCaseQuotedIdentifiers() = 0;
  virtual ::java::lang::String * getIdentifierQuoteString() = 0;
  virtual ::java::lang::String * getSQLKeywords() = 0;
  virtual ::java::lang::String * getNumericFunctions() = 0;
  virtual ::java::lang::String * getStringFunctions() = 0;
  virtual ::java::lang::String * getSystemFunctions() = 0;
  virtual ::java::lang::String * getTimeDateFunctions() = 0;
  virtual ::java::lang::String * getSearchStringEscape() = 0;
  virtual ::java::lang::String * getExtraNameCharacters() = 0;
  virtual jboolean supportsAlterTableWithAddColumn() = 0;
  virtual jboolean supportsAlterTableWithDropColumn() = 0;
  virtual jboolean supportsColumnAliasing() = 0;
  virtual jboolean nullPlusNonNullIsNull() = 0;
  virtual jboolean supportsConvert() = 0;
  virtual jboolean supportsConvert(jint, jint) = 0;
  virtual jboolean supportsTableCorrelationNames() = 0;
  virtual jboolean supportsDifferentTableCorrelationNames() = 0;
  virtual jboolean supportsExpressionsInOrderBy() = 0;
  virtual jboolean supportsOrderByUnrelated() = 0;
  virtual jboolean supportsGroupBy() = 0;
  virtual jboolean supportsGroupByUnrelated() = 0;
  virtual jboolean supportsGroupByBeyondSelect() = 0;
  virtual jboolean supportsLikeEscapeClause() = 0;
  virtual jboolean supportsMultipleResultSets() = 0;
  virtual jboolean supportsMultipleTransactions() = 0;
  virtual jboolean supportsNonNullableColumns() = 0;
  virtual jboolean supportsMinimumSQLGrammar() = 0;
  virtual jboolean supportsCoreSQLGrammar() = 0;
  virtual jboolean supportsExtendedSQLGrammar() = 0;
  virtual jboolean supportsANSI92EntryLevelSQL() = 0;
  virtual jboolean supportsANSI92IntermediateSQL() = 0;
  virtual jboolean supportsANSI92FullSQL() = 0;
  virtual jboolean supportsIntegrityEnhancementFacility() = 0;
  virtual jboolean supportsOuterJoins() = 0;
  virtual jboolean supportsFullOuterJoins() = 0;
  virtual jboolean supportsLimitedOuterJoins() = 0;
  virtual ::java::lang::String * getSchemaTerm() = 0;
  virtual ::java::lang::String * getProcedureTerm() = 0;
  virtual ::java::lang::String * getCatalogTerm() = 0;
  virtual jboolean isCatalogAtStart() = 0;
  virtual ::java::lang::String * getCatalogSeparator() = 0;
  virtual jboolean supportsSchemasInDataManipulation() = 0;
  virtual jboolean supportsSchemasInProcedureCalls() = 0;
  virtual jboolean supportsSchemasInTableDefinitions() = 0;
  virtual jboolean supportsSchemasInIndexDefinitions() = 0;
  virtual jboolean supportsSchemasInPrivilegeDefinitions() = 0;
  virtual jboolean supportsCatalogsInDataManipulation() = 0;
  virtual jboolean supportsCatalogsInProcedureCalls() = 0;
  virtual jboolean supportsCatalogsInTableDefinitions() = 0;
  virtual jboolean supportsCatalogsInIndexDefinitions() = 0;
  virtual jboolean supportsCatalogsInPrivilegeDefinitions() = 0;
  virtual jboolean supportsPositionedDelete() = 0;
  virtual jboolean supportsPositionedUpdate() = 0;
  virtual jboolean supportsSelectForUpdate() = 0;
  virtual jboolean supportsStoredProcedures() = 0;
  virtual jboolean supportsSubqueriesInComparisons() = 0;
  virtual jboolean supportsSubqueriesInExists() = 0;
  virtual jboolean supportsSubqueriesInIns() = 0;
  virtual jboolean supportsSubqueriesInQuantifieds() = 0;
  virtual jboolean supportsCorrelatedSubqueries() = 0;
  virtual jboolean supportsUnion() = 0;
  virtual jboolean supportsUnionAll() = 0;
  virtual jboolean supportsOpenCursorsAcrossCommit() = 0;
  virtual jboolean supportsOpenCursorsAcrossRollback() = 0;
  virtual jboolean supportsOpenStatementsAcrossCommit() = 0;
  virtual jboolean supportsOpenStatementsAcrossRollback() = 0;
  virtual jint getMaxBinaryLiteralLength() = 0;
  virtual jint getMaxCharLiteralLength() = 0;
  virtual jint getMaxColumnNameLength() = 0;
  virtual jint getMaxColumnsInGroupBy() = 0;
  virtual jint getMaxColumnsInIndex() = 0;
  virtual jint getMaxColumnsInOrderBy() = 0;
  virtual jint getMaxColumnsInSelect() = 0;
  virtual jint getMaxColumnsInTable() = 0;
  virtual jint getMaxConnections() = 0;
  virtual jint getMaxCursorNameLength() = 0;
  virtual jint getMaxIndexLength() = 0;
  virtual jint getMaxSchemaNameLength() = 0;
  virtual jint getMaxProcedureNameLength() = 0;
  virtual jint getMaxCatalogNameLength() = 0;
  virtual jint getMaxRowSize() = 0;
  virtual jboolean doesMaxRowSizeIncludeBlobs() = 0;
  virtual jint getMaxStatementLength() = 0;
  virtual jint getMaxStatements() = 0;
  virtual jint getMaxTableNameLength() = 0;
  virtual jint getMaxTablesInSelect() = 0;
  virtual jint getMaxUserNameLength() = 0;
  virtual jint getDefaultTransactionIsolation() = 0;
  virtual jboolean supportsTransactions() = 0;
  virtual jboolean supportsTransactionIsolationLevel(jint) = 0;
  virtual jboolean supportsDataDefinitionAndDataManipulationTransactions() = 0;
  virtual jboolean supportsDataManipulationTransactionsOnly() = 0;
  virtual jboolean dataDefinitionCausesTransactionCommit() = 0;
  virtual jboolean dataDefinitionIgnoredInTransactions() = 0;
  virtual ::java::sql::ResultSet * getProcedures(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
  virtual ::java::sql::ResultSet * getProcedureColumns(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
  virtual ::java::sql::ResultSet * getTables(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
  virtual ::java::sql::ResultSet * getSchemas() = 0;
  virtual ::java::sql::ResultSet * getCatalogs() = 0;
  virtual ::java::sql::ResultSet * getTableTypes() = 0;
  virtual ::java::sql::ResultSet * getColumns(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
  virtual ::java::sql::ResultSet * getColumnPrivileges(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
  virtual ::java::sql::ResultSet * getTablePrivileges(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
  virtual ::java::sql::ResultSet * getBestRowIdentifier(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, jint, jboolean) = 0;
  virtual ::java::sql::ResultSet * getVersionColumns(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
  virtual ::java::sql::ResultSet * getPrimaryKeys(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
  virtual ::java::sql::ResultSet * getImportedKeys(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
  virtual ::java::sql::ResultSet * getExportedKeys(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
  virtual ::java::sql::ResultSet * getCrossReference(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
  virtual ::java::sql::ResultSet * getTypeInfo() = 0;
  virtual ::java::sql::ResultSet * getIndexInfo(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, jboolean, jboolean) = 0;
  virtual jboolean supportsResultSetType(jint) = 0;
  virtual jboolean supportsResultSetConcurrency(jint, jint) = 0;
  virtual jboolean ownUpdatesAreVisible(jint) = 0;
  virtual jboolean ownDeletesAreVisible(jint) = 0;
  virtual jboolean ownInsertsAreVisible(jint) = 0;
  virtual jboolean othersUpdatesAreVisible(jint) = 0;
  virtual jboolean othersDeletesAreVisible(jint) = 0;
  virtual jboolean othersInsertsAreVisible(jint) = 0;
  virtual jboolean updatesAreDetected(jint) = 0;
  virtual jboolean deletesAreDetected(jint) = 0;
  virtual jboolean insertsAreDetected(jint) = 0;
  virtual jboolean supportsBatchUpdates() = 0;
  virtual ::java::sql::ResultSet * getUDTs(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, JArray< jint > *) = 0;
  virtual ::java::sql::Connection * getConnection() = 0;
  virtual jboolean supportsSavepoints() = 0;
  virtual jboolean supportsNamedParameters() = 0;
  virtual jboolean supportsMultipleOpenResults() = 0;
  virtual jboolean supportsGetGeneratedKeys() = 0;
  virtual ::java::sql::ResultSet * getSuperTypes(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
  virtual ::java::sql::ResultSet * getSuperTables(::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
  virtual ::java::sql::ResultSet * getAttributes(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *) = 0;
  virtual jboolean supportsResultSetHoldability(jint) = 0;
  virtual jint getResultSetHoldability() = 0;
  virtual jint getDatabaseMajorVersion() = 0;
  virtual jint getDatabaseMinorVersion() = 0;
  virtual jint getJDBCMajorVersion() = 0;
  virtual jint getJDBCMinorVersion() = 0;
  virtual jint getSQLStateType() = 0;
  virtual jboolean locatorsUpdateCopy() = 0;
  virtual jboolean supportsStatementPooling() = 0;
  static const jint procedureResultUnknown = 0;
  static const jint procedureNoResult = 1;
  static const jint procedureReturnsResult = 2;
  static const jint procedureColumnUnknown = 0;
  static const jint procedureColumnIn = 1;
  static const jint procedureColumnInOut = 2;
  static const jint procedureColumnOut = 4;
  static const jint procedureColumnReturn = 5;
  static const jint procedureColumnResult = 3;
  static const jint procedureNoNulls = 0;
  static const jint procedureNullable = 1;
  static const jint procedureNullableUnknown = 2;
  static const jint columnNoNulls = 0;
  static const jint columnNullable = 1;
  static const jint columnNullableUnknown = 2;
  static const jint bestRowTemporary = 0;
  static const jint bestRowTransaction = 1;
  static const jint bestRowSession = 2;
  static const jint bestRowUnknown = 0;
  static const jint bestRowNotPseudo = 1;
  static const jint bestRowPseudo = 2;
  static const jint versionColumnUnknown = 0;
  static const jint versionColumnNotPseudo = 1;
  static const jint versionColumnPseudo = 2;
  static const jint importedKeyCascade = 0;
  static const jint importedKeyRestrict = 1;
  static const jint importedKeySetNull = 2;
  static const jint importedKeyNoAction = 3;
  static const jint importedKeySetDefault = 4;
  static const jint importedKeyInitiallyDeferred = 5;
  static const jint importedKeyInitiallyImmediate = 6;
  static const jint importedKeyNotDeferrable = 7;
  static const jint typeNoNulls = 0;
  static const jint typeNullable = 1;
  static const jint typeNullableUnknown = 2;
  static const jint typePredNone = 0;
  static const jint typePredChar = 1;
  static const jint typePredBasic = 2;
  static const jint typeSearchable = 3;
  static const jshort tableIndexStatistic = 0;
  static const jshort tableIndexClustered = 1;
  static const jshort tableIndexHashed = 2;
  static const jshort tableIndexOther = 3;
  static const jshort attributeNoNulls = 0;
  static const jshort attributeNullable = 1;
  static const jshort attributeNullableUnknown = 2;
  static const jint sqlStateXOpen = 1;
  static const jint sqlStateSQL99 = 2;
  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif // __java_sql_DatabaseMetaData__