Is there a way to query multiple hash keys using a single query in Amazon\'s AWS SDK for Java?
Here\'s my issue; I have a DB table for project statuses. The Hash
Try this in C#. I think it's similar in Java. UserId it`s the hask key.
var table = Table.LoadTable(DynamoClient, "YourTableName");
var batchGet = table.CreateBatchGet();
batchGet.AddKey(new Dictionary() { { "UserId", 123 } });
batchGet.AddKey(new Dictionary() { { "UserId", 456 } });
batchGet.Execute();
var results = batchGet.Results;