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

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

        <bdo id='x4Aze'></bdo><ul id='x4Aze'></ul>
      1. DynamoDB 查詢 JSON 對象的子字段

        DynamoDB query on sub field of JSON Object(DynamoDB 查詢 JSON 對象的子字段)

        <small id='17CJV'></small><noframes id='17CJV'>

              <tbody id='17CJV'></tbody>

              • <bdo id='17CJV'></bdo><ul id='17CJV'></ul>
                <tfoot id='17CJV'></tfoot>
              • <legend id='17CJV'><style id='17CJV'><dir id='17CJV'><q id='17CJV'></q></dir></style></legend>
                  <i id='17CJV'><tr id='17CJV'><dt id='17CJV'><q id='17CJV'><span id='17CJV'><b id='17CJV'><form id='17CJV'><ins id='17CJV'></ins><ul id='17CJV'></ul><sub id='17CJV'></sub></form><legend id='17CJV'></legend><bdo id='17CJV'><pre id='17CJV'><center id='17CJV'></center></pre></bdo></b><th id='17CJV'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='17CJV'><tfoot id='17CJV'></tfoot><dl id='17CJV'><fieldset id='17CJV'></fieldset></dl></div>
                  本文介紹了DynamoDB 查詢 JSON 對象的子字段的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  是否可以在dynamoDB表中搜索json對象的子字段?

                  Is it possible to search for a subfield of a json object in dynamoDB table?

                  我的桌子:

                  Item: "item name",  
                  Location: {...},  
                  ItemInformation :  
                  {  
                     ItemName: "itemName",  
                     ProductLine: {  
                        Brand: "Razer",  
                        ManufacturerSource: "Razer"  
                  }
                  

                  原來在這個表中ItemInformation是一個key,搜索一個對象,我們會為item信息構造json,然后用json字符串作為key進行查詢.現在我們需要實現按該對象的子字段搜索,每次可以包含不同的字段,即isDigital: "true".

                  Originally in this table ItemInformation would be a key and searching for an object we would construct the json for the item information and then query with the json string as a key.. Now we need to implement searching by sub fields of that object, which can contain different fields each time, i.e. isDigital: "true".

                  我在問題中注意到:DynamoDB 高級掃描 - JAVA

                  答案似乎是否定的,我必須將字段分開.但我很好奇 PHP 庫為什么以及如何在 dynamoDB 中查詢 JSON 對象上的子字段.真的沒有更好的解決方案,然后將列存儲為單獨的字段,然后在所有字段上添加索引?

                  The answer would seem to be no and I would have to separate out the fields. But I am curious about why and how the PHP library can query for sub fields on a JSON object in dynamoDB. Is there really no better solution then to store the column as separate fields and then add an index on all fields?

                  推薦答案

                  查看文檔后,按照我最初的意圖實現搜索字段是不可行的.問題是,雖然值是 JSON,但它們存儲為字符串文字,所以我必須進行重構才能開始存儲為 JSON 對象.此外,我無法添加列和索引,因為搜索可以對任意數量的字段進行操作,并且不同的項目可以有不同的字段,即項目可以有品牌、電池信息、名稱.鑒于要求是這些子字段中的任何一個都應該是可搜索的,因此最好在 Cloud Search 或 ElasticSearch 中執行此操作,我可以在對象的列中對任意字段和值進行索引和搜索.

                  After looking through documentation it is not feasible to implement the search fields as I originally intended. The problem is that while the values are JSON they are stored as string literals so I have to do refactoring to start storing as JSON objects. Additionally I cannot add in columns and index because the search could operate on any number of fields and different items can have different fields, i.e. an Item can have Brand, BatteryInformation, Name. Given that the requirement is that any of these subfields should be searchable its better to do this in Cloud Search or ElasticSearch where I can index and search on arbitrary fields and values within a column of an object.

                  由于這是一個 DynamoDB 表,我將使用 CloudSearch,因為它提供了更簡單的索引選項和數據集成.

                  Since this is a DynamoDB table, I am going to use CloudSearch since it offers easier indexing option and integration for data.

                  這篇關于DynamoDB 查詢 JSON 對象的子字段的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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?)
                  <i id='DCEZP'><tr id='DCEZP'><dt id='DCEZP'><q id='DCEZP'><span id='DCEZP'><b id='DCEZP'><form id='DCEZP'><ins id='DCEZP'></ins><ul id='DCEZP'></ul><sub id='DCEZP'></sub></form><legend id='DCEZP'></legend><bdo id='DCEZP'><pre id='DCEZP'><center id='DCEZP'></center></pre></bdo></b><th id='DCEZP'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='DCEZP'><tfoot id='DCEZP'></tfoot><dl id='DCEZP'><fieldset id='DCEZP'></fieldset></dl></div>

                  <tfoot id='DCEZP'></tfoot>
                      <legend id='DCEZP'><style id='DCEZP'><dir id='DCEZP'><q id='DCEZP'></q></dir></style></legend>

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

                          <tbody id='DCEZP'></tbody>

                            <bdo id='DCEZP'></bdo><ul id='DCEZP'></ul>
                          • 主站蜘蛛池模板: 色吊丝2288sds中文字幕 | 免费高清av | 日韩美女一区二区三区在线观看 | 小视频你懂得 | 涩涩操| 91亚洲欧美 | 亚洲a在线视频 | 99pao成人国产永久免费视频 | 天天成人综合网 | av免费入口| 亚洲美女一区二区三区 | 黄色日本片 | 亚洲精品国产区 | 国产精品1区2区3区 国产在线观看一区 | 中文字幕精品视频在线观看 | 午夜视频网站 | 成年人黄色免费视频 | 亚洲视频在线观看免费 | 日韩中文在线视频 | 免费精品 | 成人久久久久 | 天天操天天射综合网 | 黄a网站 | 精品国产乱码久久久久久a丨 | 欧美精品久久久 | 夜夜草视频| 精品欧美一区免费观看α√ | 欧美日韩久久 | 日韩精品一区二区三区在线观看 | 国产欧美日韩一区二区三区在线 | 中文av网站 | 欧美日韩国产三级 | 亚洲人成人一区二区在线观看 | 久久久久久亚洲国产精品 | 中文字幕av亚洲精品一部二部 | 在线成人www免费观看视频 | 精品免费 | 久久亚洲欧美日韩精品专区 | 日韩成人免费视频 | 国产精品视频网 | 久久99久久 |