Options
All
  • Public
  • Public/Protected
  • All
Menu

@aws/dynamodb-query-iterator

Index

Type aliases

ParallelScanState

ParallelScanState: Array<ScanState>

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.

ScanState

Functions

mergeConsumedCapacities