Get sqlfs table data using SELECT id, block FROM table WHERE id >= startIdx AND id < startIdx + rowBufSize;.
This is designed to:
do not read all table data once to avoid using too many memories.
speed up model metadata reading. Metadata is saved in the 0-th row of the table. We can get the metadata fast by only reading the 0-th row instead of reading the whole table data.
Get sqlfs table data using
SELECT id, block FROM table WHERE id >= startIdx AND id < startIdx + rowBufSize;
.This is designed to: