I'm building a gwt app that stores the text of random webpages in a datastore text field. Often the text is formatted UTF-8. All the files of my app are stored as UTF-8 and when I run the application on my local machine the entire process works fine. UTF-8 text is stored as such and retrievable ftom the local version of the app engine ...
I've been using the low level datastore API for App Engine in Java for a while now and I'm trying to figure out the best way to handle one to many relationships. Imagine a one to many relationship like "Any one student can have zero or more computers, but every computer is owned by exactly one student".
The two options are to:
have th...
hi
i am using google cse in my blog..
i want to customize the results like....i will explain with simple scenario..
In my webpage haing the three columns.. middle column having displaying search results..i have left column having the catagerization like products(etc based on the meta tag keywords).. if the user is searching for a par...
Need Help Creating GAE Datastore Loader Class for uploading data using appcfg.py?
Any other way to simplified this process?
is there any detailed example better than here
When try using bulkloader.yaml:
Uploading data records.
[INFO ] Logging to bulkloader-log-20100701.041515
[INFO ] Throttling transfers:
[INFO ] Bandwidth: 25...
Using the following link:
http://code.google.com/appengine/docs/python/tools/uploadingdata.html#Downloading_and_Uploading_All_Data
I am creating an bulkloader to download a datastore entity that is defined as follows:
class ReportEntry(db.Model):
"""A report from a Jinx instance running in the field."""
entry_type = db.StringP...
In MySQL you can get the next or previous record based on the key/id.
Anyone know how i can achieve this in app engine (im using python) by only knowing/passing the key? Thanks
...
I'm looking for a effective and scalable way of doing the following with the java low level API. I have a query with some sort orders and i would like to fetch the Nth entity. Using the offset argument doesn't seem like a good idea.
EDIT Background:
I'm trying to write an abstraction layer for DS with a Memcache. The data stored in the ...
I have a code snippet:
private static DatastoreService _db;
public static DatastoreService db() throws IOException
{
if(_db==null) _db = DatastoreServiceFactory.getDatastoreService();
return _db;
}
Is this safe approach? I cached the DatastoreService object statically and re-used over a single servlet execution. However, I ha...
I have DB with table in INDIA, for that table I am maintains the table cache here..but i am interested to maintain the cache in UK with the same table (I am not interested to create the same table in the UK).. it is possible?
what requirements to be required for this one/
Thanks,
Murali
...
Does anyone know how edit a field with type 'Date' in the appengine data store viewer in production? It seems like it maps to an int field and I tried putting in the number of milliseconds since epoch but that didnt work.
...
Does anyone know how edit a field with type 'Text' in the appengine data store viewer in production?
...
I have a feeling the answer is simple and documented, but I'm absolutely missing it:
Is there a way, using Python and webapp through Google App Engine, to pass the id field of a record to the template? I'm fairly new to the app engine, and yes, I have searched all around the Google Documentation to find this.
...
Here's the requirement at a very high level.
We are going to distribute desktop agents (or browser plugins) to collect certain information from tons of users (in thousands or possibly millions down the road).
These agents collect data and periodically upload it to a server app.
The server app will allow for analyzing collected data...
Hi
I have a large CSV file, approx 10 MB in size, which contains all the data which need to be imported in the Google App Engine DataStore.
I tried following approaches to perform import but all the times it failed in half way.
Import using mapping a command to url and then executing url, failed because of request time out...
Import...
Bulkload automatic configuration bulkload.yaml.
How to export reference property for key reference field back to datastore from csv.
- property: datacenter
external_name: datacenter
# Type: Key Stats: 2 properties of this type in this kind.
import_transform: transform.create_foreign_key('DataCenter')
export_transform: transform....
Hi,
I am building an app with Java witch will be deployed on Google App Engine.
I on of my persistence capable object I have an Collection of Strings. Is there a way to inform PersistenceManager about an change in this collection, while, as I understand, PersistenceManager only detects changes when property have changed.
Luke.
...
I wanted to view the size of my datastore entities OR be able to estimate them some how?
(I cant see where memory size info is on Appstats Console or the Development Console?)
My problem is that I want to know the byte size of 2 types of entities:
Entity A
The key_name is 20 characters. (ie. {AAAA}{BBBB}{CCCC} ).
Only one TextProper...
When the following code is executed:
q = MyKind.all()
taskqueue.add(url="/admin/build", params={'cursor': q.cursor()})
I get:
AssertionError: No cursor available.
Why does this happen? Do I need to fetch something first? (I'd rather not; the code is cleaner just to get the query and pass it on.)
I'm using Python on Google ...
Is there a way to substitute:
def get_objects(attr1,attr2,..):
objects = Entities.all()
if attr1 != None:
objects.filter('attr1',attr1)
if attr2 != None:
objects.filter('attr2',attr2)
....
return objects
With a single query:
Entities.all().filter('attr1',attr1).filter('attr2',attr2)
By using som...
I have a model which looks like this:
class test (db.Model) :
tagList = StringListProperty()
siteName = StringProperty()
I am storing tags in "tagList" and would like to run a query where I can get all test entities containing a particular tag in their tagList.
Is this possible?
...