0

In my Android app, I use DynamoDb. I want to use a query request, which returns only amount of matching items. In documentation of Amazon I found this line:

In a request, set the Count parameter to true if you want DynamoDB to provide the total number of items that match the filter expression, instead of a list of the matching items.

But I cannot find the SetCount method in Java. Can any body help me?

1
  • I've just found the answer. Commented Jul 25, 2015 at 3:58

1 Answer 1

1

I've just found the answer. It's not SetCount as .NET .

QueryRequest request = new QueryRequest();
    request.setSelect(Select.COUNT);
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.