|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UpdateScan
The interface implemented by all updateable scans.
Method Summary | |
---|---|
void |
delete()
Deletes the current record from the scan. |
RID |
getRid()
Returns the RID of the current record. |
void |
insert()
Inserts a new record somewhere in the scan. |
void |
moveToRid(RID rid)
Positions the scan so that the current record has the specified RID. |
void |
setInt(String fldname,
int val)
Modifies the field value of the current record. |
void |
setString(String fldname,
String val)
Modifies the field value of the current record. |
void |
setVal(String fldname,
Constant val)
Modifies the field value of the current record. |
Methods inherited from interface simpledb.query.Scan |
---|
beforeFirst, close, getInt, getString, getVal, hasField, next |
Method Detail |
---|
void setVal(String fldname, Constant val)
fldname
- the name of the fieldval
- the new value, expressed as a Constantvoid setInt(String fldname, int val)
fldname
- the name of the fieldval
- the new integer valuevoid setString(String fldname, String val)
fldname
- the name of the fieldval
- the new string valuevoid insert()
void delete()
RID getRid()
void moveToRid(RID rid)
rid
- the RID of the desired record
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |