1 package com.daffodilwoods.daffodildb.server.sessionsystem; 2 3 import java.sql.*; 4 import java.sql.Date ; 5 import java.util.*; 6 7 import com.daffodilwoods.daffodildb.server.datadictionarysystem.*; 8 import com.daffodilwoods.daffodildb.server.datasystem.indexsystem.*; 9 import com.daffodilwoods.daffodildb.server.datasystem.interfaces.*; 10 import com.daffodilwoods.daffodildb.server.datasystem.mergesystem.*; 11 import com.daffodilwoods.daffodildb.server.serversystem.*; 12 import com.daffodilwoods.daffodildb.server.serversystem.triggerInfo.*; 13 import com.daffodilwoods.daffodildb.server.sessionsystem.sessioncondition.*; 14 import com.daffodilwoods.daffodildb.server.sql99.*; 15 import com.daffodilwoods.daffodildb.server.sql99.dml.declarecursor.*; 16 import com.daffodilwoods.daffodildb.server.sql99.dql.execution.*; 17 import com.daffodilwoods.daffodildb.server.sql99.dql.iterator.*; 18 import com.daffodilwoods.daffodildb.server.sql99.dql.iterator.order.*; 19 import com.daffodilwoods.daffodildb.server.sql99.dql.listenerevents.*; 20 import com.daffodilwoods.daffodildb.server.sql99.dql.plan.table.*; 21 import com.daffodilwoods.daffodildb.server.sql99.dql.queryexpression.*; 22 import com.daffodilwoods.daffodildb.server.sql99.dql.queryexpression.orderbyclause.*; 23 import com.daffodilwoods.daffodildb.server.sql99.expression.booleanvalueexpression.*; 24 import com.daffodilwoods.daffodildb.utils.byteconverter.*; 25 import com.daffodilwoods.daffodildb.utils.parser.*; 26 import com.daffodilwoods.database.general.*; 27 import com.daffodilwoods.database.resource.*; 28 import com.daffodilwoods.database.utility.*; 29 import com.daffodilwoods.daffodildb.server.sessionsystem.sessionversioninfo.SessionVersionHandler; 30 31 public class GlobalSession implements _ServerSession { 32 33 private _Database mergeDatabase; 34 private _DataDictionary dataDictionary; 35 36 int type = IteratorConstants.NONSCROLLABLE; 37 private boolean isReadOnlyMode; 38 public DateTimeFunctions dateTimeFunctions; 39 40 public GlobalSession(_Database mergeDatabase0, _DataDictionary dataDictionary0, boolean isReadOnlyMode0) throws DException { 41 mergeDatabase = mergeDatabase0; 42 dataDictionary = dataDictionary0; 43 isReadOnlyMode = isReadOnlyMode0; 44 dateTimeFunctions = new DateTimeFunctions(); 45 } 46 47 53 54 55 58 59 public _ColumnCharacteristics getColumnCharacteristics(QualifiedIdentifier tableName) throws DException { 60 return dataDictionary.getColumnCharacteristics(tableName, true); 61 } 62 63 public Object execute(String parm1, int parm2) throws com.daffodilwoods.database.resource.DException { 64 65 throw new java.lang.UnsupportedOperationException ("Method execute() not yet implemented."); 66 } 67 68 public Object executeUpdate(String parm1, int parm2) throws com.daffodilwoods.database.resource.DException { 69 70 throw new java.lang.UnsupportedOperationException ("Method executeUpdate() not yet implemented."); 71 } 72 73 public Object executeQuery(String query, int parm2) throws com.daffodilwoods.database.resource.DException { 74 Object parsedQuery = Parser.parseQuery(query); 75 if (parsedQuery instanceof queryexpression ) { 76 _Executer executer = (_Executer) ( (queryexpression) parsedQuery).run(this); 77 return executer.execute( (Object [])null); 78 } 79 throw new DException("DSE86", null); 80 } 81 82 public Object executeParameterised(String parm1, int parm2) throws com.daffodilwoods.database.resource.DException { 83 84 throw new java.lang.UnsupportedOperationException ("Method executeParameterised() not yet implemented."); 85 } 86 87 public Object executeUpdateParameterised(String parm1, int parm2) throws com.daffodilwoods.database.resource.DException { 88 89 throw new java.lang.UnsupportedOperationException ("Method executeUpdateParameterised() not yet implemented."); 90 } 91 92 public Object executeQueryParameterised(String query, int parm2) throws com.daffodilwoods.database.resource.DException { 93 Object parsedQuery = Parser.parseQuery(query); 94 if (parsedQuery instanceof queryexpression ) { 95 return ( (queryexpression) parsedQuery).run(this); 96 } 97 throw new DException("DSE86", null); 98 } 99 100 public _ServerTable getServerTable(QualifiedIdentifier parm1) throws com.daffodilwoods.database.resource.DException { 101 102 throw new java.lang.UnsupportedOperationException ("Method getServerTable() not yet implemented."); 103 } 104 105 public _StatementExecutionContext getStatementExecutionContext() throws com.daffodilwoods.database.resource.DException { 106 107 throw new java.lang.UnsupportedOperationException ("Method getStatementExecutionContext() not yet implemented."); 108 } 109 110 public void rollback() throws com.daffodilwoods.database.resource.DException { 111 112 throw new java.lang.UnsupportedOperationException ("Method rollback() not yet implemented."); 113 } 114 115 public void commit() throws com.daffodilwoods.database.resource.DException { 116 117 throw new java.lang.UnsupportedOperationException ("Method commit() not yet implemented."); 118 } 119 120 public void close() throws com.daffodilwoods.database.resource.DException { 121 122 throw new java.lang.UnsupportedOperationException ("Method close() not yet implemented."); 123 } 124 125 public void setUserSession(_UserSession parm1) throws com.daffodilwoods.database.resource.DException { 126 127 throw new java.lang.UnsupportedOperationException ("Method setUserSession() not yet implemented."); 128 } 129 130 public _UserSession getUserSession() throws com.daffodilwoods.database.resource.DException { 131 132 throw new java.lang.UnsupportedOperationException ("Method getUserSession() not yet implemented."); 133 } 134 135 public _ServerSession getGlobalSession() throws com.daffodilwoods.database.resource.DException { 136 137 throw new java.lang.UnsupportedOperationException ("Method getGlobalSession() not yet implemented."); 138 } 139 140 public boolean makePersistent() throws com.daffodilwoods.database.resource.DException { 141 142 throw new java.lang.UnsupportedOperationException ("Method makePersistent() not yet implemented."); 143 } 144 145 public boolean prepare() throws com.daffodilwoods.database.resource.DException { 146 147 throw new java.lang.UnsupportedOperationException ("Method prepare() not yet implemented."); 148 } 149 150 public _ServerSession getSystemServerSession() throws com.daffodilwoods.database.resource.DException { 151 152 throw new java.lang.UnsupportedOperationException ("Method getSystemServerSession() not yet implemented."); 153 } 154 155 public _DataDictionary getDataDictionary() throws com.daffodilwoods.database.resource.DException { 156 return dataDictionary; 157 } 158 159 public String getDatabaseURL() throws com.daffodilwoods.database.resource.DException { 160 161 throw new java.lang.UnsupportedOperationException ("Method getDatabaseURL() not yet implemented."); 162 } 163 164 public String getModuleSchema() throws com.daffodilwoods.database.resource.DException { 165 166 throw new java.lang.UnsupportedOperationException ("Method getModuleSchema() not yet implemented."); 167 } 168 169 public String getModuleCatalog() throws com.daffodilwoods.database.resource.DException { 170 171 throw new java.lang.UnsupportedOperationException ("Method getModuleCatalog() not yet implemented."); 172 } 173 174 public String getCurrentRole() throws com.daffodilwoods.database.resource.DException { 175 176 throw new java.lang.UnsupportedOperationException ("Method getCurrentRole() not yet implemented."); 177 } 178 179 public String getCurrentUser() throws com.daffodilwoods.database.resource.DException { 180 181 throw new java.lang.UnsupportedOperationException ("Method getCurrentUser() not yet implemented."); 182 } 183 184 public Date getDate() throws com.daffodilwoods.database.resource.DException { 185 return dateTimeFunctions.getDate(); 186 } 187 188 public Time getTime() throws com.daffodilwoods.database.resource.DException { 189 190 return dateTimeFunctions.getTime(); 191 } 192 193 public void deleteTable(QualifiedIdentifier parm1, boolean parm2) throws com.daffodilwoods.database.resource.DException { 194 195 throw new java.lang.UnsupportedOperationException ("Method deleteTable() not yet implemented."); 196 } 197 198 public String getCurrentSchema() throws com.daffodilwoods.database.resource.DException { 199 200 throw new java.lang.UnsupportedOperationException ("Method getCurrentSchema() not yet implemented."); 201 } 202 203 public String getCurrentCatalog() throws com.daffodilwoods.database.resource.DException { 204 205 throw new java.lang.UnsupportedOperationException ("Method getCurrentCatalog() not yet implemented."); 206 } 207 208 public boolean isEnabledAuthorizationIdentifier(String parm1, boolean checkBrowserUser) throws com.daffodilwoods.database.resource.DException { 209 210 throw new java.lang.UnsupportedOperationException ("Method isEnabledAuthorizationIdentifier() not yet implemented."); 211 } 212 213 public String getAuthorizationIdentifier() throws com.daffodilwoods.database.resource.DException { 214 215 throw new java.lang.UnsupportedOperationException ("Method getAuthorizationIdentifier() not yet implemented."); 216 } 217 218 public void setTransactionMode(SessionTransactionMode parm1) throws com.daffodilwoods.database.resource.DException { 219 220 throw new java.lang.UnsupportedOperationException ("Method setTransactionMode() not yet implemented."); 221 } 222 223 public SessionTransactionMode getTransactionMode() throws com.daffodilwoods.database.resource.DException { 224 225 throw new java.lang.UnsupportedOperationException ("Method getTransactionMode() not yet implemented."); 226 } 227 228 public void setCurrentCatalog(String parm1) throws com.daffodilwoods.database.resource.DException { 229 230 throw new java.lang.UnsupportedOperationException ("Method setCurrentCatalog() not yet implemented."); 231 } 232 233 public void setCurrentSchema(String parm1) throws com.daffodilwoods.database.resource.DException { 234 235 throw new java.lang.UnsupportedOperationException ("Method setCurrentSchema() not yet implemented."); 236 } 237 238 public Timestamp getTimeStamp() throws com.daffodilwoods.database.resource.DException { 239 240 return dateTimeFunctions.getTimeStamp(); 241 } 242 243 public String getDatabase() throws com.daffodilwoods.database.resource.DException { 244 245 throw new java.lang.UnsupportedOperationException ("Method getDatabase() not yet implemented."); 246 } 247 248 public int getIsolationLevel() throws com.daffodilwoods.database.resource.DException { 249 250 throw new java.lang.UnsupportedOperationException ("Method getIsolationLevel() not yet implemented."); 251 } 252 253 public Object getSessionConstant() throws com.daffodilwoods.database.resource.DException { 254 255 throw new java.lang.UnsupportedOperationException ("Method getSessionConstant() not yet implemented."); 256 } 257 258 public TimeZone getTimeZone() throws com.daffodilwoods.database.resource.DException { 259 260 throw new java.lang.UnsupportedOperationException ("Method getTimeZone() not yet implemented."); 261 } 262 263 public void createDatabase(String parm1, Properties parm2) throws com.daffodilwoods.database.resource.DException { 264 265 throw new java.lang.UnsupportedOperationException ("Method createDatabase() not yet implemented."); 266 } 267 268 public _IndexTable getIndexTable(QualifiedIdentifier parm1) throws com.daffodilwoods.database.resource.DException { 269 return (_IndexTable) mergeDatabase.getTable(parm1); 270 } 271 272 public int getType() { 273 return type; 274 } 275 276 public void setType(int type0) { 277 type = type0; 278 } 279 280 public _Iterator getIndexedIterator(_Iterator iterator, _ExpressionOrderValues order, CbCUsffWbmvfIboemfs btreeValueHandler) throws DException { 281 if (isReadOnlyMode) { 282 return new ReadOnlyTempIndexIterator(iterator, order, ( (MergeDatabase) mergeDatabase).getVersionHandler()); 283 } else { 284 TempIndexDatabase tempIndexDatabase = (TempIndexDatabase) ( ( 285 MergeDatabase) mergeDatabase).getMemoryDatabase(); 286 return new TemporaryIndexIterator(iterator, order, btreeValueHandler, 287 tempIndexDatabase); 288 } 289 } 290 291 public void createTable(QualifiedIdentifier tableName) throws DException { 292 293 throw new java.lang.UnsupportedOperationException ("Method createIndex() not yet implemented."); 294 } 295 296 public void createIndexForSystemTable(QualifiedIdentifier tableName, String indexName) throws DException { 297 298 throw new java.lang.UnsupportedOperationException ("Method createIndex() not yet implemented."); 299 } 300 301 public void dropTable(QualifiedIdentifier parm1) throws com.daffodilwoods.database.resource.DException { 302 303 throw new java.lang.UnsupportedOperationException ("Method dropTable() not yet implemented."); 304 } 305 306 public void dropIndex(QualifiedIdentifier parm1, String parm2) throws com.daffodilwoods.database.resource.DException { 307 308 throw new java.lang.UnsupportedOperationException ("Method dropIndex() not yet implemented."); 309 } 310 311 public boolean getAutoCommit() { 312 313 throw new java.lang.UnsupportedOperationException ("Method getAutoCommit() not yet implemented."); 314 } 315 316 public String [] getUniqueInformation(QualifiedIdentifier tableName) throws DException { 317 _PrimaryAndUniqueConstraintCharacteristics pucc = getDataDictionary().getDDSConstraintsOperation().getPrimaryAndUniqueConstraintCharacteristics(tableName, false); 318 _UniqueConstraint uc = pucc.getPrimaryConstraints(); 319 return uc == null ? null : uc.getColumnNames(); 320 } 321 322 public _ServerSession getChildSession() throws DException { 323 324 throw new java.lang.UnsupportedOperationException ("Method getChildSession() not yet implemented."); 325 } 326 327 public _Iterator getForeignKeyIterator(QualifiedIdentifier tableName, _SingleTableExecuter conditionExecuter, _TableAlias[] tableAlias) throws DException { 328 329 throw new java.lang.UnsupportedOperationException ("Method getForeignKeyIterator() not yet implemented."); 330 } 331 332 public Object [] getForeignConstraintCharacteritics(QualifiedIdentifier tableName, String columnName) throws DException { 333 334 throw new java.lang.UnsupportedOperationException ("Method getForeignKeyIterator() not yet implemented."); 335 } 336 337 public synchronized _ViewObject getViewObject(QualifiedIdentifier viewName, boolean checkUserRight) throws DException { 338 return null; 339 } 340 341 public HashMap getViewMap() throws DException { 342 return null; 343 } 344 345 public boolean cursorAlreadyCreated(String name) { 346 return true; 347 } 348 349 public void addCursor(String cname, _Cursor cur) { 350 } 351 352 public _Cursor getCursor(String name) { 353 return null; 354 } 355 356 public int getEstimatedRowCount(QualifiedIdentifier parm1) throws com.daffodilwoods.database.resource.DException { 357 return ( (_IndexTable) mergeDatabase.getTable(parm1)).getEstimatedRowCount(); 358 } 359 360 public void createIndex(QualifiedIdentifier parm1, String parm2, boolean parm3) throws com.daffodilwoods.database.resource.DException { 361 362 throw new java.lang.UnsupportedOperationException ("Method createIndex() not yet implemented."); 363 } 364 365 public Object getSessionId() throws DException { 366 367 throw new java.lang.UnsupportedOperationException ("Method getSessionId() not yet implemented."); 368 } 369 370 public Object [] createDeepRecordCopy(QualifiedIdentifier tableName, Object [] keys, String [] tables) throws DException { 371 throw new java.lang.UnsupportedOperationException ("Method createDeepRecordCopy() not yet implemented."); 372 } 373 374 public Object [] createDeepRecordCopy(QualifiedIdentifier tableName, Object [] keys) throws DException { 375 throw new java.lang.UnsupportedOperationException ("Method createDeepRecordCopy() not yet implemented."); 376 } 377 378 public void startSavePoint() throws DException { 379 throw new java.lang.UnsupportedOperationException ("Method startSavePoint() not yet implemented."); 380 } 381 382 public void commitSavePoint() throws DException { 383 throw new java.lang.UnsupportedOperationException ("Method commitSavePoint() not yet implemented."); 384 } 385 386 public void rollbackSavePoint() throws DException { 387 throw new java.lang.UnsupportedOperationException ("Method rollbackSavePoint() not yet implemented."); 388 } 389 390 public void releaseSavePoint() throws DException { 391 throw new java.lang.UnsupportedOperationException ("Method releaseSavePoint() not yet implemented."); 392 } 393 394 public void alterTable(QualifiedIdentifier parm1, _ColumnCharacteristics parm2, Object defaultValue) throws com.daffodilwoods.database.resource.DException { 395 396 throw new java.lang.UnsupportedOperationException ("Method alterTable() not yet implemented."); 397 } 398 399 public boolean isConstraintCheckingDeffered() { 400 return false; 401 } 402 403 public void dropDatabase(String parm1, String parm2, String parm3) throws com.daffodilwoods.database.resource.DException { 404 405 throw new java.lang.UnsupportedOperationException ("Method dropDatabase() not yet implemented."); 406 } 407 408 public _SequenceManager getSequenceManager() throws DException { 409 410 throw new java.lang.UnsupportedOperationException ("Method getSequenceManager() not yet implemented."); 411 } 412 413 public _Iterator getIterator(QualifiedIdentifier tableName, int[] columns) throws DException { 414 _MergeTable mergeTable = (_MergeTable) mergeDatabase.getTable(tableName); 415 _IndexInformation[] iinf = ( (_IndexTable) mergeTable).getIndexInformations(); 416 boolean found = false; 417 for (int i = 0; i < iinf.length; i++) { 418 int[] indexes = iinf[i].getColumnIndexes(); 419 found = false; 420 for (int j = 0; j < columns.length; j++) { 421 if (columns[j] == indexes[j]) { 422 found = true; 423 continue; 424 } else { 425 found = false; 426 break; 427 } 428 } 429 if (found) { 430 _SessionCondition sc = new RecordValidityCondition(); 431 _Iterator iterator = new NonIndexedSessionFilterIterator( ( (_IndexTable) mergeTable).getIterator(i), sc); 432 RowIdSessionIterator rsi = new RowIdSessionIterator(iterator, sc); 433 MergeTable mt = (MergeTable) mergeTable; 434 rsi.setOptimalIteartors(mt.getMemoryTable().getIterator(i), mt.getFileTable().getIterator(i)); 435 return rsi; 436 } 437 } 438 for (int i = 0; i < iinf.length; i++) { 439 int[] indexes = iinf[i].getColumnIndexes(); 440 } 441 return null; 442 } 443 444 public boolean isDataModified() throws DException { 445 446 throw new java.lang.UnsupportedOperationException ("Method isDataModified() not yet implemented."); 447 } 448 449 public void hideSavePoint() throws DException { 450 451 throw new java.lang.UnsupportedOperationException ("Method hideSavePoint() not yet implemented."); 452 } 453 454 public void unhideSavePoint() throws DException { 455 456 throw new java.lang.UnsupportedOperationException ("Method unhideSavePoint() not yet implemented."); 457 } 458 459 public void ignoreParallelSavePoint() throws DException { 460 461 throw new java.lang.UnsupportedOperationException ("Method ignoreParallelSavePoint() not yet implemented."); 462 } 463 464 public void allowParallelSavePoint() throws DException { 465 466 throw new java.lang.UnsupportedOperationException ("Method allowParallelSavePoint() not yet implemented."); 467 } 468 469 public void checkImmediateConstraintsOnCommit() throws com.daffodilwoods.database.resource.DException { 470 471 throw new java.lang.UnsupportedOperationException ("Method checkImmediateConstraintsOnCommit() not yet implemented."); 472 } 473 474 public void rollbackSavePoint(String parm1) throws com.daffodilwoods.database.resource.DException { 475 476 throw new java.lang.UnsupportedOperationException ("Method rollbackSavePoint() not yet implemented."); 477 } 478 479 public void releaseSavePoint(String parm1) throws com.daffodilwoods.database.resource.DException { 480 481 throw new java.lang.UnsupportedOperationException ("Method releaseSavePoint() not yet implemented."); 482 } 483 484 public void setSavePoint(String parm1) throws com.daffodilwoods.database.resource.DException { 485 486 throw new java.lang.UnsupportedOperationException ("Method startSavePoint() not yet implemented."); 487 } 488 489 public String setSavePoint() throws com.daffodilwoods.database.resource.DException { 490 491 throw new java.lang.UnsupportedOperationException ("Method startSavePoint() not yet implemented."); 492 } 493 494 public _Iterator getIterator(QualifiedIdentifier tableName, _SingleTableExecuter conditionExecuter) throws DException { 495 _Table mergeTable = mergeDatabase.getTable(tableName); 496 _Iterator iterator = null; 497 501 502 503 SessionIndex sessionIndex = new SessionIndex( (_IndexTable) mergeTable, this); 504 iterator = conditionExecuter.execute(sessionIndex); 505 506 _SessionCondition sc = new RecordValidityCondition(); 507 _Iterator nonIndexIterator = new NonIndexedSessionFilterIterator(iterator, sc); 508 return new RowIdSessionIterator(new SessionIterator(nonIndexIterator), sc); 509 } 510 511 public Object execute(String query, int queryTimeOut, int type) throws DException { 512 513 throw new java.lang.UnsupportedOperationException ("Method execute not yet implemented."); 514 } 515 516 public Object executeQuery(String query, int queryTimeOut, int type) throws DException { 517 518 throw new java.lang.UnsupportedOperationException ("Method executeQueryt not yet implemented."); 519 } 520 521 public void setRole(String roleName) throws DException { 522 523 throw new java.lang.UnsupportedOperationException ("Method setRole not yet implemented."); 524 } 525 526 public boolean isActiveAuthorization(String authorization) throws DException { 527 528 throw new java.lang.UnsupportedOperationException ("Method isActiveAuthorization not yet implemented."); 529 } 530 531 public _IndexTable getMergeTable(QualifiedIdentifier tableName) throws DException { 532 return (_IndexTable) mergeDatabase.getTable(tableName); 533 } 534 535 public void createFullTextIndex(QualifiedIdentifier tableName, String indexName, String [] columnName) throws DException { 536 throw new java.lang.UnsupportedOperationException ("Method createFullTextIndex() not yet implemented."); 537 } 538 539 public void dropFullTextIndex(QualifiedIdentifier tableName, String indexName) throws DException { 540 throw new java.lang.UnsupportedOperationException ("Method dropFullTextIndex() not yet implemented."); 541 } 542 543 public _Iterator getInternalIterator(QualifiedIdentifier tableName, _SingleTableExecuter singleTableExecuter) throws DException { 544 return getIterator(tableName, singleTableExecuter); 545 } 546 547 public double getDbVersion() throws DException { 548 return ( (MergeDatabase) mergeDatabase).getVersionHandler().getDbVersion(); 549 } 550 551 public void refereshTable(QualifiedIdentifier tableName, 552 boolean dropTable) throws DException { 553 throw new java.lang.UnsupportedOperationException ("Method refereshTable() not yet implemented."); 554 } 555 556 public _Triggers[] getAfterInsertTrigger(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext) throws DException { 557 throw new java.lang.UnsupportedOperationException ("Method getAfterInsertTrigger() not yet implemented."); 558 } 559 560 public _Triggers[] getBeforeInsertTrigger(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext) throws DException { 561 throw new java.lang.UnsupportedOperationException ("Method getBeforeInsertTrigger() not yet implemented."); 562 } 563 564 public _Triggers[] getAfterUpdateTrigger(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext, int[] cols) throws DException { 565 throw new java.lang.UnsupportedOperationException ("Method getAfterUpdateTrigger() not yet implemented."); 566 } 567 568 public _Triggers[] getBeforeUpdateTrigger(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext, int[] cols) throws DException { 569 throw new java.lang.UnsupportedOperationException ("Method getBeforeUpdateTrigger() not yet implemented."); 570 } 571 572 public _Triggers[] getAfterDeleteTrigger(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext) throws DException { 573 throw new java.lang.UnsupportedOperationException ("Method getAfterDeleteTrigger() not yet implemented."); 574 } 575 576 public _Triggers[] getBeforeDeleteTrigger(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext) throws DException { 577 throw new java.lang.UnsupportedOperationException ("Method getBeforeDeleteTrigger() not yet implemented."); 578 } 579 580 public void refreshTriggerInfo(QualifiedIdentifier tableName) throws DException { 581 throw new java.lang.UnsupportedOperationException ("Method refreshTriggerInfo() not yet implemented."); 582 583 } 584 585 public void refreshTriggers(QualifiedIdentifier tableName) throws DException { 586 throw new java.lang.UnsupportedOperationException ("Method refreshTriggers() not yet implemented."); 587 } 588 589 public _Triggers[] getAfterInsertTriggerOfStatementLevel(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext) throws DException { 590 throw new java.lang.UnsupportedOperationException ("Method getAfterInsertTriggerOfStatementLevel() not yet implemented."); 591 } 592 593 public _Triggers[] getBeforeInsertTriggerOfStatementLevel(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext) throws DException { 594 throw new java.lang.UnsupportedOperationException ("Method getBeforeInsertTriggerOfStatementLevel() not yet implemented."); 595 } 596 597 public _Triggers[] getAfterUpdateTriggerOfStatementLevel(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext, int[] cols) throws DException { 598 throw new java.lang.UnsupportedOperationException ("Method getAfterUpdateTriggerOfStatementLevel() not yet implemented."); 599 } 600 601 public _Triggers[] getBeforeUpdateTriggerOfStatementLevel(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext, int[] cols) throws DException { 602 throw new java.lang.UnsupportedOperationException ("Method getBeforeUpdateTriggerOfStatementLevel() not yet implemented."); 603 } 604 605 public _Triggers[] getAfterDeleteTriggerOfStatementLevel(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext) throws DException { 606 throw new java.lang.UnsupportedOperationException ("Method getAfterDeleteTriggerOfStatementLevel() not yet implemented."); 607 } 608 609 public _Triggers[] getBeforeDeleteTriggerOfStatementLevel(QualifiedIdentifier tableName, _TriggerCharacteristics triggerCharacteristics, _StatementExecutionContext statementExecutionContext) throws DException { 610 throw new java.lang.UnsupportedOperationException ("Method getBeforeDeleteTriggerOfStatementLevel() not yet implemented."); 611 } 612 613 public ArrayList getCreateIndexList() throws DException { 614 throw new java.lang.UnsupportedOperationException ("Method getCreateIndexList() not yet implemented."); 615 } 616 617 public void resetTime() throws com.daffodilwoods.database.resource.DException { 618 619 dateTimeFunctions.resetTransactionDate(); 620 } 621 622 public void refreshConstraint(QualifiedIdentifier tableName) throws DException { 623 throw new java.lang.UnsupportedOperationException ("Method refreshConstraint() not yet implemented."); 624 } 625 626 public SessionVersionHandler getSessionVersionHandler() throws DException { 627 return ( (MergeDatabase) mergeDatabase).getSessionVersionHandler(); 628 } 629 630 public int getTypeForPrivilige() throws DException{ 631 return globalSession; 632 } 633 } 634 | Popular Tags |