1 package com.daffodilwoods.daffodildb.client ; 2 3 import com.daffodilwoods.daffodildb.server.sql99.dql.resultsetmetadata._SelectColumnCharacteristics; 4 5 import com.daffodilwoods.daffodildb.server.sql99.dql.resultsetmetadata._RowReader; 6 7 import com.daffodilwoods.daffodildb.server.sql99.dql.listenerevents._SelectIterator; 8 9 import java.sql.SQLException ; 10 import com.daffodilwoods.database.resource.*; 11 import com.daffodilwoods.daffodildb.server.datadictionarysystem.*; 12 import com.daffodilwoods.database.general.*; 13 import com.daffodilwoods.daffodildb.server.sql99.common.*; 14 public interface _RecordSetBuffer { 15 public static boolean checkKeyExistance = false; 16 _RecordSetBufferIterator getIterator() throws SQLException ; 17 void addDataOperationListener(DataOperationListener listener) throws DException; 18 void removeDataOperationListener(DataOperationListener listener) throws DException; 19 String getTable() throws SQLException ; 20 Object getTopKey() throws SQLException ; 21 Object getBottomKey() throws SQLException ; 22 Object getNextKey(Object key) throws SQLException ; 23 Object getPreviousKey(Object key) throws SQLException ; 24 int getDistanceBetweenKeys(Object key1,Object key2) throws SQLException ; 25 Object getKeyAtDistance(Object key,int distance) throws SQLException ; 26 _Record getInsertedRecord() throws DException; 27 Object insertRow()throws DException; 28 void updateRow(_Record record) throws DException,SQLException ; 29 Object deleteRow(_Record record) throws DException; 30 31 void loadRecordForKey(_Record record,Object key) throws SQLException ; 32 void loadRecordForIdentity(_Record record,Object identity) throws SQLException ; 33 Object getKeyForIdentity(Object identity) throws DException ; 34 Object getIdentityForKey(Object key) throws DException ; 35 Object [] getParameters() ; 36 Object locateNearestKey(Object key) throws SQLException ; 37 _SelectColumnCharacteristics getColumnCharacteristics() ; 38 void setFetchDirection(int direction); 39 void setMaxRows(int maxRows); 40 void setMaxFieldSize(int maxSize); 41 String getQuery(); 42 _RowReader getRowReader() throws SQLException ; 43 int getRowCount() throws SQLException ; 44 Object convertIntoParameter() throws SQLException ,DException; 45 boolean isBottom(Object key) throws SQLException ; 46 boolean isTop(Object key) throws SQLException ; 47 void setSelectIterator(_SelectIterator selectIterator) throws DException; 48 void setUpdateMode(boolean immediate); 49 _Record getRecordInstance(); 51 _ExecutionPlan getExecutionPlan() throws DException; 52 public ExecutionPlanForBrowser getExecutionPlanForBrowser() throws DException; 53 _QueryPlan getQueryPlan() throws DException; 54 55 _Record getDummyRecord() throws SQLException ; 56 void flushRecords(Object key,boolean direction) throws DException; 57 Object seek(String clause) throws SQLException ; 58 public void setAutoFlush(boolean flushData0)throws DException; 59 public void setBufferSize(int bufferSize0)throws DException; 60 } 61 | Popular Tags |