Google App Engine/Java SDK 在哪里存储记录和 blob?
Google App Engine/Java 的 SDK 在哪里存储记录和 blob?
我对 Windows SDK 特别感兴趣。
我想在手动和自动测试期间查看并清除数据。
理想情况下,还应该有管理控制台的精简版本。
Where does the SDK for Google App Engine/Java store records and blobs?
I am specifically interested in the Windows SDK.
I would like to see and clear out data, during both manual and automated testing.
Ideally, there would also be a trimmed down version of the admin console.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
默认情况下,java app engine sdk 将 blob 存储在应用的
WEB-INF/appengine- generated/
子目录中,并将数据存储区记录存储在该目录的local_db.bin
文件中。您可以通过设置
datastore.backing_store
和blobstore.backing_store
java 属性来更改这些设置(请参阅LocalBlobstoreService.BACKING_STORE_PROPERTY
和
LocalDatastoreService.BACKING_STORE_PROPERTY
)。至于精简版管理控制台,有一个,类似于python sdk。启动 Java 开发服务器并转到 http://localhost:8080/_ah/admin。
by default, the java app engine sdk stores blobs in your app's
WEB-INF/appengine-generated/
subdirectory and datastore records in thelocal_db.bin
file in that directory.you can change these by setting the
datastore.backing_store
andblobstore.backing_store
java properties (seeLocalBlobstoreService.BACKING_STORE_PROPERTY
and
LocalDatastoreService.BACKING_STORE_PROPERTY
).as for trimmed down admin console, there is one, similar to the python sdk's. start the java development server and go to http://localhost:8080/_ah/admin.