久久久久久久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>
                          • 主站蜘蛛池模板: 最新av在线网址 | 亚洲欧美一区二区三区1000 | 成人精品一区二区 | 国产精品 欧美精品 | 日本午夜免费福利视频 | 中文字幕成人免费视频 | 99pao成人国产永久免费视频 | 蜜桃视频在线观看免费视频网站www | 日韩精品一区二区三区老鸭窝 | 国产一区日韩在线 | 亚洲天堂中文字幕 | 亚洲国产欧美国产综合一区 | 国产高清视频一区二区 | av免费在线观看网站 | 在线国产精品一区 | 羞羞视频一区二区 | 国产乱码精品一区二区三区忘忧草 | 久久一区二区三区四区 | 日韩精品在线免费 | 成人综合在线视频 | 亚洲精品在线国产 | 日韩精品人成在线播放 | 一区二区三区国产 | 国产精品成人一区二区三区 | 日韩电影免费在线观看中文字幕 | 国产亚洲欧美在线视频 | 成人美女免费网站视频 | 99国产精品久久久久老师 | 久久久成人免费视频 | aaaaaaa片毛片免费观看 | 色婷婷精品国产一区二区三区 | 在线中文视频 | 九九热免费视频在线观看 | 69热视频在线观看 | 日韩欧美国产精品一区二区 | 国产一区二区三区久久久久久久久 | 久久精品国产一区老色匹 | 亚洲精品久 | 欧洲一级毛片 | 成人性生交大片免费看中文带字幕 | 夜夜爽99久久国产综合精品女不卡 |