List of usage examples for com.amazonaws.services.dynamodbv2 AmazonDynamoDB scan
ScanResult scan(ScanRequest scanRequest);
The Scan operation returns one or more items and item attributes by accessing every item in a table or a secondary index.
From source file:com.raoul.walkfoframe.web.DynamoDBManager.java
License:Open Source License
public static List<Map<String, AttributeValue>> getUserList() { AmazonDynamoDB ddb = HWOFameApplication.clientManager; ScanRequest request = new ScanRequest(); request.setTableName("WOFHonorees"); try {/*from w w w. j a v a2 s. c o m*/ ScanResult result = ddb.scan(request); return result.getItems(); } catch (AmazonServiceException ex) { //HWOFameApplication.clientManager.wipeCredentialsOnAuthError(ex); } return null; }
From source file:kinesisadaptersample.StreamsAdapterDemoHelper.java
License:Open Source License
public static ScanResult scanTable(AmazonDynamoDB dynamoDBClient, String tableName) { return dynamoDBClient.scan(new ScanRequest().withTableName(tableName)); }