@Test
    public void howToUseScanFilters() {
        Table table = dynamo.getTable(TABLE_NAME);
        ItemCollection<?> col = table.scan(
                new ScanFilter(HASH_KEY_NAME).eq("foo"),
                new ScanFilter(RANGE_KEY_NAME).between(1, 10)
        );
        int count = 0; 
        for (Item item: col) {
            System.out.println(item);
            count++;
        }
        Assert.assertTrue(count == 10);
    }
Sample code to scan items from DynamoDB table.
src/samples/AmazonDynamoDBDocumentAPI/quick-start/com/amazonaws/services/dynamodbv2/document/quickstart/E_ScanTest.java