/AWS1/CL_DYNSCANOUTPUT¶
Represents the output of a Scan operation.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
it_items TYPE /AWS1/CL_DYNATTRIBUTEVALUE=>TT_ITEMLIST TT_ITEMLIST¶
An array of item attributes that match the scan criteria. Each element in this array consists of an attribute name and the value for that attribute.
iv_count TYPE /AWS1/DYNINTEGER /AWS1/DYNINTEGER¶
The number of items in the response.
If you set
ScanFilterin the request, thenCountis the number of items returned after the filter was applied, andScannedCountis the number of matching items before the filter was applied.If you did not use a filter in the request, then
Countis the same asScannedCount.
iv_scannedcount TYPE /AWS1/DYNINTEGER /AWS1/DYNINTEGER¶
The number of items evaluated, before any
ScanFilteris applied. A highScannedCountvalue with few, or no,Countresults indicates an inefficientScanoperation. For more information, see Count and ScannedCount in the Amazon DynamoDB Developer Guide.If you did not use a filter in the request, then
ScannedCountis the same asCount.
it_lastevaluatedkey TYPE /AWS1/CL_DYNATTRIBUTEVALUE=>TT_KEY TT_KEY¶
The primary key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.
If
LastEvaluatedKeyis empty, then the "last page" of results has been processed and there is no more data to be retrieved.If
LastEvaluatedKeyis not empty, it does not necessarily mean that there is more data in the result set. The only way to know when you have reached the end of the result set is whenLastEvaluatedKeyis empty.
io_consumedcapacity TYPE REF TO /AWS1/CL_DYNCONSUMEDCAPACITY /AWS1/CL_DYNCONSUMEDCAPACITY¶
The capacity units consumed by the
Scanoperation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation.ConsumedCapacityis only returned if theReturnConsumedCapacityparameter was specified. For more information, see Capacity unit consumption for read operations in the Amazon DynamoDB Developer Guide.
Queryable Attributes¶
Items¶
An array of item attributes that match the scan criteria. Each element in this array consists of an attribute name and the value for that attribute.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ITEMS() |
Getter for ITEMS, with configurable default |
ASK_ITEMS() |
Getter for ITEMS w/ exceptions if field has no value |
HAS_ITEMS() |
Determine if ITEMS has a value |
Count¶
The number of items in the response.
If you set
ScanFilterin the request, thenCountis the number of items returned after the filter was applied, andScannedCountis the number of matching items before the filter was applied.If you did not use a filter in the request, then
Countis the same asScannedCount.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_COUNT() |
Getter for COUNT |
ScannedCount¶
The number of items evaluated, before any
ScanFilteris applied. A highScannedCountvalue with few, or no,Countresults indicates an inefficientScanoperation. For more information, see Count and ScannedCount in the Amazon DynamoDB Developer Guide.If you did not use a filter in the request, then
ScannedCountis the same asCount.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SCANNEDCOUNT() |
Getter for SCANNEDCOUNT |
LastEvaluatedKey¶
The primary key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.
If
LastEvaluatedKeyis empty, then the "last page" of results has been processed and there is no more data to be retrieved.If
LastEvaluatedKeyis not empty, it does not necessarily mean that there is more data in the result set. The only way to know when you have reached the end of the result set is whenLastEvaluatedKeyis empty.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LASTEVALUATEDKEY() |
Getter for LASTEVALUATEDKEY, with configurable default |
ASK_LASTEVALUATEDKEY() |
Getter for LASTEVALUATEDKEY w/ exceptions if field has no va |
HAS_LASTEVALUATEDKEY() |
Determine if LASTEVALUATEDKEY has a value |
ConsumedCapacity¶
The capacity units consumed by the
Scanoperation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation.ConsumedCapacityis only returned if theReturnConsumedCapacityparameter was specified. For more information, see Capacity unit consumption for read operations in the Amazon DynamoDB Developer Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONSUMEDCAPACITY() |
Getter for CONSUMEDCAPACITY |