Groups
Groups
Sign in
Groups
Groups
Google App Engine
Conversations
Labels
About
Send feedback
Help
Java example on how to upload csv data to the data store
1,056 views
Skip to first unread message
gustavo
unread,
Feb 13, 2014, 2:53:58 PM
2/13/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-a...@googlegroups.com
Does anybody have an example on how to easily upload csv data to the
data store with java?
Thanks
Vinny P
unread,
Feb 13, 2014, 9:27:42 PM
2/13/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-a...@googlegroups.com
On Thu, Feb 13, 2014 at 1:53 PM, gustavo
<
prac...@gmail.com
>
wrote:
Does anybody have an example on how to easily upload csv data to the
data store with java?
Do you want to use a CSV file to define entities within the datastore, or upload and save the entire CSV file to App Engine?
If you're using the CSV file to define entities, you can use the bulkloader (
https://developers.google.com/appengine/tools_tips#Bulk_Loader
) to automatically load entities into the datastore. If you want to save the entire file, you can upload the file to the Blobstore (
https://developers.google.com/appengine/docs/java/blobstore/#Java_Uploading_a_blob
) or Google Cloud Storage (
https://developers.google.com/appengine/docs/java/googlecloudstorageclient/
). Code examples are available at the above links.
-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL
App Engine Code Samples:
http://www.learntogoogleit.com
Andrei Volgin
unread,
Feb 14, 2014, 9:49:39 AM
2/14/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-a...@googlegroups.com
If you want to convert CSV data into entities, you may use
http://sourceforge.net/projects/opencsv/
to process your CVS file.
Reply all
Reply to author
Forward
0 new messages