- Get user information for a given userID -
getUserInfoByUserID
- Get follower list for a given userID -
getFollowerListByUserID
- Get following list for a given userID -
getFollowingListByUserID
- Get post list for a given userID -
getPostListByUserID
- Get user list who likes the post for a given postID -
getUserLikesByPostID
- Get the like count for a given postID -
getLikeCountByPostID
- Get the timeline for a given userID -
getTimelineByUserID
- User (Core)
- Follower
- Following
- Timeline
- Post
- Post Like List
- Post Like Count
Partition key format u#12345
Sort Keys:
count: follower, following and posts
info: name, content, imageUrl and etc
Partition key format u#12345#follower
Sort Keys: will contain the user id
Partition key format u#12345#following
Sort Keys: will contain the user id
Partition key format u#12345#post
Sort Key: p#1
Partition key format p#1#likelist
Sort Keys: will contain the user id
Partition key format p#1#likecount
Sort Keys: will contain the count
Partition key format u#12345#timeline
Sort Keys: p#12345#u#67890