简体   繁体   English

如何在 AWS Dynamodb 中使用过滤器实现分页

[英]How to Implement Pagination With Filter in AWS Dynamodb

QueryResultPage quickLinksQueryResult=mapper.queryPage(Links.class,queryExpression,LinksDynamoDBMapperConfig.get(tableNameLinks)); QueryResultPage quickLinksQueryResult=mapper.queryPage(Links.class,queryExpression,LinksDynamoDBMapperConfig.get(tableNameLinks)); queryExpression.withExclusiveStartKey(linksQueryResult.getLastEvaluatedKey()); queryExpression.withExclusiveStartKey(linksQueryResult.getLastEvaluatedKey());

Getting Empty results while filter is applied.What might be error?应用过滤器时得到空结果。可能是什么错误?

Both Filter and Pagination cannot be done at same time on the Dynamodb Table. Filter 和 Pagination 不能在 Dynamodb Table 上同时完成。 You can execute one or the other, but not both.您可以执行其中一个,但不能同时执行两个。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM