V1 Xpec API to V2 Expressions API
The Expression Specification (Xspec) API available in V1 that helps create expressions to work with document-oriented data is not available in V2. V2 uses the Expression API, which works with both document-oriented data and object-to-item mapped data.
| V1 | V2 | |
|---|---|---|
| API name | Expression Specification (Xspec) API | Expression API |
| Works with | Methods of the Document API Table class such as updateItem and scan |
Both APIs of DynamoDB Enhanced Client:
For both types of APIs, after you have acquired a you use expressions in |
| Resources | Expressions information in this Java Developer Guide |