简体   繁体   English

如何列出Google Cloud Datastore的现有索引

[英]How to list existing indexes of Google cloud Datastore

We have a Java application running on Google App engine. 我们有一个运行在Google App引擎上的Java应用程序。 We are using cloud datastore also and we created around 150 indexes in datastore. 我们也在使用云数据存储,并在数据存储中创建了约150个索引。

I can see what are the indexes from GCP UI console. 我可以从GCP UI控制台看到什么索引。

I just want to see the list of indexes in local using Gcloud / appcfg tool , How can I do this ? 我只想使用Gcloud / appcfg工具查看本地索引列表,该怎么办?

Thanks 谢谢

Neither of the tools has such capability, at least not presently. 两种工具都没有这种能力,至少目前没有。

AFAIK your only alternative would be to obtain the index configurations using the approach I described in the answer to your related question How generate datastore-indexes.xml in Google App engine application (Java) AFAIK唯一的选择是使用我在您的相关问题的答案中描述的方法获取索引配置。 如何在Google App Engine应用程序(Java)中生成datastore-indexes.xml

gcloud 211.0.0开始,您可以使用gcloud beta数据存储索引列表列出复合索引。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM