We went through a period ______ communications we

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了We went through a period ______ communications we相关的知识,希望对你有一定的参考价值。

We went through a period ______ communications weWe went through a period ______ communications were very difficult in the rural areas.横线为什么要用in which 不能用that 什么时候要加介词?

We went through a period ______ communications were very difficult in the rural areas.

    先把句子还原: communications were very difficult (in) a period in the rural areas. 首先,从语感上判断,如果period前不加in感觉读起来怪怪的,如果没有语感就完全从句子结构分析;第二,从句子成分判断,communications是主语,were是系动词,difficult是表语,然后句子需要状语,而名词不能做状语,只有介词短语可以做状语,所以必须是 in a period,不能是a period。

    确定句子缺少的成分后,选择用that还是where,关系代词that, which, whose, whom, as, who在句中做主语,宾语,表语或者定语;where, why, when在句中做状语,所以选择where,而定于从句中where=介词+which,所以呢,最后选择in which

参考技术A We went through a period ______ communications weWe went through a period ______ communications were very difficult in the rural areas

你把先行词(a period)带到后面的句子中看,是不是少了什么成分,少了就要补
参考技术B 带有介宾的从句引导词为which

Went / backstore备份

进行GAE / J数据存储备份的最简单方法是什么?

看起来有python bulkloader.py工具为Python应用程序做备份,但是我该如何备份Java应用程序呢?有没有办法使用python工具?

答案

可以使用python工具bulkloader.py来创建GAE Java应用程序的数据存储备份。您只需通过向web.xml添加以下行来设置remote_api:

<?xml version="1.0" encoding="utf-8"?>
<web-app>
  <!-- Add this to your web.xml to enable remote API on Java. -->
  <servlet>
    <servlet-name>remoteapi</servlet-name>
    <servlet-class>com.google.apphosting.utils.remoteapi.RemoteApiServlet</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>remoteapi</servlet-name>
    <url-pattern>/remote_api</url-pattern>
  </servlet-mapping>
  <security-constraint>
    <web-resource-collection>
      <web-resource-name>remoteapi</web-resource-name>
      <url-pattern>/remote_api</url-pattern>
    </web-resource-collection>
    <auth-constraint>
      <role-name>admin</role-name>
    </auth-constraint>
  </security-constraint>
</web-app> 

之后,您可以使用bulkloader.py和--dump下载备份,使用--restore将备份上传到数据存储区。

另一答案

或者,如果可以,您可以等待GAE即将推出的版本中的数据存储备份恢复功能,如路线图中所示。 http://code.google.com/appengine/docs/roadmap.html

另一答案

我知道这个问题已经过时了,但这是应用引擎仪表板中Datastore Administration的一个特性。

另一答案

只需使用here指示为您的应用设置remote_api - 特别是提示:

提示:如果您有Java应用程序,则可以通过安装Java版本的remote_api处理程序来使用Python bulkloader.py工具,该处理程序包含在Java运行时环境中。处理程序servlet类是com.google.apphosting.utils.remoteapi.RemoteApiServlet。

然后,使用带有--dump或--restore的Python bulkloader。

另一答案

您现在可以使用托管导出和导入功能,可以通过gcloud或数据存储管理API访问:

Exporting and Importing Entities

Scheduling an Export

以上是关于We went through a period ______ communications we的主要内容,如果未能解决你的问题,请参考以下文章

“we all at the period of maiden hood ”该如何翻译?

[React] Use React Context to Manage Application State Through Routes

php连接redis报错Redis server went away,求助

To find his cat ,he went everywhere为啥用to find?

Went / backstore备份

使用laravel时:Whoops, looks like something went wrong 解决方法之一