public class CableLoader extends DataLoader<Cable>
createRows, createRowsTest, dataRows, deleteRows, deleteRowsTest, report, stopLoad, test, updateRows, updateRowsTest| Constructor and Description |
|---|
CableLoader()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
LoaderResult<Cable> |
load(InputStream stream,
boolean test)
Loads all the records from the stream and processes them.
|
void |
updateRecord(DSRecord record)
Processes the record.
|
void |
updateRecordList(Iterable<DSRecord> records)
Processes a number of records.
|
getColumnLabel, getErrorMessage, getErrorMessage, load, validateStringSizepublic LoaderResult<Cable> load(InputStream stream, boolean test)
DataLoaderload in class DataLoader<Cable>stream - the stream to read data fromtest - if true, only a test whether the load would succeed is performed, and no data is imported to the
database.public void updateRecord(DSRecord record)
DataLoaderupdateRecord in class DataLoader<Cable>record - the record to processpublic void updateRecordList(Iterable<DSRecord> records)
DataLoaderupdateRecordList in class DataLoader<Cable>records - the records to processCopyright © 2025 European Spallation Source. All rights reserved.