1 package com.quadcap.sql; 2 3 40 41 import java.io.IOException ; 42 43 import java.util.Vector ; 44 45 import java.sql.SQLException ; 46 47 52 public interface Cursor extends Tuple { 53 57 public Row getRow() throws SQLException ; 58 59 62 public void insertRow(Row row) throws SQLException ; 63 64 67 public void updateRow(Row row) throws SQLException ; 68 69 72 public void deleteRow() throws SQLException ; 73 74 80 public long getRowId(); 81 82 83 87 public void beforeFirst() throws SQLException ; 88 89 92 public void afterLast() throws SQLException ; 93 94 104 public boolean absolute(int row) throws SQLException ; 105 106 109 public boolean next() throws SQLException ; 110 111 115 public boolean prev() throws SQLException ; 116 117 123 public void close() throws SQLException ; 124 125 127 134 public long size() throws SQLException ; 135 136 142 public boolean isWritable(int column) throws SQLException ; 143 144 148 public Cursor getOuterCursor(); 149 150 155 public void setOuterCursor(Cursor outer); 156 157 160 public Session getSession(); 161 162 167 public Table getTable(); 168 169 172 public void reset(Expression where, Cursor outer) throws SQLException ; 173 } 174 | Popular Tags |