1 21 22 package org.apache.derby.iapi.store.access; 23 24 import org.apache.derby.iapi.services.io.Storable; 25 26 import org.apache.derby.iapi.error.StandardException; 27 28 import org.apache.derby.iapi.types.DataValueDescriptor; 29 30 import org.apache.derby.iapi.types.RowLocation; 31 32 import org.apache.derby.iapi.services.io.FormatableBitSet; 33 34 57 58 public interface ScanController extends GenericScanController 59 { 60 75 76 79 public static final int GE = 1; 80 81 95 98 public static final int GT = -1; 99 100 107 110 public static final int NA = 0; 111 112 121 boolean delete() 122 throws StandardException; 123 124 141 void didNotQualify() throws StandardException; 142 143 167 boolean doesCurrentPositionQualify() 168 throws StandardException; 169 170 205 void fetch(DataValueDescriptor[] destRow) 206 throws StandardException; 207 208 218 void fetchWithoutQualify(DataValueDescriptor[] destRow) 219 throws StandardException; 220 221 249 boolean fetchNext(DataValueDescriptor[] destRow) 250 throws StandardException; 251 252 271 void fetchLocation(RowLocation destRowLocation) 272 throws StandardException; 273 274 286 boolean isCurrentPositionDeleted() 287 throws StandardException; 288 289 302 boolean next() 303 throws StandardException; 304 305 319 boolean positionAtRowLocation(RowLocation rl) 320 throws StandardException; 321 322 323 332 333 boolean replace(DataValueDescriptor[] row, FormatableBitSet validColumns) 334 throws StandardException; 335 336 } 337 | Popular Tags |