|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Index
This interface contains methods to traverse an index.
Method Summary | |
---|---|
void |
beforeFirst(Constant searchkey)
Positions the index before the first record having the specified search key. |
void |
close()
Closes the index. |
void |
delete(Constant dataval,
RID datarid)
Deletes the index record having the specified dataval and dataRID values. |
RID |
getDataRid()
Returns the dataRID value stored in the current index record. |
void |
insert(Constant dataval,
RID datarid)
Inserts an index record having the specified dataval and dataRID values. |
boolean |
next()
Moves the index to the next record having the search key specified in the beforeFirst method. |
Method Detail |
---|
void beforeFirst(Constant searchkey)
searchkey
- the search key value.boolean next()
RID getDataRid()
void insert(Constant dataval, RID datarid)
dataval
- the dataval in the new index record.datarid
- the dataRID in the new index record.void delete(Constant dataval, RID datarid)
dataval
- the dataval of the deleted index recorddatarid
- the dataRID of the deleted index recordvoid close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |