|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DDMWriteCallback
Used by DDMConnection to obtain the input for a write operation from the user in a memory-conscious fashion.
Order of operations:
| Method Summary | |
|---|---|
boolean[] |
getNullFieldValues(DDMCallbackEvent event,
int recordIndex)
Returns the array of null field values, one for each field in the record to be written. |
int |
getNumberOfRecords(DDMCallbackEvent event)
Returns the number of records to write, which is how many times the DDMConnection will call getRecordData() for a given write operation. |
byte[] |
getRecordData(DDMCallbackEvent event,
int recordIndex)
Returns the record data to write. |
int |
getRecordDataOffset(DDMCallbackEvent event,
int recordIndex)
Returns the offset into the byte array returned by the prior call to getRecordData() so that a single buffer can be used to write multiple records. |
| Method Detail |
|---|
int getNumberOfRecords(DDMCallbackEvent event)
byte[] getRecordData(DDMCallbackEvent event,
int recordIndex)
int getRecordDataOffset(DDMCallbackEvent event,
int recordIndex)
boolean[] getNullFieldValues(DDMCallbackEvent event,
int recordIndex)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||