ParallelScanState is represented as an array whose length is equal to the
number of segments being scanned independently, with each segment's state
being stored at the array index corresponding to its segment number.
Segment state is represented with a tagged union with the following keys:
initialized -- whether the first page of results has been retrieved
LastEvaluatedKey -- the key to provide (if any) when requesting the
next page of results.
If LastEvaluatedKey is undefined and initialized is true, then all pages
for the given segment have been returned.
ParallelScanState is represented as an array whose length is equal to the number of segments being scanned independently, with each segment's state being stored at the array index corresponding to its segment number.
Segment state is represented with a tagged union with the following keys:
initialized
-- whether the first page of results has been retrievedLastEvaluatedKey
-- the key to provide (if any) when requesting the next page of results.If
LastEvaluatedKey
is undefined andinitialized
is true, then all pages for the given segment have been returned.