Cannot get statistics for an entity on the dev server:
DatastoreService datastore =
DatastoreServiceFactory.getDatastoreService();
Entity globalStat = datastore.prepare(new Query
("__Stat_Total__")).asSingleEntity();
Long totalBytes = (Long) globalStat.getProperty("bytes");
OS: Mac OS X 10.5.8, E
http://haiti-quake.appspot.com
Powered by Google App Engine (Java) and some custom GIS modifications
of the Java Topology Suite library, this site lets friends and family
search for a Haitian address and read what the potential damage might
be at the site, based on USGS hazard maps for the Modifie
Users interested in better BlobstoreService, please "star" the issue so it
gets more attention:
http://code.google.com/p/googleappengine/issues/detail?id=2536
Stuart
On Fri, Dec 18, 2009 at 11:23 AM, Stuart Moffatt wrote:
> Added as feature request:
>
> http://code.google.co
Added as feature request:
http://code.google.com/p/googleappengine/issues/detail?id=2536
<http://code.google.com/p/googleappengine/issues/detail?id=2536>Stuart
On Fri, Dec 18, 2009 at 11:16 AM, Stuart Moffatt wrote:
> App Engine team:
>
> Thanks for introducing BlobstoreService.
App Engine team:
Thanks for introducing BlobstoreService. It looked like it was going
to solve a major impediment in an application I am prototyping, but I
hit the wall (again) with only being able to regurgitate blobs during
an http response, and not do anything useful with them in the cloud.
I
All,
[excuse the cross posting to gwt/appengine]
The TaskEngine sample application (http://taskengine.googlecode.com)
by jaimeyap is a Google Web Toolkit application that runs on App
Engine (http://taskengine.appspot.com) but is especially designed for
use on iPhone.
TaskEngine depends on GWT In
Nick,
> Pretty much, except kind() is a method for Model classes, not loaders. Like
> this:
>
> class Foo(db.Model):
> @classmethod
> def kind(self):
> return 'my.Foo'
>
>
The above kind() method makes more sense (in the model instead of the
loader). Was not aware of it as the docs don't
Nick,
> Can you clarify what you mean by 'java loader' and 'hosted mode'?
My java loader is a servlet which loads a CSV from disk, processes it and
persists entities to the datastore. The CSV has the values for the
properties I want my entity to have. The CSV and the data it points to is in
WEB-I
Typo (I think):
- Query q = new Query("package.MyClass") // manually pass full package
name
should be:
- Query q = new Query("SELECT * FROM package.MyClass") // manually pass
full package name
Stuart
On Wed, Nov 4, 2009 at 4:43 PM, Stuart Moffatt wrote:
>
i Stuart,
>
> I'm not sure why this would be happening. Your best option might be to
> insert a record using Java, then check how it shows up in the admin console,
> and make sure to use the exact same name for the kind you use in the Java
> loader.
>
> -Nick Johnson
>
&g
tuart
On Nov 3, 5:06 pm, Stuart Moffatt wrote:
> I am using Nick's excellent tutorials on bulk loading, and was able to
> push a huge pile of entities up to production. Problem is, they looked
> like this:
>
> MySpecialEntity
>
> in my custom python bulkloader clas
I am using Nick's excellent tutorials on bulk loading, and was able to
push a huge pile of entities up to production. Problem is, they looked
like this:
MySpecialEntity
in my custom python bulkloader class and in production.
The gotcha is my application is Java, and queries for:
SELECT FROM or
There are a few threads that mention using memcache in hosted mode,
and having to set certain properties or configure persistence.xml, but
there does not seem to be a concrete example of what / where / or how
to set the parameters.
Currently I have to redeploy my app to App Engine every time to s
t or offer any suggestions?
On Sep 26, 11:04 pm, Stuart Moffatt wrote:
> Toby,
>
> I should have thought of it earlier, but you were exactly right in
> suggesting the static var for the spatial index. First hit was 9760
> milliseconds (as App Engine was spinning up). Many subs
All,
Apple Guice is a demo App Engine application using GWT with MVP (via
gwt-dispath and gwt-presener), dependency injection (GIN on the
client, Guice on the server), and a sharded counter to track the
number of visitors.
Demo is available at: http://appleguice.latest.emcode-dev.appspot.com/
S
Under the Java Topology Suite (JTS) section of this page, please add:
"A JTS + GWT + Google Maps demo is available at http://giscloud.appspot.com";
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine f
objects to be serializable and the current JTS indexes are not.
Thus, JTS needs to be modified to permit serializing indexes.
Here is my initial foray into making the STRtree spatial index
serializable:
http://code.google.com/p/giscloud/wiki/SerializedSpatialIndexes
Best regards,
Stuart Moffatt
Ph.D
17 matches
Mail list logo