|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type of record set to be loadedpublic interface RecordSetLoader<T extends DataRecordSet<?>>
WRITEME: Document this type.
| Method Summary | |
|---|---|
void |
initializeStorage(String storageURL)
Prepare the RecordSetLoader for accessing a given storage medium. |
T |
loadRecordSet(Collection<String> identifiers,
long offset,
long limit)
Load the data record identified from the storage system. |
T |
loadRecordSetByIDs(Collection<Integer> ids,
long offset,
long limit)
Load the records with the given ID number from the storage system |
void |
saveRecordSet(T recordSet)
WRITEME: Document this method brpocock@star-hope.org |
| Method Detail |
|---|
void initializeStorage(String storageURL)
throws NotReadyException
storageURL - A URL or identifier of the storage engine. The
syntax is specific to the RecordLoader implementation.
NotReadyException - if the storage engine can't be
initialized
T loadRecordSet(Collection<String> identifiers,
long offset,
long limit)
identifiers - the identifiers for the record setoffset - the first record to includelimit - the maximum number of records to include
T loadRecordSetByIDs(Collection<Integer> ids,
long offset,
long limit)
ids - the ID numbers for the recordsoffset - the first record to includelimit - the maximum number of records to include
void saveRecordSet(T recordSet)
recordSet - the records to be saved
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||