| 1 package com.daffodilwoods.daffodildb.server.sessionsystem; 2 3 import com.daffodilwoods.daffodildb.server.sql99.dql.iterator._Iterator; 4 5 import com.daffodilwoods.daffodildb.server.datasystem.indexsystem.*; 6 import com.daffodilwoods.daffodildb.server.datasystem.interfaces.*; 7 import com.daffodilwoods.daffodildb.server.datasystem.utility.*; 8 import com.daffodilwoods.daffodildb.server.serversystem.*; 9 10 import com.daffodilwoods.database.resource.*; 11 import com.daffodilwoods.daffodildb.server.sql99.fulltext.dml._FullTextIndexInformation; 12 import com.daffodilwoods.daffodildb.server.datasystem.mergesystem.*; 13 public class SessionIndex implements _IndexTable , _SessionGetter{ 14 15 _IndexTable indexTable; 16 _ServerSession serverSession; 17 18 public SessionIndex( _IndexTable indexTable0, _ServerSession serverSession0 ) { 19 indexTable = indexTable0; 20 serverSession = serverSession0; 21 } 22 23 public _IndexInformation[] getIndexInformations() throws DException { 24 return indexTable.getIndexInformations(); 25 } 26 27 public _Iterator getIterator(int index) throws DException { 28 return indexTable.getIterator(index); 29 } 30 31 public _Record getBlankRecord() throws DException { 32 return indexTable.getBlankRecord(); 33 } 34 35 public _TableCharacteristics getTableCharacteristics() throws DException { 36 return indexTable.getTableCharacteristics(); 37 } 38 39 public _ServerSession getServerSession() throws DException{ 40 return serverSession; 41 } 42 public _Iterator getDefaultIterator() throws com.daffodilwoods.database.resource.DException { 43 44 IteratorWrapper iw = ((IteratorWrapper)indexTable.getDefaultIterator()); 45 return iw; 46 47 } 48 49 50 51 public int getEstimatedRowCount() throws DException{ 52 return indexTable.getEstimatedRowCount(); 53 } 54 public _FullTextIndexInformation[] getFullTextIndexInformation( ) throws DException{ 55 return indexTable.getFullTextIndexInformation(); 56 } 57 public _Database getDatabase() throws DException{ 58 return indexTable.getDatabase(); 59 } 60 public void setDuplicateKeysAllowedInBtrees() throws DException{ 61 throw new java.lang.UnsupportedOperationException ("Method setDuplicateKeysAllowedInBtrees() not yet implemented."); 62 } 63 } 64 | Popular Tags |