Example usage for com.amazonaws.services.dynamodbv2.model QueryResult QueryResult

List of usage examples for com.amazonaws.services.dynamodbv2.model QueryResult QueryResult

Introduction

In this page you can find the example usage for com.amazonaws.services.dynamodbv2.model QueryResult QueryResult.

Prototype

QueryResult

Source Link

Usage

From source file:com.amazon.janusgraph.diskstorage.dynamodb.QueryWorker.java

License:Open Source License

@Override
protected QueryResultWrapper getMergedPages() {
    final QueryResult mergedDynamoResult = new QueryResult().withItems(getFinalItemList())
            .withCount(returnedCount).withScannedCount(scannedCount).withConsumedCapacity(new ConsumedCapacity()
                    .withTableName(request.getTableName()).withCapacityUnits(totalCapacityUnits));
    return new QueryResultWrapper(titanKey, mergedDynamoResult);
}

From source file:com.rapid7.diskstorage.dynamodb.QueryWorker.java

License:Open Source License

@Override
protected QueryResultWrapper getMergedPages() {
    QueryResult mergedDynamoResult = new QueryResult().withItems(getFinalItemList()).withCount(returnedCount)
            .withScannedCount(scannedCount).withConsumedCapacity(new ConsumedCapacity()
                    .withTableName(request.getTableName()).withCapacityUnits(totalCapacityUnits));
    return new QueryResultWrapper(titanKey, mergedDynamoResult);
}