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 and initialized
is true, then all pages
for the given segment have been returned.
Used to designate which fields on an object have been changed. The method identified by this symbol should return a iterable that enumerates the fields that have been altered.
Used to designate the mapping of an object from its JavaScript form to its representation in a DynamoDB Table or nested map.
Used to designate that an object represents a row of the named DynamoDB table. Meant to be used in conjunction with {DynamoDbSchema}.