| 1 package com.daffodilwoods.daffodildb.server.datasystem.indexsystem; 2 3 import com.daffodilwoods.daffodildb.server.sql99.dql.iterator._Iterator; 4 5 import com.daffodilwoods.database.resource.*; 6 import com.daffodilwoods.daffodildb.server.datasystem.interfaces.*; 7 import java.util.*; 8 import com.daffodilwoods.daffodildb.server.sql99.utils._Reference; 9 import com.daffodilwoods.daffodildb.server.datasystem.btree.*; 10 import com.daffodilwoods.daffodildb.server.datasystem.utility.ReadWriteLock; 11 import com.daffodilwoods.fulltext.common._FullTextDML; 12 import com.daffodilwoods.daffodildb.server.sql99.fulltext.dml._FullTextIndexInformation; 13 14 public interface _IndexTableList{ 15 16 void setTable(_IndexTableList tableOperations) throws DException; 17 _IndexTableList getTable(); 18 Object insert(_TableIterator iterator,_DatabaseUser user,Object [] values, int index) throws DException; 19 Object update(_TableIterator iterator,_DatabaseUser user,Object [] values,int index) throws DException; 20 Object update(_TableIterator iterator,_DatabaseUser user,int[] columns,Object [] values,int index) throws DException; 21 Object delete(_TableIterator iterator,_DatabaseUser user,int index) throws DException; 22 23 Object insert(_TableIterator iterator,Object [] values, int index) throws DException; 24 Object update(_TableIterator iterator,Object [] values,int index) throws DException; 25 Object update(_TableIterator iterator,int[] columns,Object [] values,int index) throws DException; 26 Object delete(_TableIterator iterator,int index) throws DException; 27 28 Object getColumnObjects(_TableIterator iterator,int[] columns) throws DException; 29 Object getColumnObjects(_TableIterator iterator,int columns) throws DException; 30 Object getColumnObjects(_TableIterator iterator) throws DException; 31 32 _TableCharacteristics getTableCharacteristics() throws DException; 33 34 _IndexInformation[] getIndexInformations() throws DException ; 35 36 37 _Iterator getIterator(int parm1) throws DException ; 38 39 _Index getIndex(int position); 40 41 _Index [] getIndexes() throws DException; 42 43 public void rollback() throws DException ; 44 45 public Object seek(_Index btree,Object indexKey ) throws DException; 46 47 public Object seekFromTopRelative(_Index btree,Object currentKey,Object indexKey) throws DException ; 48 49 public Object seekFromBottomRelative(_Index btree,Object currentKey,Object indexKey) throws DException; 50 51 public Object locateKey(_Index btree,Object indexKey, boolean flag) throws DException ; 52 53 public void setIndexes(_Index btrees[]) throws DException ; 54 public void setFullTextDML( _FullTextDML fullTextDML[]) throws DException ; 55 56 public _FullTextDML[] getFullTextDML( ) throws DException ; 57 58 ReadWriteLock getLock(); 59 boolean isAnyIndexUpdated(int[] columns) throws DException; 60 public _FullTextIndexInformation[] getFullTextIndexInformation( ) throws DException; 61 public _Database getDatabase() throws DException; 62 public Object deleteBlobClobRecord(_TableIterator iterator, _DatabaseUser user, int index) throws DException; 63 } 64 | Popular Tags |