AWS DynamoDB multiple “NE” string filters?
问题 I'm trying to scan/query an AWS DynamoDB table for a list of items where id (a single string) is not equal to any of strings A, B, C, D, etc. I've tried something like this: for (String itemString : items) { scanExpression.addFilterCondition("id", new Condition().withComparisonOperator(ComparisonOperator.NE) .withAttributeValueList(new AttributeValue().withS(itemString))); } PaginatedScanList<Items> result = mapper.scan(Item.class, scanExpression); What appears to happen is that each time I