Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
DynamoDB Applied Design Patterns

You're reading from   DynamoDB Applied Design Patterns Apply efficient DynamoDB design patterns for high performance of applications

Arrow left icon
Product type Paperback
Published in Sep 2014
Publisher
ISBN-13 9781783551897
Length 202 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Uchit Hamendra Vyas Uchit Hamendra Vyas
Author Profile Icon Uchit Hamendra Vyas
Uchit Hamendra Vyas
Arrow right icon
View More author details
Toc

Data format

DynamoDB uses the JavaScript Object Notation (JSON) format to send the request to, and receive the response from, the DynamoDB endpoint. One important rule of thumb is that the DynamoDB endpoint gets this JSON request and parses it into its native format (which is not JSON). During this time, some data loss might occur because of compatibility issues. For example, JSON supports the date data type, but DynamoDB does not support it. So the JSON request should not have a DynamoDB incompatible data type. In order to avoid this situation, DynamoDB has already listed the allowed data types, and they are as follows:

  • S: This denotes the String data type to store strings such as "Kuppu"
  • N: This denotes the Number data type to store numbers such as 2014
  • B: This denotes the Binary data type
  • SS: This denotes the StringSet data type to store string sets such as {"Uchit", "Vyas"}
  • NS: This denotes the NumberSet data type to store number sets such as {2013, 2014}
  • BS...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image