|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InternalBuffer
The internal buffer must store the records in the same position all the time
Method Summary | |
---|---|
void |
addField()
|
Value |
getFieldValue(long rowIndex,
int fieldId)
|
long |
insertRow(Value[] values)
Inserts a row with data |
void |
removeField(int index)
|
void |
restoreStatus()
Restores the snapshot created in the last call to saveStatus |
void |
saveStatus()
Creates a snapshot of the internalbuffer to restore it in the next call to restoreStatus |
void |
setFieldValue(long row,
int modifiedField,
Value modifiedValue)
|
void |
setRow(long row,
Value[] modifiedRow)
Set the modified row at the specified index |
void |
start()
|
void |
stop()
|
Method Detail |
---|
long insertRow(Value[] values) throws DriverException
values
- values of the data to be inserted
DriverException
- if the operation failsvoid setRow(long row, Value[] modifiedRow) throws DriverException
row
- index of the row to updatemodifiedRow
- Value array with the update
DriverException
- if the update failsvoid setFieldValue(long row, int modifiedField, Value modifiedValue) throws DriverException
row
- modifiedField
- modifiedValue
-
DriverException
void start() throws DriverException
DriverException
DataSource.start()
void stop() throws DriverException
DriverException
DataSource.stop()
Value getFieldValue(long rowIndex, int fieldId) throws DriverException
DriverException
ReadAccess.getFieldValue(long,
int)
void removeField(int index)
void addField()
void saveStatus()
void restoreStatus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |