久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <legend id='0JsGG'><style id='0JsGG'><dir id='0JsGG'><q id='0JsGG'></q></dir></style></legend>

      <tfoot id='0JsGG'></tfoot>
        <bdo id='0JsGG'></bdo><ul id='0JsGG'></ul>

    1. <small id='0JsGG'></small><noframes id='0JsGG'>

    2. <i id='0JsGG'><tr id='0JsGG'><dt id='0JsGG'><q id='0JsGG'><span id='0JsGG'><b id='0JsGG'><form id='0JsGG'><ins id='0JsGG'></ins><ul id='0JsGG'></ul><sub id='0JsGG'></sub></form><legend id='0JsGG'></legend><bdo id='0JsGG'><pre id='0JsGG'><center id='0JsGG'></center></pre></bdo></b><th id='0JsGG'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='0JsGG'><tfoot id='0JsGG'></tfoot><dl id='0JsGG'><fieldset id='0JsGG'></fieldset></dl></div>

        AWS Java SDK 中 DynamoDB v2 的遷移詳細信息?

        Migration details for DynamoDB v2 in AWS Java SDK?(AWS Java SDK 中 DynamoDB v2 的遷移詳細信息?)

        <small id='Zl2RV'></small><noframes id='Zl2RV'>

        <tfoot id='Zl2RV'></tfoot>
          <i id='Zl2RV'><tr id='Zl2RV'><dt id='Zl2RV'><q id='Zl2RV'><span id='Zl2RV'><b id='Zl2RV'><form id='Zl2RV'><ins id='Zl2RV'></ins><ul id='Zl2RV'></ul><sub id='Zl2RV'></sub></form><legend id='Zl2RV'></legend><bdo id='Zl2RV'><pre id='Zl2RV'><center id='Zl2RV'></center></pre></bdo></b><th id='Zl2RV'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Zl2RV'><tfoot id='Zl2RV'></tfoot><dl id='Zl2RV'><fieldset id='Zl2RV'></fieldset></dl></div>
          • <legend id='Zl2RV'><style id='Zl2RV'><dir id='Zl2RV'><q id='Zl2RV'></q></dir></style></legend>
              <bdo id='Zl2RV'></bdo><ul id='Zl2RV'></ul>

                  <tbody id='Zl2RV'></tbody>

                1. 本文介紹了AWS Java SDK 中 DynamoDB v2 的遷移詳細信息?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  是否有人對 AWS Java SDK 1.4.2(及更高版本)中的 DynamoDB 的新命名空間 (com.amazonaws.services.dynamodbv2) 和接口進行了更改?根據 1.4.2 發行說明,本地二級指數的發布顯然需要進行重大更改.

                  Has anyone made the change to the new namespaces (com.amazonaws.services.dynamodbv2) and interfaces for DynamoDB in the AWS Java SDK 1.4.2 (and later)? The release of Local Secondary Indices apparently necessitated breaking changes as per the 1.4.2 release notes.

                  有沒有人找到一份指南,詳細說明了哪些更改以及遷移現有代碼需要做什么?我正在嘗試決定何時最好對現有代碼庫進行此更改.

                  Has anyone found a guide detailing what changed and what needs to happen to migrate existing code? I am trying to decide when is best to make this change for an existing code base.

                  推薦答案

                  DynamoDB 的新 dynamodbv2 命名空間引入了以下不兼容的更改(因為它們不是簡單的添加,需要更改代碼才能切換到新的命名空間):

                  The new dynamodbv2 namespace of DynamoDB introduces the following incompatible changes (in that they are not simply additive, and require code changes to switch to the new namespace):

                  • HashKeyElementRangeKeyElement 被替換為 Map.這包括名為 ExclusiveStartKey、LastEvaluatedKeyKey 的結構.此更改對代碼的主要影響是,現在為了調用 GetItem,您的代碼需要知道主鍵的屬性名稱,而不僅僅是主鍵值.
                  • Query 現在使用 Map 類型的 KeyCondition 來指定完整的查詢,而不是使用單獨的 HashKeyValueRangeKeyCondition 字段.
                  • CreateTable 輸入將屬性類型定義與主鍵定義分開(并且創建/更新/刪除/描述響應與此匹配)
                  • 響應中的已消耗容量現在是一個結構,而不是單個數字,并且必須在請求中提出.在批處理操作中,它以單獨的 ConsumedCapacity 結構返回,而不是與結果一起返回.
                  • HashKeyElement and RangeKeyElement are replaced with a Map<String, AttributeValue>. This includes the structures named ExclusiveStartKey, LastEvaluatedKey, and Key. The main impact on the code with this change is that now in order to call GetItem, for example, your code needs to know the attribute names of the primary keys, and not just the primary key values.
                  • Query now uses a KeyCondition of type Map<String, Condition> to specify the full query, instead of having separate HashKeyValue and RangeKeyCondition fields.
                  • CreateTable input separates the attribute type definitions from the primary key definitions (and create/update/delete/describe responses match this)
                  • Consumed Capacity in responses is now a structure instead of a single number, and must be asked for in the request. In Batch operations, this is returned in a separate ConsumedCapacity structure, instead of alongside the results.

                  如果需要,可以逐步將您的代碼遷移到新的 Java API.如果您計劃在代碼中添加查詢本地二級索引或使用本地二級索引創建表的功能,您將需要為該部分代碼使用新的 API.

                  It is possible to migrate your code to the new Java API incrementally, if desired. If you plan to add functionality to your code that queries Local Secondary Indexes, or creates tables with local secondary indexes, you will need to use the new API for that part of your code.

                  如果您使用新 API 創建具有本地二級索引的表,您仍然可以使用 dynamodb 命名空間中的現有代碼對該表執行所有現有操作.例如,帶有 dynamodb 命名空間客戶端的 PutItem 將適用于使用 dynamodbv2 客戶端創建的表,反之亦然.

                  If you create a table with Local Secondary Indexes with the new API, you can still use your existing code in the dynamodb namespace to perform all of the existing operations on that table. As an example, PutItem with the dynamodb namespace client will work against tables created using the dynamodbv2 client, as well as the other way around.

                  這篇關于AWS Java SDK 中 DynamoDB v2 的遷移詳細信息?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How can I detect integer overflow on 32 bits int?(如何檢測 32 位 int 上的整數溢出?)
                  Local variables before return statements, does it matter?(return 語句之前的局部變量,這有關系嗎?)
                  How to convert Integer to int?(如何將整數轉換為整數?)
                  How do I create an int array with randomly shuffled numbers in a given range(如何在給定范圍內創建一個隨機打亂數字的 int 數組)
                  Inconsistent behavior on java#39;s ==(java的行為不一致==)
                  Why is Java able to store 0xff000000 as an int?(為什么 Java 能夠將 0xff000000 存儲為 int?)
                        <tbody id='e49td'></tbody>

                            <bdo id='e49td'></bdo><ul id='e49td'></ul>

                            <legend id='e49td'><style id='e49td'><dir id='e49td'><q id='e49td'></q></dir></style></legend>

                            <small id='e49td'></small><noframes id='e49td'>

                          • <i id='e49td'><tr id='e49td'><dt id='e49td'><q id='e49td'><span id='e49td'><b id='e49td'><form id='e49td'><ins id='e49td'></ins><ul id='e49td'></ul><sub id='e49td'></sub></form><legend id='e49td'></legend><bdo id='e49td'><pre id='e49td'><center id='e49td'></center></pre></bdo></b><th id='e49td'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='e49td'><tfoot id='e49td'></tfoot><dl id='e49td'><fieldset id='e49td'></fieldset></dl></div>
                            <tfoot id='e49td'></tfoot>
                          • 主站蜘蛛池模板: 欧美网址在线观看 | 日韩视频精品在线 | 国产成人精品亚洲日本在线观看 | 欧美中文字幕一区 | 亚洲国产一区二区三区四区 | 久久精品国产亚洲一区二区 | a毛片 | 久久久久久久一区 | 久久国产99| 网络毛片| 国产精品久久久久久婷婷天堂 | 日本电影韩国电影免费观看 | 成人一区精品 | 99精彩视频 | 情侣酒店偷拍一区二区在线播放 | 99视频久 | 伊人久久免费 | 九七午夜剧场福利写真 | 欧美一区二区三区在线观看 | 亚洲性综合网 | 中文字幕在线观看第一页 | 日韩欧美国产精品一区二区 | av看片网站 | 久草综合在线视频 | 在线看一区二区三区 | 精品一二区 | 久久久久久亚洲精品 | 羞羞视频免费在线观看 | 国产精品九九九 | 日本在线观看视频 | 91精品一区二区三区久久久久 | 激情亚洲 | 色婷婷综合网 | 一区二区三区回区在观看免费视频 | 久久精品国产一区二区三区不卡 | 精品久久久久久久久久久久 | 亚洲视频在线看 | 国产ts人妖系列高潮 | 日本一区二区不卡 | 免费观看av | 天天操天天射综合网 |