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

  • <legend id='mmsu6'><style id='mmsu6'><dir id='mmsu6'><q id='mmsu6'></q></dir></style></legend>

    <tfoot id='mmsu6'></tfoot>
      • <bdo id='mmsu6'></bdo><ul id='mmsu6'></ul>
      1. <small id='mmsu6'></small><noframes id='mmsu6'>

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

      3. Java SDK 中的 AmazonDynamoDBClient 和 DynamoDB 類之間的區

        Difference between AmazonDynamoDBClient and DynamoDB classes in their java SDK?(Java SDK 中的 AmazonDynamoDBClient 和 DynamoDB 類之間的區別?)
        • <bdo id='taUZK'></bdo><ul id='taUZK'></ul>
            <tbody id='taUZK'></tbody>

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

                <tfoot id='taUZK'></tfoot>

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

                  本文介紹了Java SDK 中的 AmazonDynamoDBClient 和 DynamoDB 類之間的區別?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在使用亞馬遜的 DynamoDB java SDK,想知道 AmazonDynamoDBClient 和 DynamoDB 類.我似乎在他們身上找不到任何東西,因為文檔似乎很少.有什么理由我應該使用其中一個嗎?它們有什么主要的優點或缺點嗎?

                  I am using Amazon's DynamoDB java SDK and want to know the difference between the AmazonDynamoDBClient and DynamoDB classes. I can't seem to find anything on them since there appears to be very little documentation. Is there any reason I should use one or the other? Are their any major benefits or drawbacks?

                  推薦答案

                  這是個好問題.看起來 DynamoDBAmazonDynamoDBClient 的包裝器,提供了不同的接口.所以這可能是顯而易見的,而不是您正在尋找的答案,但讓我描述一下它們之間的一些差異.

                  This is a good question. It looks like DynamoDB is a wrapper to the AmazonDynamoDBClient, providing a different interface. So this may be obvious and not the answer you are looking for but let me describe some of the differences between them.

                  AmazonDynamoDBClient 中的 createTable 方法返回一個 CreateTableResult 對象,而 DynamoDB 的 createTable 方法返回返回一個 Table 對象.然后可以使用這個 Table 對象對該表執行 CRUD.Table 對象開始看起來像 DynamoDB 的通用 ORM 對象.所以它不是真正的 DynamoDB 類 vs AmazonDynamoDBClient,它更像是 DynamoDB &Table 類與 AmazonDynamoDBClient.

                  The createTable method in AmazonDynamoDBClient returns back a CreateTableResult object, whereas the DynamoDB's createTable method returns back a Table object. This Table object can then be used to do CRUD on that table. The Table object starts looking like a generic ORM object for DynamoDB. So its not really DynamoDB class vs AmazonDynamoDBClient, its more like DynamoDB & Table classes vs AmazonDynamoDBClient.

                  AmazonDynamoDBClient 明顯早于 DynamoDB 類.DynamoDB 是相當新的,在 1.9.x 中出現.但這里還有另一個類值得一提,DynamoDBMapper.DynamoDBMapper 允許更多類似 ORM 的操作.允許開發人員注釋他們的 JavaBean 數據模型,以便他們可以輕松地對 DynamoDB 表進行 CRUD.您可以直接使用對象,DynamoDBMapper 將對 DynamoDB 數據庫進行 CRUD 工作.DynamoDBMapper 早于 DynamoDB 類.我想也許有些開發人員不想使用 DynamoDBMapper(可能不喜歡 OO 或注釋?)并且需要另一種范式,但我只是假設.因此創建了 DynamoDBTable 類.使用 Table 類,您可以比 AmazonDynamoDBClient 更輕松地與表交互,但無需創建 DynamoDBMapper 所需的 JavaBean 數據模型的開銷.

                  AmazonDynamoDBClient is obviously older than the DynamoDB class. DynamoDB is pretty new, coming out in 1.9.x. But there is another class here worth mentioning, DynamoDBMapper. DynamoDBMapper allows for even more ORM like operations. Allowing developers to annotate their JavaBean data-model's so that they can easily be CRUD'd against a DynamoDB table. You get to work with your objects directly and the DynamoDBMapper will do the CRUD work on the DynamoDB database. DynamoDBMapper is older than the DynamoDB class. I think maybe some developers did not want to work with the DynamoDBMapper (maybe not a fan of OO or annotations?) and there needed to be another paradigm, but I'm only hypothesizing. So the DynamoDB and Table classes were created. With the Table class you can interact with your tables more easily than the AmazonDynamoDBClient but without the overhead of creating JavaBean data-models that the DynamoDBMapper require.

                  這篇關于Java SDK 中的 AmazonDynamoDBClient 和 DynamoDB 類之間的區別?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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?)
                      <bdo id='fKtKH'></bdo><ul id='fKtKH'></ul>
                      <i id='fKtKH'><tr id='fKtKH'><dt id='fKtKH'><q id='fKtKH'><span id='fKtKH'><b id='fKtKH'><form id='fKtKH'><ins id='fKtKH'></ins><ul id='fKtKH'></ul><sub id='fKtKH'></sub></form><legend id='fKtKH'></legend><bdo id='fKtKH'><pre id='fKtKH'><center id='fKtKH'></center></pre></bdo></b><th id='fKtKH'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='fKtKH'><tfoot id='fKtKH'></tfoot><dl id='fKtKH'><fieldset id='fKtKH'></fieldset></dl></div>

                    • <tfoot id='fKtKH'></tfoot>

                        <tbody id='fKtKH'></tbody>
                      • <legend id='fKtKH'><style id='fKtKH'><dir id='fKtKH'><q id='fKtKH'></q></dir></style></legend>
                        • <small id='fKtKH'></small><noframes id='fKtKH'>

                            主站蜘蛛池模板: 亚洲啊v在线 | 最新中文字幕第一页视频 | 日韩专区中文字幕 | 亚洲福利免费 | 欧美中文字幕在线 | 少妇午夜一级艳片欧美精品 | 一区中文字幕 | 国产色播av在线 | 日韩在线播放视频 | 午夜精品久久久久久久久久久久久 | 久久综合一区二区三区 | 成人av激情 | 久久久久国产一区二区三区不卡 | 国产视频福利一区 | 韩国主播午夜大尺度福利 | 夜夜爽99久久国产综合精品女不卡 | 欧美激情精品久久久久 | 欧美一级电影免费观看 | 久久久久国产 | 伊人免费网| 性欧美精品一区二区三区在线播放 | 逼逼视频 | 亚州综合一区 | 精品二区 | 一级黄a| 中文字幕在线不卡播放 | 99久久精品免费看国产高清 | 日韩1区2区 | 亚洲欧美日韩一区二区 | 夜夜草 | 在线国产中文字幕 | 91视频进入| 日韩久久久久久久久久久 | 国产精品亚洲精品日韩已方 | 久久久久久亚洲 | 免费看片在线播放 | 精品国产精品国产偷麻豆 | 亚洲成人在线网 | 国产视频中文字幕 | 国产一区二区在线免费观看 | 精品欧美乱码久久久久久 |