pbootcms网站模板|日韩1区2区|织梦模板||网站源码|日韩1区2区|jquery建站特效-html5模板网

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

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

        • <bdo id='pBsUO'></bdo><ul id='pBsUO'></ul>

        Apache Nifi 如何使用嵌套數組 JSON 加載 JSON 并調用

        Apache Nifi How to load JSON with nested array JSON and Call Oracle Stored Procedure(Apache Nifi 如何使用嵌套數組 JSON 加載 JSON 并調用 Oracle 存儲過程)
      3. <legend id='0rfSg'><style id='0rfSg'><dir id='0rfSg'><q id='0rfSg'></q></dir></style></legend>

        <small id='0rfSg'></small><noframes id='0rfSg'>

          <bdo id='0rfSg'></bdo><ul id='0rfSg'></ul>

              <i id='0rfSg'><tr id='0rfSg'><dt id='0rfSg'><q id='0rfSg'><span id='0rfSg'><b id='0rfSg'><form id='0rfSg'><ins id='0rfSg'></ins><ul id='0rfSg'></ul><sub id='0rfSg'></sub></form><legend id='0rfSg'></legend><bdo id='0rfSg'><pre id='0rfSg'><center id='0rfSg'></center></pre></bdo></b><th id='0rfSg'></th></span></q></dt></tr></i><div class="wc0ikau" id='0rfSg'><tfoot id='0rfSg'></tfoot><dl id='0rfSg'><fieldset id='0rfSg'></fieldset></dl></div>
                  <tfoot id='0rfSg'></tfoot>
                    <tbody id='0rfSg'></tbody>
                • 本文介紹了Apache Nifi 如何使用嵌套數組 JSON 加載 JSON 并調用 Oracle 存儲過程的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我是 Nifi 的新手,但我有一些 JSON 數據,它是一個數據數組,在每個數組元素中,還有另一個嵌套的數組數據.

                  I am new to Nifi, but I have some JSON data which is an array of data and in each array element, there is another nested array data.

                  雖然我能夠獲取文件以加載 JSON,但我遇到的問題如下:

                  Whilst I am able to get file to load the JSON, where I am struggling is on the following:

                  • 展平每個數組和嵌套數組 - 包含換行符的嵌套數組存在問題.我已嘗試使用處理器將其刪除,但未將其刪除
                  • 提取需要的數據
                  • 要組織提取的數據,將其作為參數傳遞給 Oracle 存儲過程以供執行

                  我已經使用了 Get File、JoltTransformJson、ExecuteSQL、GetAttributes,但我沒有看到一個結構,其中對于 JSON 數組中的每個元素和展平嵌套 JSON 的屬性列表可以傳遞給存儲過程.

                  I have used Get File, JoltTransformJson, ExecuteSQL, GetAttributes, but what I am not seeing is a structure where for each element in the array of JSON and for the flatten out nested JSON a list of attributes that can passed on to the Stored Procedure.

                  誰能提供任何分步指導?

                  Can anyone give any step by step guidance?

                  下面是一封關于 JSON 結構的電子郵件,以提供一個想法-

                  Below is an email of structure of the JSON to give an idea-

                  [{app_id":1",日期時間":2020-11-30T12:21:25.447430",供應商名稱":abc",doc_id":123345",數據":"{\n header {\n l_Id = { 1 2 3 3 4 5 6 11 }\n identifer = 123456789\n country = GB\n commonIdentifier {\n ident {\n opps = 6175\n etni {\n format =1234567\n }\n }\n commonIdentityId = 0\n }\n sequence = 0\n timeStamp = 20201130002255.0Z\n timeStampQual = timeFound\n }\n data {\n sequence [0] {\n type = type\n content {\n etni {\n params {\n iD = { 1234567 }\n version = version\n identifier = 1234567\n identifier {\n commonidentityid = 30\n id {\n opps = 6175\n netId{\n 格式 = 12563412\n }\n }\n }\n 時間戳 {\n localTime {\ngeneraltime = 20201130122255.000Z\n BSWT = notProvided\n }\n }\n direction = forward\n state = nothing\n release = 9\n nature = ball\n }\n }\n }\n }\n }\n}\n",},{app_id":1",日期時間":2020-11-30T12:21:25.447430",供應商名稱":abc",doc_id":123345",數據":"{\n header {\n l_Id = { 1 2 3 3 4 5 6 11 }\n identifer = 123456789\n country = GB\n commonIdentifier {\n ident {\n opps = 6175\n etni {\n format =1234567\n }\n }\n commonIdentityId = 0\n }\n sequence = 0\n timeStamp = 20201130002255.0Z\n timeStampQual = timeFound\n }\n data {\n sequence [0] {\n type = type\n content {\n etni {\n params {\n iD = { 1234567 }\n version = version\n identifier = 1234567\n identifier {\n commonidentityid = 30\n id {\n opps = 6175\n netId{\n 格式 = 12563412\n }\n }\n }\n 時間戳 {\n localTime {\ngeneraltime = 20201130122255.000Z\n BSWT = notProvided\n }\n }\n direction = forward\n state = nothing\n release = 9\n nature = ball\n }\n }\n }\n }\n }\n}\n",}]

                  [ { "app_id":"1", "date_time":"2020-11-30T12:21:25.447430", "supplier_name":"abc", "doc_id":"123345", "data":" {\n header {\n l_Id = { 1 2 3 3 4 5 6 11 }\n identifer = 123456789\n country = GB\n commonIdentifier {\n ident {\n opps = 6175\n etni {\n format = 1234567\n }\n }\n commonIdentityId = 0\n }\n sequence = 0\n timeStamp = 20201130002255.0Z\n timeStampQual = timeFound\n }\n data {\n sequence [0] {\n type = type\n contents {\n etni {\n params {\n iD = { 1234567 }\n version = version\n identifier = 1234567\n identifier {\n commonidentityid = 30\n id {\n opps = 6175\n netId {\n format = 12563412\n }\n }\n }\n timeStamp {\n localTime {\n generaltime = 20201130122255.000Z\n BSWT = notProvided\n }\n }\n direction = forward\n state = nothing\n release = 9\n nature = ball\n }\n }\n }\n }\n }\n}\n", }, { "app_id":"1", "date_time":"2020-11-30T12:21:25.447430", "supplier_name":"abc", "doc_id":"123345", "data":" {\n header {\n l_Id = { 1 2 3 3 4 5 6 11 }\n identifer = 123456789\n country = GB\n commonIdentifier {\n ident {\n opps = 6175\n etni {\n format = 1234567\n }\n }\n commonIdentityId = 0\n }\n sequence = 0\n timeStamp = 20201130002255.0Z\n timeStampQual = timeFound\n }\n data {\n sequence [0] {\n type = type\n contents {\n etni {\n params {\n iD = { 1234567 }\n version = version\n identifier = 1234567\n identifier {\n commonidentityid = 30\n id {\n opps = 6175\n netId {\n format = 12563412\n }\n }\n }\n timeStamp {\n localTime {\n generaltime = 20201130122255.000Z\n BSWT = notProvided\n }\n }\n direction = forward\n state = nothing\n release = 9\n nature = ball\n }\n }\n }\n }\n }\n}\n", } ]

                  推薦答案

                  有FlattenJSON 處理器如果您想拆分 JSON,則可以使用 JOLT 和一些網站,例如 JOLT 變換

                  there is the FlattenJSON Processor If you're looking to split the JSON, there is the possibility to use JOLT and some sites such as this JOLT transformation

                  另一種選擇是相應地拆分 JSON 并使用拆分值.我發現網站 https://jsonpath.com/ 有助于決定拆分的工作方式.我知道這不是一步一步的,但是使用 SplitJSON 處理器,然后可能是 ExtractText 處理器,您將能夠獲得所需的信息.如果不知道數據的確切格式,以及需要哪些數據部分,就很難一步一步地提供準確的數據.

                  Another option could be to split the JSON accordingly and use the split values. I have found that the website https://jsonpath.com/ is helpful for deciding how the split could work. I know this isnt a step by step, but using the SplitJSON processor and then maybe an ExtractText Processor, you would be able to get the desired information. Without knowing the exact format of the data, and which parts of the data that would be desired, providing an exact step by step will be difficult.

                  這篇關于Apache Nifi 如何使用嵌套數組 JSON 加載 JSON 并調用 Oracle 存儲過程的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  Flowfile absolute path Nifi(Flowfile 絕對路徑 Nifi)
                  executeSql failing after putSql processor(putSql處理器后executeSql失敗)
                  covertJSONtoSQL returning empty values in NiFi(covertJSONtoSQL 在 NiFi 中返回空值)
                  How can I compare the one line in one CSV with all lines in another CSV file?(如何將一個 CSV 中的一行與另一個 CSV 文件中的所有行進行比較?)
                  NIFI - QueryDatabaseTable processor. How to query rows which is modified?(NIFI - QueryDatabaseTable 處理器.如何查詢被修改的行?)
                  How to map the column wise data in flowfile in NiFi?(如何在 NiFi 中映射流文件中的列數據?)
                  <legend id='aTDi9'><style id='aTDi9'><dir id='aTDi9'><q id='aTDi9'></q></dir></style></legend>

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

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

                        <bdo id='aTDi9'></bdo><ul id='aTDi9'></ul>
                            <tbody id='aTDi9'></tbody>
                          • 主站蜘蛛池模板: 杭州营业执照代办-公司变更价格-许可证办理流程_杭州福道财务管理咨询有限公司 | 艺术涂料|木纹漆施工|稻草漆厂家|马来漆|石桦奴|水泥漆|选加河南天工涂料 | 福州时代广告制作装饰有限公司-福州广告公司广告牌制作,福州展厅文化墙广告设计, | 船老大板材_浙江船老大全屋定制_船老大官网 | 新疆散热器,新疆暖气片,新疆电锅炉,光耀暖通公司| 道达尔润滑油-食品级润滑油-道达尔导热油-合成导热油,深圳道达尔代理商合-深圳浩方正大官网 | 裹包机|裹膜机|缠膜机|绕膜机-上海晏陵智能设备有限公司 | 龙门加工中心-数控龙门加工中心厂家价格-山东海特数控机床有限公司_龙门加工中心-数控龙门加工中心厂家价格-山东海特数控机床有限公司 | 板式换热器_板式换热器价格_管式换热器厂家-青岛康景辉 | 无线联网门锁|校园联网门锁|学校智能门锁|公租房智能门锁|保障房管理系统-KEENZY中科易安 | 魔方网-培训咨询服务平台| 卫生纸复卷机|抽纸机|卫生纸加工设备|做卫生纸机器|小型卫生纸加工需要什么设备|卫生纸机器设备多少钱一台|许昌恒源纸品机械有限公司 | 活性炭-蜂窝-椰壳-柱状-粉状活性炭-河南唐达净水材料有限公司 | 代做标书-代写标书-专业标书文件编辑-「深圳卓越创兴公司」 | HDPE土工膜,复合土工膜,防渗膜价格,土工膜厂家-山东新路通工程材料有限公司 | 冷藏车-东风吸污车-纯电动环卫车-污水净化车-应急特勤保障车-程力专汽厂家-程力专用汽车股份有限公司销售二十一分公司 | 洗瓶机厂家-酒瓶玻璃瓶冲瓶机-瓶子烘干机-封口旋盖压盖打塞机_青州惠联灌装机械 | 蓝鹏测控平台 - 智慧车间系统 - 车间生产数据采集与分析系统 | 电镀整流器_微弧氧化电源_高频电解电源_微弧氧化设备厂家_深圳开瑞节能 | 有福网(yofus.com)洗照片冲印,毕业聚会纪念册相册制作个性DIY平台 | SDG吸附剂,SDG酸气吸附剂,干式酸性气体吸收剂生产厂家,超过20年生产使用经验。 - 富莱尔环保设备公司(原名天津市武清县环保设备厂) | 窖井盖锯圆机_锯圆机金刚石锯片-无锡茂达金刚石有限公司 | 山东氧化铁红,山东铁红-淄博科瑞化工有限公司 | 安徽合肥项目申报咨询公司_安徽合肥高新企业项目申报_安徽省科技项目申报代理 | 不锈钢水管-不锈钢燃气管-卫生级不锈钢管件-不锈钢食品级水管-广东双兴新材料集团有限公司 | 工业洗衣机_工业洗涤设备_上海力净工业洗衣机厂家-洗涤设备首页 bkzzy在职研究生网 - 在职研究生招生信息咨询平台 | 招商帮-一站式网络营销服务|互联网整合营销|网络推广代运营|信息流推广|招商帮企业招商好帮手|搜索营销推广|短视视频营销推广 | 电抗器-能曼电气-电抗器专业制造商 | 地磅-地秤-江阴/无锡地磅-江阴天亿计量设备有限公司_ | 标准件-非标紧固件-不锈钢螺栓-非标不锈钢螺丝-非标螺母厂家-三角牙锁紧自攻-南京宝宇标准件有限公司 | 低粘度纤维素|混凝土灌浆料|有机硅憎水粉|聚羧酸减水剂-南京斯泰宝 | 合肥白癜风医院_合肥治疗白癜风医院_合肥看白癜风医院哪家好_合肥华研白癜风医院 | 电动球阀_不锈钢电动球阀_电动三通球阀_电动调节球阀_上海湖泉阀门有限公司 | 百度爱采购运营研究社社群-店铺托管-爱采购代运营-良言多米网络公司 | 天助网 - 中小企业全网推广平台_生态整合营销知名服务商_天助网采购优选 | 货车视频监控,油管家,货车油管家-淄博世纪锐行电子科技 | 玖容气动液压设备有限公司-气液增压缸_压力机_增压机_铆接机_增压器 | 低温等离子清洗机(双气路进口)-嘉润万丰 | WTB5光栅尺-JIE WILL磁栅尺-B60数显表-常州中崴机电科技有限公司 | 高速龙门架厂家_监控杆_多功能灯杆_信号灯杆_锂电池太阳能路灯-鑫世源照明 | 金属切削液-脱水防锈油-电火花机油-抗磨液压油-深圳市雨辰宏业科技发展有限公司 |