rangeKeyCondition.setComparisonOperator(ComparisonOperator.BETWEEN);
Map<String, Condition> conditionMap = new HashMap<String, Condition>();
conditionMap.put("range", rangeKeyCondition);
request.setScanFilter(conditionMap);
ScanResult result = getClient().scan(request);
Assert.assertNotNull(result);
Assert.assertNotNull(result.getItems());
Assert.assertEquals(40, result.getItems().size());
for (Map<String, AttributeValue> item : result.getItems()) {
Assert.assertTrue(new Integer(item.get("range").getN()) <= 104 && new Integer(item.get("range").getN()) >= 100);
}
}