|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object index.IndexFileScan btree.BTFileScan
BTFileScan implements a search/iterate interface to B+ tree index files (class BTreeFile). It derives from abstract base class IndexFileScan.
Field Summary |
Fields inherited from interface global.GlobalConst |
INVALID_PAGE, MAX_NAME, MAXATTRNAME, MAXFILENAME, MAXINDEXNAME, MINIBASE_BUFFER_POOL_SIZE, MINIBASE_DB_SIZE, MINIBASE_DEFAULT_SHAREDMEM_SIZE, MINIBASE_MAX_TRANSACTIONS, MINIBASE_MAXARRSIZE, NUMBUF, PAGE_SIZE, PAGESIZE |
Constructor Summary | |
BTFileScan()
|
Method Summary | |
void |
delete_current()
Delete currently-being-scanned(i.e., just scanned) data entry. |
void |
destroyBTreeFileScan()
destructor. |
KeyEntry |
get_next()
Iterate once (during a scan). |
int |
keysize()
max size of the key |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BTFileScan()
Method Detail |
public KeyEntry get_next() throws ScanIteratorException
get_next
in class IndexFileScan
ScanIteratorException
- iterator errorpublic void delete_current() throws ScanDeleteException
delete_current
in class IndexFileScan
ScanDeleteException
- delete error when scanpublic int keysize()
keysize
in class IndexFileScan
public void destroyBTreeFileScan() throws java.io.IOException, InvalidFrameNumberException, ReplacerException, PageUnpinnedException, HashEntryNotFoundException
java.io.IOException
- error from the lower layer
InvalidFrameNumberException
- error from the lower layer
ReplacerException
- error from the lower layer
PageUnpinnedException
- error from the lower layer
HashEntryNotFoundException
- error from the lower layer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |