|
||||||||||
| 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(java.lang.String fldname,
int val)
Modifies the field value of the current record. |
void |
setString(java.lang.String fldname,
java.lang.String val)
Modifies the field value of the current record. |
void |
setVal(java.lang.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(java.lang.String fldname,
Constant val)
fldname - the name of the fieldval - the new value, expressed as a Constant
void setInt(java.lang.String fldname,
int val)
fldname - the name of the fieldval - the new integer value
void setString(java.lang.String fldname,
java.lang.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 | |||||||||