archla.blogg.se

Aws sdk for android studio
Aws sdk for android studio












aws sdk for android studio

This enables you to select the API that you feel is better for your situation. You can even mix and match. For example, you can use the Object Mapper for data in one table, and use the Document API for data in another table.

aws sdk for android studio

The DynamoDB Object Mapper maps client-side model classes to DynamoDB tables.īoth APIs provide methods to perform create / update / delete (CRUD) operations and execute queries against the DynamoDB tables. The difference between the two APIs is in how the data is represented as you manipulate it within your mobile app.

aws sdk for android studio

The Document API provides a simplified interface to access the NoSQL data that is returned by DynamoDB. You no longer need to update schema or map the table properties to class members. The Document API provides new data types to assist in the serialization and deserialization process. What is the difference between the Object Mapper and the Document API? With v2.4.4 of the SDK, we are introducing a new feature, which we call the Document API. With the Document API, you no longer need to use the DynamoDB Object Mapper instead, you access individual fields within data objects directly. You then had to define a model within your mobile code that mirrors the model defined in the table for DynamoDB. In the past, to access data, you needed to use the DynamoDB Object Mapper (or use the service APIs). The AWS Mobile SDK for Android helps developers write mobile apps by providing simplified APIs for using AWS services, such as Amazon Cognito and Amazon DynamoDB.














Aws sdk for android studio