com.amazonaws.services.dynamodbv2.model.QueryRequest.setProjectionExpression()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(78)

本文整理了Java中com.amazonaws.services.dynamodbv2.model.QueryRequest.setProjectionExpression方法的一些代码示例,展示了QueryRequest.setProjectionExpression的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QueryRequest.setProjectionExpression方法的具体详情如下:
包路径:com.amazonaws.services.dynamodbv2.model.QueryRequest
类名称:QueryRequest
方法名:setProjectionExpression

QueryRequest.setProjectionExpression介绍

[英]A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas.

If no attribute names are specified, then all attributes will be returned. If any of the requested attributes are not found, they will not appear in the result.

For more information, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide.
[中]

代码示例

代码示例来源:origin: aws/aws-sdk-java

setProjectionExpression(projectionExpression);
return this;

代码示例来源:origin: com.amazonaws/aws-java-sdk-dynamodb

setProjectionExpression(projectionExpression);
return this;

代码示例来源:origin: com.github.derjust/spring-data-dynamodb

queryRequest.setProjectionExpression(projection.get());
} else {
  queryRequest.setSelect(Select.ALL_PROJECTED_ATTRIBUTES);

代码示例来源:origin: aws-samples/aws-dynamodb-examples

queryRequest.setProjectionExpression("OrderCreationDate, ProductCategory, ProductName, OrderStatus");

相关文章

微信公众号

最新文章

更多

QueryRequest类方法