Wednesday, 15 February 2012

java - Why no entity kind with name _BlobInfo_ in datastore is created when application is deployed on GAE? -



java - Why no entity kind with name _BlobInfo_ in datastore is created when application is deployed on GAE? -

when upload files blobstore on google app engine find every upload entity of kind _blobinfo_ created can seen in local development console under datastore viewer @ http://localhost:8888/_ah/admin, after application deployed app engine no such entities created when upload files blobstore. looks unusual me , wanted know if i'm missing here.

_blobinfo_ not special name , app doesn't create entities name.

in production environment __blobinfo__ internal name storing info blobs stored in blobstore. note there two underscore characters (_) before , after word blobinfo. entity created if app creates , saves blobs blobstore.

since internal entity, excluded datastore viewer default. exluded datastore statistics page, appear blobinfo under kind: "all entities". using little trick, can show detailed statistics __blobinfo__ entity: take entity dropdown list, , afte page has reloaded, in url modify parameter kind=xxx kind=__blobinfo__ , nail enter. page reload showing statistics though hidden dropdown list.

however, can list these entities. illustration go datastore viewer of admin console, , check "by gql" can come in gql list entites. come in next gql query:

select * __blobinfo__

this list blobinfo entities.

note blob viewer page of admin console displays blobs based on entities stored under name __blobinfo__. __blobinfo__ entities contain more properties ones displayed on blob viewer page.

all properties following:

id/name content_type creation creation_handle filename md5_hash size upload_id

these available application if happen query these entities.

java google-app-engine gae-datastore blobstore

No comments:

Post a Comment