The
RecordStoreWriter class provides methods for writing
records to a Record Store instance.
The class has two
write() methods that allow you to write one record
at a time or a list of records all at once.
You can create a baseline writer with this method:
RecordStoreWriter writer = RecordStoreWriter.createWriter(
recordStore, tId, 100);

