|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hardcode.gdbms.engine.data.edition.MemoryInternalBuffer
public class MemoryInternalBuffer
| Constructor Summary | |
|---|---|
MemoryInternalBuffer()
|
|
| Method Summary | |
|---|---|
void |
addField()
|
void |
deleteRow(long rowId)
|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemoryInternalBuffer()
| Method Detail |
|---|
public void deleteRow(long rowId)
throws DriverException
DriverException
public long insertRow(Value[] values)
throws DriverException
InternalBuffer
insertRow in interface InternalBuffervalues - values of the data to be inserted
DriverException - if the operation fails
public void setRow(long row,
Value[] modifiedRow)
throws DriverException
InternalBuffer
setRow in interface InternalBufferrow - index of the row to updatemodifiedRow - Value array with the update
DriverException - if the update fails
public void setFieldValue(long row,
int modifiedField,
Value modifiedValue)
throws DriverException
setFieldValue in interface InternalBufferDriverException
public void start()
throws DriverException
start in interface InternalBufferDriverExceptionDataSource.start()
public void stop()
throws DriverException
stop in interface InternalBufferDriverExceptionDataSource.stop()
public Value getFieldValue(long rowIndex,
int fieldId)
throws DriverException
getFieldValue in interface InternalBufferDriverExceptionReadAccess.getFieldValue(long,
int)public void removeField(int index)
removeField in interface InternalBufferpublic void addField()
addField in interface InternalBufferpublic void saveStatus()
InternalBuffer
saveStatus in interface InternalBufferpublic void restoreStatus()
InternalBuffer
restoreStatus in interface InternalBuffer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||