gae-datastore

How do I write data in my Google App Engine Datastore to com.google.appengine.api.datastore.Text

I have persistent object, with a string property that often is over 500 charachters. Google App Engine says I need to save it as a com.google.appengine.api.datastore.Text. How do I either convert a String type to a com.google.appengine.api.datastore.Text type so I can use a setMethod() on the property, or otherwise get my long sting ...

Are unowned relationships required for this optimization in Google App Engine-Java?

I am trying to optimize a particular instance of an owned one-to-many relationship where the parent has a list of children where the list of children could be very large. Children may be created, removed, and edited. Editing is actually ok as I can retrieve a child without ever retrieving the parent. For deleting, I could retrieve t...

Google bigtable-storagecapacity

I know how to create table in Google Bigtable. How much data can I store while staying within the free quota? ...

How do you do a 'like' query in appengine JPA?

I know there is a limited version of a LIKE query in the App engine's datastore where you can only search on the end of a string but I can't seem to find the syntax. I want to do something like this SELECT * FROM MyTable WHERE name LIKE ji% ...

Google App Engine - About how much quota does a single datastore put use?

The latency for a datastore put is about 150ms - http://code.google.com/status/appengine/detail/datastore/2010/03/11#ae-trust-detail-datastore-put-latency. About how much CPUTime is used by a single datastore put with data size of 100 bytes, into an entity that has only 1 property, and no indexes? Also, does anyone know about how much...

Python appengine Query does not work when using a variable.

Hi, I am trying to use a fetcher method to retrieve items from my datastore. If I use the following def getItem(item_id): q = Item.all() q.filter("itemid = ", item_id) It fails because nothing is returned. If I hard code in an item like def getItem(item_id): q = Item.all() q.filter("itemid = ", 9000) it fetches j...

How to model a social news feed on Google App Engine

We want to implement a "News feed" where a user can see messages broadcasted by her friends, sorted with newest message first. But the feed should reflect changes in her friends list. (If she adds new friends, messages from those should be included in the feed, and if she removes friends their messages should not be included.) If we use ...

Port a live system from App Engine Helper to App Engine Patch

I am running a live system that is currently serving about 20K pages a day which is based on App Engine Helper (Python) with session support provided by AppEngine utilities. One problem that I have been having is that sessions are occasionally randomly logging out. I would like to try using the App Engine Patch, since it has "native" dj...

How to set primary key in table using googledatastore.?

hi i have one doubt.How to set primary key in table using googledatastore. ...

How-to delete indexes in Google App Engine (Java)?

Is there a way to delete unused indexes in Google App Engine Java application? The only one way I was able to find is to create an empty Python GAE application and run the following command: appcfg.py vacuum_indexes /path/to/myapp/ Is there a more intelligent way? ...

Extend Google AppEngine User in JRuby?

I'm working with JRuby and DataMapper running on Google AppEngine. I want to add a property to the AppEngine::User like :active_calendar which is a reference to a Calendar kind. I was able to do something in Python this way using a back reference. Are these possible in JRuby? Is this possible? Do I need to subclass the User? Can I even...

Custom keys for Google App Engine models (Python)

First off, I'm relatively new to Google App Engine, so I'm probably doing something silly. Say I've got a model Foo: class Foo(db.Model): name = db.StringProperty() I want to use name as a unique key for every Foo object. How is this done? When I want to get a specific Foo object, I currently query the datastore for all Foo objects ...

How to upload 6000 record to Google Datastore from csv file

http://code.google.com/appengine/docs/python/tools/uploadingdata.html is not clearly understand. Where i should call the bulkloader.py or appcfg.py? Should i import the csv file to local Google App Engine SDK first? How to keep the upload and download data process in existing application for datastore synchronization? ...

Get the Model context of a Key object in Datastore (App Engine)

I'd like to bypass some frequent queries by storing str(key) in memcache. When I get the encoded_key back from memcached, I can reconstruct the key with Key(encoded=encoded_key). But how can I query the actual object from the key? A possibility would be to use GqlQuery('SELECT * FROM ' + Key(encoded_key).kind() + \ ' WHERE __key__ ...

How to use datastore cursors with jpa on GAE

Any body know how to use Datastore Cursors with JPA? ...

Is it good to use Django 1.1 on App Engine?

We are planning a web application to build on Google's App Engine platform. Is it good to use the Django 1.1 framework to develop Google App Engine applications? If not, could you please suggest me the best option available, which has good tutorials and learning resource? ...

GAE Datastore Put()

def post(self): update = self.request.get('update') if users.get_current_user(): if update: personal = db.GqlQuery("SELECT * FROM Personal WHERE __key__ = :1", db.Key(update)) personal.name = self.request.get('name') personal.gender = self.request.get('gender') personal.mo...

Google App Engine Datastore Faceted Search

Has any one implemented Faceted Search using Google App Engine Datastore? ...

GAE Datastore Table Display using JSON and Google Visualization Table?

GAE Datastore Table Display using JSON and Google Visualization Table? Anyone has experience on this? How Google Visualization Table will render pagination with JSON? Really need an example on how to do this or another solution on achieving same result? I just want to render my table just like this sample using above methode and source. ...

How can I use the AppEngine::Datastore api's in JRuby like in python?

So in python I would do something like this: from google.appengine.ext import db class Thing(db.Model): name = db.StringProperty() In ruby how would I do this using the AppEngine::Datastore libs? The reason I ask this is because I'm hitting some hard walls using the Datamapper adapter and so I plan on just using the AppEngine ap...