1 package com.daffodilwoods.daffodildb.server.serversystem; 2 3 import java.sql.*; 4 import java.util.*; 5 6 import com.daffodilwoods.daffodildb.server.datadictionarysystem.*; 7 import com.daffodilwoods.daffodildb.server.datasystem.interfaces.*; 8 import com.daffodilwoods.daffodildb.server.serversystem.triggerInfo.*; 9 import com.daffodilwoods.daffodildb.server.sessionsystem.*; 10 import com.daffodilwoods.daffodildb.server.sql99.dml.declarecursor.*; 11 import com.daffodilwoods.daffodildb.server.sql99.dql.execution.*; 12 import com.daffodilwoods.daffodildb.server.sql99.dql.iterator.*; 13 import com.daffodilwoods.daffodildb.server.sql99.dql.plan.table.*; 14 import com.daffodilwoods.daffodildb.server.sql99.dql.queryexpression.orderbyclause.*; 15 import com.daffodilwoods.daffodildb.server.sql99.expression.booleanvalueexpression.*; 16 import com.daffodilwoods.daffodildb.utils.byteconverter.*; 17 import com.daffodilwoods.database.general.*; 18 import com.daffodilwoods.database.resource.*; 19 20 28 29 public class CheckConstraintServerSession implements _ServerSession { 30 private _ServerSession serverSession; 31 private _ServerSession globalSession; 32 33 public CheckConstraintServerSession(_ServerSession serverSession0, _ServerSession globalSession0) { 34 serverSession = serverSession0; 35 globalSession = globalSession0; 36 } 37 38 public Object execute(String query, int queryTimeOut) throws DException { 39 throw new java.lang.UnsupportedOperationException ("Method execute() not yet implemented."); 40 } 41 42 public Object executeUpdate(String querys, int queryTimeOut) throws DException { 43 throw new java.lang.UnsupportedOperationException ("Method executeUpdate() not yet implemented."); 44 } 45 46 public Object executeQuery(String query, int queryTimeOut) throws DException { 47 return globalSession.executeQuery(query, queryTimeOut); 48 } 49 50 public Object executeParameterised(String query, int queryTimeOut) throws DException { 51 throw new java.lang.UnsupportedOperationException ("Method executeParameterised() not yet implemented."); 52 } 53 54 public Object executeUpdateParameterised(String querys, int queryTimeOut) throws DException { 55 throw new java.lang.UnsupportedOperationException ("Method executeUpdateParameterised() not yet implemented."); 56 } 57 58 public Object executeQueryParameterised(String query, int queryTimeOut) throws DException { 59 return globalSession.executeQueryParameterised(query, queryTimeOut); 60 } 61 62 public _ServerTable getServerTable(QualifiedIdentifier tableName) throws DException { 63 throw new java.lang.UnsupportedOperationException ("Method getServerTable() not yet implemented."); 64 } 65 66 public _Iterator getIterator(QualifiedIdentifier tableName, _SingleTableExecuter singleTableExecuter) throws DException { 67 return globalSession.getIterator(tableName, singleTableExecuter); 68 } 69 70 public _StatementExecutionContext getStatementExecutionContext() throws DException { 71 return serverSession.getStatementExecutionContext(); 72 } 73 74 public _ColumnCharacteristics getColumnCharacteristics(QualifiedIdentifier tblName) throws DException { 75 return globalSession.getColumnCharacteristics(tblName); 76 } 77 78 public void rollback() throws DException { 79 throw new java.lang.UnsupportedOperationException ("Method rollback() not yet implemented."); 80 } 81 82 public void commit() throws DException { 83 throw new java.lang.UnsupportedOperationException ("Method commit() not yet implemented."); 84 } 85 86 public void close() throws DException { 87 throw new java.lang.UnsupportedOperationException ("Method close() not yet implemented."); 88 } 89 90 public void setUserSession(_UserSession userSession) throws DException { 91 throw new java.lang.UnsupportedOperationException ("Method setUserSession() not yet implemented."); 92 } 93 94 public _UserSession getUserSession() throws DException { 95 throw new java.lang.UnsupportedOperationException ("Method getUserSession() not yet implemented."); 96 } 97 98 public _ServerSession getGlobalSession() throws DException { 99 return globalSession; 100 } 101 102 public boolean makePersistent() throws DException { 103 throw new java.lang.UnsupportedOperationException ("Method makePersistent() not yet implemented."); 104 } 105 106 public boolean prepare() throws DException { 107 throw new java.lang.UnsupportedOperationException ("Method prepare() not yet implemented."); 108 } 109 110 public _ServerSession getSystemServerSession() throws DException { 111 return serverSession.getSystemServerSession(); 112 } 113 114 public _DataDictionary getDataDictionary() throws DException { 115 return globalSession.getDataDictionary(); 116 } 117 118 public String getDatabaseURL() throws DException { 119 return serverSession.getDatabaseURL(); 120 } 121 122 public String getModuleSchema() throws DException { 123 return serverSession.getModuleSchema(); 124 } 125 126 public String getModuleCatalog() throws DException { 127 return serverSession.getModuleCatalog(); 128 } 129 130 public String getCurrentRole() throws DException { 131 return serverSession.getCurrentRole(); 132 } 133 134 public String getCurrentUser() throws DException { 135 return serverSession.getCurrentUser(); 136 } 137 138 public java.sql.Date getDate() throws DException { 139 return serverSession.getDate(); 140 } 141 142 public Time getTime() throws DException { 143 return serverSession.getTime(); 144 } 145 146 public void deleteTable(QualifiedIdentifier tableName, boolean dropTable) throws DException { 147 throw new java.lang.UnsupportedOperationException ("Method deleteTable() not yet implemented."); 148 } 149 150 public String getCurrentSchema() throws DException { 151 return serverSession.getCurrentSchema(); 152 } 153 154 public String getCurrentCatalog() throws DException { 155 return serverSession.getCurrentCatalog(); 156 } 157 158 public boolean isEnabledAuthorizationIdentifier(String authorizationIdentifier, boolean checkBrowserUser) throws DException { 159 return serverSession.isEnabledAuthorizationIdentifier(authorizationIdentifier, checkBrowserUser); 160 } 161 162 public String getAuthorizationIdentifier() throws DException { 163 return serverSession.getAuthorizationIdentifier(); 164 } 165 166 public void setTransactionMode(SessionTransactionMode sessionTransactionMode) throws DException { 167 throw new java.lang.UnsupportedOperationException ("Method setTransactionMode() not yet implemented."); 168 } 169 170 public SessionTransactionMode getTransactionMode() throws DException { 171 throw new java.lang.UnsupportedOperationException ("Method getTransactionMode() not yet implemented."); 172 } 173 174 public void setCurrentCatalog(String currentCatalog) throws DException { 175 throw new java.lang.UnsupportedOperationException ("Method setCurrentCatalog() not yet implemented."); 176 } 177 178 public void setCurrentSchema(String currentSchema) throws DException { 179 throw new java.lang.UnsupportedOperationException ("Method setCurrentSchema() not yet implemented."); 180 } 181 182 public java.sql.Timestamp getTimeStamp() throws DException { 183 return serverSession.getTimeStamp(); 184 } 185 186 public String getDatabase() throws DException { 187 return serverSession.getDatabase(); 188 } 189 190 public int getIsolationLevel() throws DException { 191 throw new java.lang.UnsupportedOperationException ("Method getIsolationLevel() not yet implemented."); 192 } 193 194 public Object getSessionConstant() throws DException { 195 throw new java.lang.UnsupportedOperationException ("Method getSessionConstant() not yet implemented."); 196 } 197 198 public TimeZone getTimeZone() throws DException { 199 return serverSession.getTimeZone(); 200 } 201 202 public void createDatabase(String databaseName, Properties prop) throws DException { 203 throw new java.lang.UnsupportedOperationException ("Method createDatabase() not yet implemented."); 204 } 205 206 public _IndexTable getIndexTable(QualifiedIdentifier tableName) throws DException { 207 return globalSession.getIndexTable(tableName); 208 } 209 210 public int getType() { 211 return globalSession.getType(); 212 } 213 214 public void createIndex(QualifiedIdentifier tableName, String indexName, boolean nonUnique) throws DException { 215 throw new java.lang.UnsupportedOperationException ("Method createIndex() not yet implemented."); 216 } 217 218 public void createTable(QualifiedIdentifier tableName) throws DException { 219 throw new java.lang.UnsupportedOperationException ("Method createIndex() not yet implemented."); 220 } 221 222 public void createIndexForSystemTable(QualifiedIdentifier tableName, String indexName) throws DException { 223 throw new java.lang.UnsupportedOperationException ("Method createIndex() not yet implemented."); 224 } 225 226 public void dropTable(QualifiedIdentifier tableName) throws DException { 227 throw new java.lang.UnsupportedOperationException ("Method dropTable() not yet implemented."); 228 } 229 230 public void dropIndex(QualifiedIdentifier tableName, String indexName) throws DException { 231 throw new java.lang.UnsupportedOperationException ("Method dropIndex() not yet implemented."); 232 } 233 234 public _Iterator getIndexedIterator(_Iterator iterator, _ExpressionOrderValues orderValues, CbCUsffWbmvfIboemfs tempHandler) throws DException { 235 return globalSession.getIndexedIterator(iterator, orderValues, tempHandler); 236 } 237 238 public HashMap getViewMap() throws DException { 239 return serverSession.getViewMap(); 240 } 241 242 public _ViewObject getViewObject(QualifiedIdentifier viewName, boolean checkUserRight) throws DException { 243 return serverSession.getViewObject(viewName, checkUserRight); 244 } 245 246 public boolean getAutoCommit() { 247 throw new java.lang.UnsupportedOperationException ("Method getAutoCommit() not yet implemented."); 248 } 249 250 public _Iterator getForeignKeyIterator(QualifiedIdentifier tableName, _SingleTableExecuter conditionExeceuter, _TableAlias[] tableAlias) throws DException { 251 throw new java.lang.UnsupportedOperationException ("Method getForeignKeyIterator() not yet implemented."); 252 } 253 254 public Object [] getForeignConstraintCharacteritics(QualifiedIdentifier tableName, String columnName) throws DException { 255 throw new java.lang.UnsupportedOperationException ("Method getForeignKeyIterator() not yet implemented."); 256 } 257 258 public String [] getUniqueInformation(QualifiedIdentifier tableName) throws DException { 259 return globalSession.getUniqueInformation(tableName); 260 } 261 262 public boolean cursorAlreadyCreated(String name) { 263 return globalSession.cursorAlreadyCreated(name); 264 } 265 266 public void addCursor(String cname, _Cursor cur) { 267 globalSession.addCursor(cname, cur); 268 } 269 270 public _Cursor getCursor(String cname) { 271 return globalSession.getCursor(cname); 272 } 273 274 public _SequenceManager getSequenceManager() throws DException { 275 return serverSession.getSequenceManager(); 276 } 277 278 public int getEstimatedRowCount(QualifiedIdentifier parm1) throws DException { 279 return globalSession.getEstimatedRowCount(parm1); 280 } 281 282 public Object getSessionId() throws DException { 283 throw new java.lang.UnsupportedOperationException ("Method getSessionId() not yet implemented."); 284 } 285 286 public Object [] createDeepRecordCopy(QualifiedIdentifier tableName, Object [] keys) throws DException { 287 throw new java.lang.UnsupportedOperationException ("Method createDeepRecordCopy() not yet implemented."); 288 } 289 290 public void startSavePoint() throws DException { 291 throw new java.lang.UnsupportedOperationException ("Method startSavePoint() not yet implemented."); 292 } 293 294 public void commitSavePoint() throws DException { 295 throw new java.lang.UnsupportedOperationException ("Method commitSavePoint() not yet implemented."); 296 } 297 298 public void rollbackSavePoint() throws DException { 299 throw new java.lang.UnsupportedOperationException ("Method rollbackSavePoint() not yet implemented."); 300 } 301 302 public void releaseSavePoint() throws DException { 303 throw new java.lang.UnsupportedOperationException ("Method releaseSavePoint() not yet implemented."); 304 } 305 306 public void alterTable(QualifiedIdentifier tableName, _ColumnCharacteristics cc, Object defaultValue) throws DException { 307 throw new java.lang.UnsupportedOperationException ("Method alterTable() not yet implemented."); 308 } 309 310 public boolean isConstraintCheckingDeffered() { 311 return globalSession.isConstraintCheckingDeffered(); 312 } 313 314 public void dropDatabase(String databaseName, String userName, String password) throws DException { 315 throw new java.lang.UnsupportedOperationException ("Method dropDatabase() not yet implemented."); 316 } 317 318 public boolean isDataModified() throws DException { 319 return globalSession.isDataModified(); 320 } 321 322 public void hideSavePoint() throws DException { 323 throw new java.lang.UnsupportedOperationException ("Method hideSavePoint() not yet implemented."); 324 } 325 326 public void unhideSavePoint() throws DException { 327 throw new java.lang.UnsupportedOperationException ("Method unhideSavePoint() not yet implemented."); 328 } 329 330 public void ignoreParallelSavePoint() throws DException { 331 throw new java.lang.UnsupportedOperationException ("Method ignoreParallelSavePoint() not yet implemented."); 332 } 333 334 public void allowParallelSavePoint() throws DException { 335 throw new java.lang.UnsupportedOperationException ("Method allowParallelSavePoint() not yet implemented."); 336 } 337 338 public void checkImmediateConstraintsOnCommit() throws DException { 339 throw new java.lang.UnsupportedOperationException ("Method checkImmediateConstraintsOnCommit() not yet implemented."); 340 } 341 342 public void rollbackSavePoint(String savepoint) throws DException { 343 throw new java.lang.UnsupportedOperationException ("Method rollbackSavePoint() not yet implemented."); 344 } 345 346 public void releaseSavePoint(String savepoint) throws DException { 347 throw new java.lang.UnsupportedOperationException ("Method releaseSavePoint() not yet implemented."); 348 } 349 350 public void setSavePoint(String savepoint) throws DException { 351 throw new java.lang.UnsupportedOperationException ("Method startSavePoint() not yet implemented."); 352 } 353 354 public String setSavePoint() throws DException { 355 throw new java.lang.UnsupportedOperationException ("Method startSavePoint() not yet implemented."); 356 } 357 358 public Object execute(String query, int queryTimeOut, int type) throws DException { 359 throw new java.lang.UnsupportedOperationException ("Method execute not yet implemented."); 360 } 361 362 public Object executeQuery(String query, int queryTimeOut, int type) throws DException { 363 throw new java.lang.UnsupportedOperationException ("Method executeQueryt not yet implemented."); 364 } 365 366 public void setRole(String roleName) throws DException { 367 throw new java.lang.UnsupportedOperationException ("Method setRole not yet implemented."); 368 } 369 370 public boolean isActiveAuthorization(String authorization) throws DException { 371 return serverSession.isActiveAuthorization(authorization); 372 } 373 374 public void createFullTextIndex(QualifiedIdentifier tableName, String indexName, String [] columnName) throws DException { 375 throw new java.lang.UnsupportedOperationException ("Method createFullTextIndex() not yet implemented."); 376 } 377 378 public void dropFullTextIndex(QualifiedIdentifier tableName, String indexName) throws DException { 379 throw new java.lang.UnsupportedOperationException ("Method dropFullTextIndex() not yet implemented."); 380 } 381 382 public _Iterator getInternalIterator(QualifiedIdentifier tableName, _SingleTableExecuter singleTableExecuter) throws DException { 383 return globalSession.getInternalIterator(tableName, singleTableExecuter); 384 } 385 386 public double getDbVersion() throws DException { 387 return globalSession.getDbVersion(); 388 } 389 390 public void refereshTable(QualifiedIdentifier tableName, 391 boolean dropTable) throws DException { 392 throw new java.lang.UnsupportedOperationException ("Method refereshTable() not yet implemented."); 393 } 394 395 public _Triggers[] getAfterInsertTrigger(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext) throws DException { 396 throw new java.lang.UnsupportedOperationException ("Method getAfterInsertTrigger() not yet implemented."); 397 } 398 399 public _Triggers[] getBeforeInsertTrigger(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext) throws DException { 400 throw new java.lang.UnsupportedOperationException ("Method getBeforeInsertTrigger() not yet implemented."); 401 } 402 403 public _Triggers[] getAfterUpdateTrigger(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext, int[] cols) throws DException { 404 throw new java.lang.UnsupportedOperationException ("Method getAfterUpdateTrigger() not yet implemented."); 405 } 406 407 public _Triggers[] getBeforeUpdateTrigger(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext, int[] cols) throws DException { 408 throw new java.lang.UnsupportedOperationException ("Method getBeforeUpdateTrigger() not yet implemented."); 409 } 410 411 public _Triggers[] getAfterDeleteTrigger(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext) throws DException { 412 throw new java.lang.UnsupportedOperationException ("Method getAfterDeleteTrigger() not yet implemented."); 413 } 414 415 public _Triggers[] getBeforeDeleteTrigger(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext) throws DException { 416 throw new java.lang.UnsupportedOperationException ("Method getBeforeDeleteTrigger() not yet implemented."); 417 } 418 419 public void refreshTriggerInfo(QualifiedIdentifier tableName) throws DException { 420 throw new java.lang.UnsupportedOperationException ("Method refreshTriggerInfo() not yet implemented."); 421 } 422 423 public void refreshTriggers(QualifiedIdentifier tableName) throws DException { 424 throw new java.lang.UnsupportedOperationException ("Method refreshTriggers() not yet implemented."); 425 } 426 427 public _Triggers[] getAfterInsertTriggerOfStatementLevel(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext) throws DException { 428 throw new java.lang.UnsupportedOperationException ("Method getAfterInsertTriggerOfStatementLevel() not yet implemented."); 429 } 430 431 public _Triggers[] getBeforeInsertTriggerOfStatementLevel(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext) throws DException { 432 throw new java.lang.UnsupportedOperationException ("Method getBeforeInsertTriggerOfStatementLevel() not yet implemented."); 433 } 434 435 public _Triggers[] getAfterUpdateTriggerOfStatementLevel(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext, int[] cols) throws DException { 436 throw new java.lang.UnsupportedOperationException ("Method getAfterUpdateTriggerOfStatementLevel() not yet implemented."); 437 } 438 439 public _Triggers[] getBeforeUpdateTriggerOfStatementLevel(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext, int[] cols) throws DException { 440 throw new java.lang.UnsupportedOperationException ("Method getBeforeUpdateTriggerOfStatementLevel() not yet implemented."); 441 } 442 443 public _Triggers[] getAfterDeleteTriggerOfStatementLevel(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext) throws DException { 444 throw new java.lang.UnsupportedOperationException ("Method getAfterDeleteTriggerOfStatementLevel() not yet implemented."); 445 } 446 447 public _Triggers[] getBeforeDeleteTriggerOfStatementLevel(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext) throws DException { 448 throw new java.lang.UnsupportedOperationException ("Method getBeforeDeleteTriggerOfStatementLevel() not yet implemented."); 449 } 450 451 public ArrayList getCreateIndexList() throws DException { 452 throw new java.lang.UnsupportedOperationException ("Method getCreateIndexList() not yet implemented."); 453 } 454 455 public void resetTime() throws DException { 456 globalSession.resetTime(); 457 } 458 459 public void refreshConstraint(QualifiedIdentifier tableName) throws DException { 460 throw new java.lang.UnsupportedOperationException ("Method refreshConstraint() not yet implemented."); 461 } 462 public int getTypeForPrivilige() throws DException { 463 return -1; 464 } 465 466 467 } 468 469 470 | Popular Tags |