|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object index.HashScan
public class HashScan
A HashScan object is created only through the function openScan() in the HashIndex class. It supports the getNext interface which will simply retrieve the next record in the file.
Field Summary |
---|
Fields inherited from interface global.GlobalConst |
---|
EMPTY_SLOT, FIRST_PAGEID, INVALID_PAGEID, MAX_COLSIZE, MAX_TUPSIZE, NAME_MAXLEN, PAGE_SIZE, PIN_DISKIO, PIN_MEMCPY, UNPIN_CLEAN, UNPIN_DIRTY |
Method Summary | |
---|---|
void |
close()
Closes the index scan, releasing any pinned pages. |
RID |
getNext()
Gets the next entry's record in the index scan. |
boolean |
hasNext()
Returns true if there are more entries to scan, false otherwise. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void close()
public boolean hasNext()
public RID getNext()
java.lang.IllegalStateException
- if the scan has no more entries
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |