Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BaseSequentialScanOptions

Hierarchy

Index

Properties

Optional filter

filter: ConditionExpression

A string that contains conditions that DynamoDB applies after the Query operation, but before the data is returned to you. Items that do not satisfy the FilterExpression criteria are not returned.

A FilterExpression does not allow key attributes. You cannot define a filter expression based on a partition key or a sort key.

Optional indexName

indexName: undefined | string

The name of an index to query. This index can be any local secondary index or global secondary index on the table.

Optional limit

limit: undefined | number

The maximum number of items to fetch over all pages of scan.

Optional pageSize

pageSize: undefined | number

The maximum number of items to fetch per page of results.

Optional projection

projection: ProjectionExpression

The item attributes to get.

Optional readConsistency

readConsistency: ReadConsistency

The read consistency to require when reading from DynamoDB.

Optional segment

segment: undefined | number

For a parallel Scan request, Segment identifies an individual segment to be scanned by an application worker.

Segment IDs are zero-based, so the first segment is always 0. For example, if you want to use four application threads to scan a table or an index, then the first thread specifies a Segment value of 0, the second thread specifies 1, and so on.

Optional startKey

startKey: undefined | object

The primary key of the first item that this operation will evaluate. When scanning an index, only the lastEvaluatedKey derived from a previous scan operation on the same index should be supplied for this parameter.

Optional totalSegments

totalSegments: undefined | number

The number of application workers that will perform the scan.

Must be an integer between 1 and 1,000,000