Suppose I have a working query such as:
ScanRequest scanRequest = new ScanRequest()
.withTableName("myTable")
.withFilterExpression("attr1 = :val1 and attr2 = :val2")
.withExpressionAttributeValues(vm) //contains values for :val1 and :val2
.withLimit(PAGE_SIZE)
.withConsistentRead(READ_TYPE);
Now I would like to extend this scan. Suppose my table also has an attribute attr3 which has the form:
"attr3": {
"S": "AAA BBB CCC DDD"
}
How can I filter elements who's attr3 contains AAA? Or AAA and BBB?