|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbtree.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, MAX_SPACE, MAXATTRNAME, MAXFILENAME, MAXINDEXNAME, MINIBASE_BUFFER_POOL_SIZE, MINIBASE_DB_SIZE, MINIBASE_DEFAULT_SHAREDMEM_SIZE, MINIBASE_MAX_TRANSACTIONS, MINIBASE_MAXARRSIZE, MINIBASE_PAGESIZE, NUMBUF |
Constructor Summary | |
BTFileScan()
|
Method Summary | |
void |
delete_current()
Delete currently-being-scanned(i.e., just scanned) data entry. |
void |
DestroyBTreeFileScan()
destructor. |
KeyDataEntry |
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 KeyDataEntry 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 |