Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2466)

Issue 9029044: http issue 216: DataStore based on String key and Serializable value (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 12 months ago by yanivi
Modified:
10 years, 10 months ago
Reviewers:
ngmiceli, peleyal
Base URL:
https://code.google.com/p/google-http-java-client/
Visibility:
Public.

Description

http issue 216: DataStore based on String key and Serializable value https://code.google.com/p/google-http-java-client/issues/detail?id=216 Nick: careful review of everything Eyal: design review

Patch Set 1 #

Patch Set 2 : updated #

Patch Set 3 : minor #

Patch Set 4 : minor #

Patch Set 5 : major update #

Patch Set 6 : mninor #

Patch Set 7 : more #

Patch Set 8 : minor #

Patch Set 9 : improvements #

Patch Set 10 : more fixes #

Patch Set 11 : minor #

Patch Set 12 : more improvements #

Patch Set 13 : minor #

Patch Set 14 : minor #

Total comments: 90

Patch Set 15 : round 2 #

Patch Set 16 : fixes #

Patch Set 17 : minor #

Patch Set 18 : minor #

Patch Set 19 : minor #

Total comments: 50

Patch Set 20 : DO NOT REVIEW! FOR DIFF PURPOSES ONLY #

Patch Set 21 : comments & getDefaultInstance() #

Total comments: 8

Patch Set 22 : based on comments & added DataStoreUtils.toString() for debugging #

Patch Set 23 : @Beta #

Total comments: 3

Patch Set 24 : minor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3054 lines, -0 lines) Patch
M google-http-client-appengine/pom.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +20 lines, -0 lines 0 comments Download
A google-http-client-appengine/src/main/java/com/google/api/client/extensions/appengine/datastore/AppEngineDataStoreFactory.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +357 lines, -0 lines 0 comments Download
A google-http-client-appengine/src/main/java/com/google/api/client/extensions/appengine/datastore/package-info.java View 1 1 chunk +24 lines, -0 lines 0 comments Download
A google-http-client-appengine/src/test/java/com/google/api/client/extensions/appengine/datastore/AppEngineDataStoreFactoryTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +48 lines, -0 lines 0 comments Download
A google-http-client-appengine/src/test/java/com/google/api/client/extensions/appengine/datastore/AppEngineNoMemcacheDataStoreFactoryTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +31 lines, -0 lines 0 comments Download
M google-http-client-assembly/classpath-include View 1 chunk +1 line, -0 lines 0 comments Download
M google-http-client-assembly/pom.xml View 1 chunk +4 lines, -0 lines 0 comments Download
M google-http-client-assembly/readme.html View 2 chunks +3 lines, -0 lines 0 comments Download
M google-http-client-gson/src/main/java/com/google/api/client/json/gson/GsonFactory.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +18 lines, -0 lines 0 comments Download
M google-http-client-jackson2/src/main/java/com/google/api/client/json/jackson2/JacksonFactory.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +18 lines, -0 lines 0 comments Download
A google-http-client-jdo/.classpath View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -0 lines 0 comments Download
A google-http-client-jdo/.project View 1 chunk +23 lines, -0 lines 0 comments Download
A google-http-client-jdo/.settings/org.eclipse.core.resources.prefs View 1 chunk +3 lines, -0 lines 0 comments Download
A google-http-client-jdo/.settings/org.eclipse.jdt.core.prefs View 1 chunk +380 lines, -0 lines 0 comments Download
A google-http-client-jdo/.settings/org.eclipse.jdt.ui.prefs View 1 chunk +119 lines, -0 lines 0 comments Download
A google-http-client-jdo/pom.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +117 lines, -0 lines 0 comments Download
A google-http-client-jdo/src/main/java/com/google/api/client/extensions/jdo/JdoDataStoreFactory.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +388 lines, -0 lines 0 comments Download
A google-http-client-jdo/src/main/java/com/google/api/client/extensions/jdo/package-info.java View 1 1 chunk +24 lines, -0 lines 0 comments Download
A google-http-client-jdo/src/test/java/com/google/api/client/extensions/jdo/JdoDataStoreFactoryTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 20 1 chunk +75 lines, -0 lines 0 comments Download
M google-http-client-test/.classpath View 1 1 chunk +1 line, -0 lines 0 comments Download
A google-http-client-test/src/main/java/com/google/api/client/test/util/store/AbstractDataStoreFactoryTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 20 1 chunk +240 lines, -0 lines 0 comments Download
A google-http-client-test/src/main/java/com/google/api/client/test/util/store/package-info.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +21 lines, -0 lines 0 comments Download
A google-http-client-test/src/test/java/com/google/api/client/test/util/FileDataStoreFactoryTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 20 1 chunk +49 lines, -0 lines 0 comments Download
A google-http-client-test/src/test/java/com/google/api/client/test/util/MemoryDataStoreFactoryTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +32 lines, -0 lines 0 comments Download
M google-http-client/src/main/java/com/google/api/client/util/IOUtils.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +118 lines, -0 lines 0 comments Download
A google-http-client/src/main/java/com/google/api/client/util/store/AbstractDataStore.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +111 lines, -0 lines 0 comments Download
A google-http-client/src/main/java/com/google/api/client/util/store/AbstractDataStoreFactory.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +79 lines, -0 lines 0 comments Download
A google-http-client/src/main/java/com/google/api/client/util/store/AbstractMemoryDataStore.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +195 lines, -0 lines 0 comments Download
A google-http-client/src/main/java/com/google/api/client/util/store/DataStore.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +98 lines, -0 lines 0 comments Download
A google-http-client/src/main/java/com/google/api/client/util/store/DataStoreFactory.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +67 lines, -0 lines 0 comments Download
A google-http-client/src/main/java/com/google/api/client/util/store/DataStoreUtils.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +64 lines, -0 lines 0 comments Download
A google-http-client/src/main/java/com/google/api/client/util/store/FileDataStoreFactory.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +120 lines, -0 lines 0 comments Download
A google-http-client/src/main/java/com/google/api/client/util/store/MemoryDataStoreFactory.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +61 lines, -0 lines 0 comments Download
A google-http-client/src/main/java/com/google/api/client/util/store/package-info.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +24 lines, -0 lines 0 comments Download
A google-http-client/src/test/java/com/google/api/client/util/IOUtilsTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +62 lines, -0 lines 0 comments Download
M pom.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 7 chunks +51 lines, -0 lines 0 comments Download

Messages

Total messages: 12
yanivi
10 years, 11 months ago (2013-05-28 20:00:01 UTC) #1
yanivi
10 years, 11 months ago (2013-05-29 20:50:26 UTC) #2
ngmiceli
Note that there are some comments that are written on only one implementation of a ...
10 years, 11 months ago (2013-05-31 19:42:10 UTC) #3
yanivi
I responded to everything except the separate database tables issue for JDO which I listed ...
10 years, 10 months ago (2013-06-11 20:46:18 UTC) #4
yanivi
I looked into the possibility of a pure JDBC implementation implementation of a DataStore and ...
10 years, 10 months ago (2013-06-12 19:12:19 UTC) #5
peleyal
Great job! I have a lot of comments, but almost all of them are regarding ...
10 years, 10 months ago (2013-06-13 15:51:17 UTC) #6
yanivi
In addition, I added getDefaultInstance() to AppEngineDataStoreFactory, MemoryDataStoreFactory, GsonFactory, and JacksonFactory. I need those for ...
10 years, 10 months ago (2013-06-13 16:35:08 UTC) #7
peleyal
LGTM with comments https://codereview.appspot.com/9029044/diff/107002/google-http-client-appengine/src/main/java/com/google/api/client/extensions/appengine/datastore/AppEngineDataStoreFactory.java File google-http-client-appengine/src/main/java/com/google/api/client/extensions/appengine/datastore/AppEngineDataStoreFactory.java (right): https://codereview.appspot.com/9029044/diff/107002/google-http-client-appengine/src/main/java/com/google/api/client/extensions/appengine/datastore/AppEngineDataStoreFactory.java#newcode323 google-http-client-appengine/src/main/java/com/google/api/client/extensions/appengine/datastore/AppEngineDataStoreFactory.java:323: * @return this instance In my ...
10 years, 10 months ago (2013-06-13 19:32:23 UTC) #8
yanivi
I made some small fixes, and added DataStoreUtil.toString() to help with debugging. Please take another ...
10 years, 10 months ago (2013-06-13 19:47:57 UTC) #9
yanivi
Added the @Beta annotation
10 years, 10 months ago (2013-06-13 20:11:15 UTC) #10
peleyal
LGTM https://codereview.appspot.com/9029044/diff/115012/google-http-client/src/main/java/com/google/api/client/util/store/DataStoreUtils.java File google-http-client/src/main/java/com/google/api/client/util/store/DataStoreUtils.java (right): https://codereview.appspot.com/9029044/diff/115012/google-http-client/src/main/java/com/google/api/client/util/store/DataStoreUtils.java#newcode33 google-http-client/src/main/java/com/google/api/client/util/store/DataStoreUtils.java:33: * {@link Object#toString()}. [optional] please add that this ...
10 years, 10 months ago (2013-06-14 13:21:27 UTC) #11
yanivi
10 years, 10 months ago (2013-06-14 14:15:07 UTC) #12
submitting now...

https://codereview.appspot.com/9029044/diff/115012/google-http-client/src/mai...
File
google-http-client/src/main/java/com/google/api/client/util/store/DataStoreUtils.java
(right):

https://codereview.appspot.com/9029044/diff/115012/google-http-client/src/mai...
google-http-client/src/main/java/com/google/api/client/util/store/DataStoreUtils.java:33:
* {@link Object#toString()}.
On 2013/06/14 13:21:27, peleyal wrote:
> [optional] please add that this method calls to keySet and get(key)

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b