Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ParallelScanPaginator<T>

Iterates over each page of items returned by a parallel DynamoDB scan until no more pages are available.

Type parameters

  • T

Hierarchy

Implements

  • AsyncIterableIterator<Array<T>>

Index

Constructors

constructor

Accessors

consumedCapacity

  • get consumedCapacity(): ConsumedCapacity | undefined
  • Retrieve the reported capacity consumed by this paginator. Will be undefined unless returned consumed capacity is requested.

    Returns ConsumedCapacity | undefined

count

  • get count(): number

lastEvaluatedKey

  • get lastEvaluatedKey(): undefined

scanState

scannedCount

  • get scannedCount(): number
  • Retrieve the number of items scanned thus far during the execution of this paginator. This number should be the same as count unless a filter expression was used.

    Returns number

Methods

__@asyncIterator

  • __@asyncIterator(): this

next

  • next(): Promise<IteratorResult<Array<T>>>

return

  • return(): Promise<IteratorResult<Array<T>>>