You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: services-custom/dynamodb-enhanced/src/it/java/software/amazon/awssdk/enhanced/dynamodb/AsyncCrudWithResponseIntegrationTest.java
Copy file name to clipboardExpand all lines: services-custom/dynamodb-enhanced/src/it/java/software/amazon/awssdk/enhanced/dynamodb/DynamoDbEnhancedIntegrationTestBase.java
Copy file name to clipboardExpand all lines: services-custom/dynamodb-enhanced/src/it/java/software/amazon/awssdk/enhanced/dynamodb/ScanQueryIntegrationTest.java
Copy file name to clipboardExpand all lines: services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/DynamoDbEnhancedAsyncClient.java
Copy file name to clipboardExpand all lines: services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/DynamoDbEnhancedClient.java
Copy file name to clipboardExpand all lines: services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/DynamoDbEnhancedResource.java
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -54,5 +54,28 @@ interface Builder {
54
54
* @param dynamoDbEnhancedClientExtensions a list of extensions to load with the enhanced client
Copy file name to clipboardExpand all lines: services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/MappedTableResource.java
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -54,4 +54,25 @@ public interface MappedTableResource<T> {
54
54
* @return A key that has been initialized with the index values extracted from the modelled object.
55
55
*/
56
56
KeykeyFrom(Titem);
57
+
58
+
/**
59
+
* The default read consistency model for single read operations (GetItem, Query, Scan). When set to true, these
60
+
* operations will use strongly consistent reads. By default, this is set to null/false, i.e., eventually consistent reads.
61
+
* <p>
62
+
* If set at the request level, e.g., {@code QueryEnhancedRequest}, the request level value will take precedence.
63
+
* <p>
64
+
* Note: This setting applies to single read operations only:
65
+
* <ul>
66
+
* <li>BatchGetItem: Eventually consistent by default, consistent read setting must be configured at the individual
67
+
* request level, i.e. {@code GetItemEnhancedRequest}s passed to {@code ReachBatch} on the {@code
68
+
* BatchGetItemEnhancedRequest}, when performing batch GET.
69
+
* </li>
70
+
* <li>TransactGetItems: Always uses strongly consistent reads by design, so this setting is not applicable.</li>
71
+
* </ul>
72
+
*
73
+
* @return The default consistent read setting on the table.
0 commit comments