class
Amazonite::DynamoDB::Get
- Amazonite::DynamoDB::Get
- Reference
- Object
Overview
Specifies an item and related attribute values to retrieve in a TransactGetItem object.
Included Modules
- JSON::Serializable
Defined in:
dynamodb/get.crConstructors
- .new(key : Hash(String, AttributeValue), table_name : String, projection_expression : String | Nil = nil, expression_attribute_names : Hash(String, String) | Nil = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#expression_attribute_names : Hash(String, String) | Nil
One or more substitution tokens for attribute names in the ProjectionExpression parameter.
-
#expression_attribute_names=(expression_attribute_names : Hash(String, String) | Nil)
One or more substitution tokens for attribute names in the ProjectionExpression parameter.
-
#hash(hasher)
See
Object#hash(hasher) -
#key : Hash(String, AttributeValue)
A map of attribute names to
AttributeValueobjects that specifies the primary key of the item to retrieve. -
#key=(key : Hash(String, AttributeValue))
A map of attribute names to
AttributeValueobjects that specifies the primary key of the item to retrieve. -
#projection_expression : String | Nil
A string that identifies one or more attributes of the specified item to retrieve from the table.
-
#projection_expression=(projection_expression : String | Nil)
A string that identifies one or more attributes of the specified item to retrieve from the table.
-
#table_name : String
The name of the table from which to retrieve the specified item.
-
#table_name=(table_name : String)
The name of the table from which to retrieve the specified item.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
One or more substitution tokens for attribute names in the ProjectionExpression parameter.
One or more substitution tokens for attribute names in the ProjectionExpression parameter.
A map of attribute names to AttributeValue objects that specifies the primary key of the item
to retrieve.
A map of attribute names to AttributeValue objects that specifies the primary key of the item
to retrieve.
A string that identifies one or more attributes of the specified item to retrieve from the table. The attributes in the expression must be separated by commas. If no attribute names are specified, then all attributes of the specified item are returned. If any of the requested attributes are not found, they do not appear in the result.
A string that identifies one or more attributes of the specified item to retrieve from the table. The attributes in the expression must be separated by commas. If no attribute names are specified, then all attributes of the specified item are returned. If any of the requested attributes are not found, they do not appear in the result.
The name of the table from which to retrieve the specified item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
The name of the table from which to retrieve the specified item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.