@Deprecated public class ScanRequest extends AmazonWebServiceRequest implements java.io.Serializable
Scan operation.
Retrieves one or more items and its attributes by performing a full scan of a table.
Provide a ScanFilter to get more specific results.
| コンストラクタと説明 |
|---|
ScanRequest()
非推奨です。
Default constructor for a new ScanRequest object.
|
ScanRequest(java.lang.String tableName)
非推奨です。
Constructs a new ScanRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj)
非推奨です。
|
java.util.List<java.lang.String> |
getAttributesToGet()
非推奨です。
List of
Attribute names. |
java.lang.Boolean |
getCount()
非推奨です。
If set to
true, Amazon DynamoDB returns a total number of
items for the Scan operation, even if the operation has
no matching items for the assigned filter. |
Key |
getExclusiveStartKey()
非推奨です。
Primary key of the item from which to continue an earlier scan.
|
java.lang.Integer |
getLimit()
非推奨です。
The maximum number of items to return.
|
java.util.Map<java.lang.String,Condition> |
getScanFilter()
非推奨です。
Evaluates the scan results and returns only the desired values.
|
java.lang.String |
getTableName()
非推奨です。
The name of the table in which you want to scan.
|
int |
hashCode()
非推奨です。
|
java.lang.Boolean |
isCount()
非推奨です。
If set to
true, Amazon DynamoDB returns a total number of
items for the Scan operation, even if the operation has
no matching items for the assigned filter. |
void |
setAttributesToGet(java.util.Collection<java.lang.String> attributesToGet)
非推奨です。
List of
Attribute names. |
void |
setCount(java.lang.Boolean count)
非推奨です。
If set to
true, Amazon DynamoDB returns a total number of
items for the Scan operation, even if the operation has
no matching items for the assigned filter. |
void |
setExclusiveStartKey(Key exclusiveStartKey)
非推奨です。
Primary key of the item from which to continue an earlier scan.
|
void |
setLimit(java.lang.Integer limit)
非推奨です。
The maximum number of items to return.
|
void |
setScanFilter(java.util.Map<java.lang.String,Condition> scanFilter)
非推奨です。
Evaluates the scan results and returns only the desired values.
|
void |
setTableName(java.lang.String tableName)
非推奨です。
The name of the table in which you want to scan.
|
java.lang.String |
toString()
非推奨です。
Returns a string representation of this object; useful for testing and
debugging.
|
ScanRequest |
withAttributesToGet(java.util.Collection<java.lang.String> attributesToGet)
非推奨です。
List of
Attribute names. |
ScanRequest |
withAttributesToGet(java.lang.String... attributesToGet)
非推奨です。
List of
Attribute names. |
ScanRequest |
withCount(java.lang.Boolean count)
非推奨です。
If set to
true, Amazon DynamoDB returns a total number of
items for the Scan operation, even if the operation has
no matching items for the assigned filter. |
ScanRequest |
withExclusiveStartKey(Key exclusiveStartKey)
非推奨です。
Primary key of the item from which to continue an earlier scan.
|
ScanRequest |
withLimit(java.lang.Integer limit)
非推奨です。
The maximum number of items to return.
|
ScanRequest |
withScanFilter(java.util.Map<java.lang.String,Condition> scanFilter)
非推奨です。
Evaluates the scan results and returns only the desired values.
|
ScanRequest |
withTableName(java.lang.String tableName)
非推奨です。
The name of the table in which you want to scan.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic ScanRequest()
public ScanRequest(java.lang.String tableName)
tableName - The name of the table in which you want to scan.
Allowed characters are a-z, A-Z,
0-9, _ (underscore), - (hyphen)
and . (period).public java.lang.String getTableName()
a-z, A-Z, 0-9,
_ (underscore), - (hyphen) and
. (period).
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
a-z, A-Z, 0-9,
_ (underscore), - (hyphen) and
. (period).public void setTableName(java.lang.String tableName)
a-z, A-Z, 0-9,
_ (underscore), - (hyphen) and
. (period).
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
tableName - The name of the table in which you want to scan. Allowed characters
are a-z, A-Z, 0-9,
_ (underscore), - (hyphen) and
. (period).public ScanRequest withTableName(java.lang.String tableName)
a-z, A-Z, 0-9,
_ (underscore), - (hyphen) and
. (period).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
tableName - The name of the table in which you want to scan. Allowed characters
are a-z, A-Z, 0-9,
_ (underscore), - (hyphen) and
. (period).public java.util.List<java.lang.String> getAttributesToGet()
Attribute names. If attribute names are not
specified then all attributes will be returned. If some attributes are
not found, they will not appear in the result.
Constraints:
Length: 1 -
Attribute names. If attribute names are not
specified then all attributes will be returned. If some attributes are
not found, they will not appear in the result.public void setAttributesToGet(java.util.Collection<java.lang.String> attributesToGet)
Attribute names. If attribute names are not
specified then all attributes will be returned. If some attributes are
not found, they will not appear in the result.
Constraints:
Length: 1 -
attributesToGet - List of Attribute names. If attribute names are not
specified then all attributes will be returned. If some attributes are
not found, they will not appear in the result.public ScanRequest withAttributesToGet(java.lang.String... attributesToGet)
Attribute names. If attribute names are not
specified then all attributes will be returned. If some attributes are
not found, they will not appear in the result.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
attributesToGet - List of Attribute names. If attribute names are not
specified then all attributes will be returned. If some attributes are
not found, they will not appear in the result.public ScanRequest withAttributesToGet(java.util.Collection<java.lang.String> attributesToGet)
Attribute names. If attribute names are not
specified then all attributes will be returned. If some attributes are
not found, they will not appear in the result.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
attributesToGet - List of Attribute names. If attribute names are not
specified then all attributes will be returned. If some attributes are
not found, they will not appear in the result.public java.lang.Integer getLimit()
LastEvaluatedKey
to apply in a subsequent operation to continue the scan. Also, if the
scanned data set size exceeds 1 MB before Amazon DynamoDB hits this
limit, it stops the scan and returns the matching values up to the
limit, and a LastEvaluatedKey to apply in a subsequent
operation to continue the scan.
Constraints:
Range: 1 -
LastEvaluatedKey
to apply in a subsequent operation to continue the scan. Also, if the
scanned data set size exceeds 1 MB before Amazon DynamoDB hits this
limit, it stops the scan and returns the matching values up to the
limit, and a LastEvaluatedKey to apply in a subsequent
operation to continue the scan.public void setLimit(java.lang.Integer limit)
LastEvaluatedKey
to apply in a subsequent operation to continue the scan. Also, if the
scanned data set size exceeds 1 MB before Amazon DynamoDB hits this
limit, it stops the scan and returns the matching values up to the
limit, and a LastEvaluatedKey to apply in a subsequent
operation to continue the scan.
Constraints:
Range: 1 -
limit - The maximum number of items to return. If Amazon DynamoDB hits this
limit while scanning the table, it stops the scan and returns the
matching values up to the limit, and a LastEvaluatedKey
to apply in a subsequent operation to continue the scan. Also, if the
scanned data set size exceeds 1 MB before Amazon DynamoDB hits this
limit, it stops the scan and returns the matching values up to the
limit, and a LastEvaluatedKey to apply in a subsequent
operation to continue the scan.public ScanRequest withLimit(java.lang.Integer limit)
LastEvaluatedKey
to apply in a subsequent operation to continue the scan. Also, if the
scanned data set size exceeds 1 MB before Amazon DynamoDB hits this
limit, it stops the scan and returns the matching values up to the
limit, and a LastEvaluatedKey to apply in a subsequent
operation to continue the scan.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
limit - The maximum number of items to return. If Amazon DynamoDB hits this
limit while scanning the table, it stops the scan and returns the
matching values up to the limit, and a LastEvaluatedKey
to apply in a subsequent operation to continue the scan. Also, if the
scanned data set size exceeds 1 MB before Amazon DynamoDB hits this
limit, it stops the scan and returns the matching values up to the
limit, and a LastEvaluatedKey to apply in a subsequent
operation to continue the scan.public java.lang.Boolean isCount()
true, Amazon DynamoDB returns a total number of
items for the Scan operation, even if the operation has
no matching items for the assigned filter. Do not set
Count to true while providing a list of
AttributesToGet, otherwise Amazon DynamoDB returns a
validation error.true, Amazon DynamoDB returns a total number of
items for the Scan operation, even if the operation has
no matching items for the assigned filter. Do not set
Count to true while providing a list of
AttributesToGet, otherwise Amazon DynamoDB returns a
validation error.public void setCount(java.lang.Boolean count)
true, Amazon DynamoDB returns a total number of
items for the Scan operation, even if the operation has
no matching items for the assigned filter. Do not set
Count to true while providing a list of
AttributesToGet, otherwise Amazon DynamoDB returns a
validation error.count - If set to true, Amazon DynamoDB returns a total number of
items for the Scan operation, even if the operation has
no matching items for the assigned filter. Do not set
Count to true while providing a list of
AttributesToGet, otherwise Amazon DynamoDB returns a
validation error.public ScanRequest withCount(java.lang.Boolean count)
true, Amazon DynamoDB returns a total number of
items for the Scan operation, even if the operation has
no matching items for the assigned filter. Do not set
Count to true while providing a list of
AttributesToGet, otherwise Amazon DynamoDB returns a
validation error.
Returns a reference to this object so that method calls can be chained together.
count - If set to true, Amazon DynamoDB returns a total number of
items for the Scan operation, even if the operation has
no matching items for the assigned filter. Do not set
Count to true while providing a list of
AttributesToGet, otherwise Amazon DynamoDB returns a
validation error.public java.lang.Boolean getCount()
true, Amazon DynamoDB returns a total number of
items for the Scan operation, even if the operation has
no matching items for the assigned filter. Do not set
Count to true while providing a list of
AttributesToGet, otherwise Amazon DynamoDB returns a
validation error.true, Amazon DynamoDB returns a total number of
items for the Scan operation, even if the operation has
no matching items for the assigned filter. Do not set
Count to true while providing a list of
AttributesToGet, otherwise Amazon DynamoDB returns a
validation error.public java.util.Map<java.lang.String,Condition> getScanFilter()
public void setScanFilter(java.util.Map<java.lang.String,Condition> scanFilter)
scanFilter - Evaluates the scan results and returns only the desired values.public ScanRequest withScanFilter(java.util.Map<java.lang.String,Condition> scanFilter)
Returns a reference to this object so that method calls can be chained together.
scanFilter - Evaluates the scan results and returns only the desired values.public Key getExclusiveStartKey()
Limit parameter. The
LastEvaluatedKey can be passed back in a new scan request
to continue the operation from that point.Limit parameter. The
LastEvaluatedKey can be passed back in a new scan request
to continue the operation from that point.public void setExclusiveStartKey(Key exclusiveStartKey)
Limit parameter. The
LastEvaluatedKey can be passed back in a new scan request
to continue the operation from that point.exclusiveStartKey - Primary key of the item from which to continue an earlier scan. An
earlier scan might provide this value if that scan operation was
interrupted before scanning the entire table; either because of the
result set size or the Limit parameter. The
LastEvaluatedKey can be passed back in a new scan request
to continue the operation from that point.public ScanRequest withExclusiveStartKey(Key exclusiveStartKey)
Limit parameter. The
LastEvaluatedKey can be passed back in a new scan request
to continue the operation from that point.
Returns a reference to this object so that method calls can be chained together.
exclusiveStartKey - Primary key of the item from which to continue an earlier scan. An
earlier scan might provide this value if that scan operation was
interrupted before scanning the entire table; either because of the
result set size or the Limit parameter. The
LastEvaluatedKey can be passed back in a new scan request
to continue the operation from that point.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object