[{"data":1,"prerenderedAt":1020},["ShallowReactive",2],{"post-\u002Fblog\u002F2024-05-08-data-modeling-api":3,"surround-\u002Fblog\u002F2024-05-08-data-modeling-api":1013},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"tags":11,"cover":16,"source":17,"body":18,"_type":1007,"_id":1008,"_source":1009,"_file":1010,"_stem":1011,"_extension":1012},"\u002Fblog\u002F2024-05-08-data-modeling-api","blog",false,"","数据建模 API 功能说明","基于 Swagger 的建模工具 API 使用指南——标准字段生成、模型 DDL\u002FDML、词根管理、自定义数据元的接口位置与调用示例。","2024-05-08",[12,13,14,15],"简书","历史归档","数据建模","数仓","https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-b0d22fa0de4f58d5.png","https:\u002F\u002Fwww.jianshu.com\u002Fp\u002Fc3695a0847e4",{"type":19,"children":20,"toc":942},"root",[21,29,35,40,75,80,98,103,109,114,120,125,130,135,143,162,169,178,185,191,196,201,206,211,216,223,236,242,247,254,259,266,271,278,283,290,309,314,319,324,329,336,344,357,371,376,382,387,394,399,404,409,416,434,444,450,455,460,465,481,486,492,497,502,507,512,530,540,546,551,556,561,602,608,613,618,623,652,658,663,668,673,678,683,688,693,765,770,776,781,786,791,807,813,818,823,828,845,851,856,861,866,892,898,903,908,913,936],{"type":22,"tag":23,"props":24,"children":26},"element","h2",{"id":25},"优劣势分析",[27],{"type":28,"value":25},"text",{"type":22,"tag":30,"props":31,"children":32},"p",{},[33],{"type":28,"value":34},"链接：原演示服务（Swagger 文档）已下线，本文保留接口说明作为记录。\n使用建模工具API\n能够帮助我们做什么？",{"type":22,"tag":23,"props":36,"children":38},{"id":37},"优势",[39],{"type":28,"value":37},{"type":22,"tag":41,"props":42,"children":43},"ul",{},[44,50,55,60,65,70],{"type":22,"tag":45,"props":46,"children":47},"li",{},[48],{"type":28,"value":49},"统一整个数仓的字段命名",{"type":22,"tag":45,"props":51,"children":52},{},[53],{"type":28,"value":54},"沉淀行业常用字段名称&标准词根",{"type":22,"tag":45,"props":56,"children":57},{},[58],{"type":28,"value":59},"结合在线mapping文档快速生成可执行的DDL(建表)语句，帮助我们在创建模型表时提升我们的效率",{"type":22,"tag":45,"props":61,"children":62},{},[63],{"type":28,"value":64},"结合在线mapping文档快速生成可执行的DML()语句，帮助我们在使用SQL开发模型时编码规范，同样能够帮助我们在日常模型开发工作中进行效率提升(目前功能还需要完善)",{"type":22,"tag":45,"props":66,"children":67},{},[68],{"type":28,"value":69},"结合在线mapping文档快速生成DQC()可执行SQL语句，帮助我们提效(研发中)",{"type":22,"tag":45,"props":71,"children":72},{},[73],{"type":28,"value":74},"管理日常设计开发的数据模型，便于后期数据治理(研发中)",{"type":22,"tag":23,"props":76,"children":78},{"id":77},"劣势",[79],{"type":28,"value":77},{"type":22,"tag":41,"props":81,"children":82},{},[83,88,93],{"type":22,"tag":45,"props":84,"children":85},{},[86],{"type":28,"value":87},"分词翻译准确率达不到100%，能够达到75%左右",{"type":22,"tag":45,"props":89,"children":90},{},[91],{"type":28,"value":92},"需要沉淀大量的各行业标准词根",{"type":22,"tag":45,"props":94,"children":95},{},[96],{"type":28,"value":97},"DML自动生成不能覆盖100%场景的SQL和引擎",{"type":22,"tag":23,"props":99,"children":101},{"id":100},"标准字段相关接口",[102],{"type":28,"value":100},{"type":22,"tag":104,"props":105,"children":107},"h3",{"id":106},"标准字段生成",[108],{"type":28,"value":106},{"type":22,"tag":30,"props":110,"children":111},{},[112],{"type":28,"value":113},"输入 标准化字段中文注释，服务端返回标准字段英文字段名称，该接口支持批量生成。",{"type":22,"tag":115,"props":116,"children":118},"h4",{"id":117},"接口位置",[119],{"type":28,"value":117},{"type":22,"tag":30,"props":121,"children":122},{},[123],{"type":28,"value":124},"标准字段相关接口 ----> 标准字段生成",{"type":22,"tag":115,"props":126,"children":128},{"id":127},"调用示例",[129],{"type":28,"value":127},{"type":22,"tag":30,"props":131,"children":132},{},[133],{"type":28,"value":134},"假设你拿到一张表的数据字典，应该先对这张表的字段中文注释进行标准化以至于翻译出来的结果更加的准确，比如，我现在有一张表的数据字典，如下：",{"type":22,"tag":30,"props":136,"children":137},{},[138],{"type":22,"tag":139,"props":140,"children":142},"img",{"alt":7,"src":141},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-b0d22fa0de4f58d5.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":22,"tag":144,"props":145,"children":146},"ol",{},[147,152,157],{"type":22,"tag":45,"props":148,"children":149},{},[150],{"type":28,"value":151},"第一步先将源表的字段中文注释进行标准化，如上图左侧",{"type":22,"tag":45,"props":153,"children":154},{},[155],{"type":28,"value":156},"批量复制标准化后的字段中文注释",{"type":22,"tag":45,"props":158,"children":159},{},[160],{"type":28,"value":161},"找到 \"标准字段相关接口 ----> 标准字段生成\" 接口进行调试，然后将复制的需要生成的字段中文注释粘贴到 text 对应的参数值 input框中，然后发送请求到服务端，稍等片刻等待服务端返回结果",{"type":22,"tag":30,"props":163,"children":164},{},[165],{"type":22,"tag":139,"props":166,"children":168},{"alt":7,"src":167},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-90e15a0484143e8d.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":22,"tag":144,"props":170,"children":172},{"start":171},4,[173],{"type":22,"tag":45,"props":174,"children":175},{},[176],{"type":28,"value":177},"将相应内容中的数据复制到 excel 通过预先写好的公式进行字符串按照 \"|\" 切割，取第三列值即可",{"type":22,"tag":30,"props":179,"children":180},{},[181],{"type":22,"tag":139,"props":182,"children":184},{"alt":7,"src":183},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-6447ef33bf2c8669.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":22,"tag":104,"props":186,"children":188},{"id":187},"标准字段生成包含分词",[189],{"type":28,"value":190},"标准字段生成(包含分词)",{"type":22,"tag":30,"props":192,"children":193},{},[194],{"type":28,"value":195},"输入 标准化字段中文注释，服务端返回分词结果以及每个词根对应的英文名称&顺序拼接后的字段英文名称，该接口支持批量生成。",{"type":22,"tag":115,"props":197,"children":199},{"id":198},"接口位置-1",[200],{"type":28,"value":117},{"type":22,"tag":30,"props":202,"children":203},{},[204],{"type":28,"value":205},"标准字段相关接口 ----> 标准字段生成(包含分词)",{"type":22,"tag":115,"props":207,"children":209},{"id":208},"调用示例-1",[210],{"type":28,"value":127},{"type":22,"tag":30,"props":212,"children":213},{},[214],{"type":28,"value":215},"假设我们现在需要对 \"是否评审\" 这个字段生成标准的英文名称，那么我们只需要调用如下接口即可：",{"type":22,"tag":30,"props":217,"children":218},{},[219],{"type":22,"tag":139,"props":220,"children":222},{"alt":7,"src":221},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-3638fb2e2b269767.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":22,"tag":30,"props":224,"children":225},{},[226,228,234],{"type":28,"value":227},"如上图所示，\"是否评审\" 这个中文注释被分成了两个词，\"是否\" + \"评审\" ，这两个词我们将它称为 \"标准词根\"，然后会将这两个词根对应的英文名称进行顺序拼接，如需要查询标准词根请使用 ",{"type":22,"tag":229,"props":230,"children":231},"strong",{},[232],{"type":28,"value":233},"标准词根查询接口",{"type":28,"value":235}," 。",{"type":22,"tag":237,"props":238,"children":240},"h5",{"id":239},"自定义分词演示",[241],{"type":28,"value":239},{"type":22,"tag":30,"props":243,"children":244},{},[245],{"type":28,"value":246},"基于上述案例，如果我们需要自定义分词方式，比如：\"是否评审\" 这个字段默认分成了 \"是否\" + \"评审\"，现在我们需要自定义让程序分成一个词 \"是否评审\" 的话，这时候我们需要结合 \"自定义数据元 ----> 用户词典插入\" 接口完成，具体操作方式如下：",{"type":22,"tag":30,"props":248,"children":249},{},[250],{"type":22,"tag":139,"props":251,"children":253},{"alt":7,"src":252},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-de5c6dd91c276df2.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":22,"tag":30,"props":255,"children":256},{},[257],{"type":28,"value":258},"插入成功数据元之后，我们再调用一次 \"标准字段生成(包含分词)\" 接口，看\"是否评审\" 这个数据元是否生效，如下图：",{"type":22,"tag":30,"props":260,"children":261},{},[262],{"type":22,"tag":139,"props":263,"children":265},{"alt":7,"src":264},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-8bb786543fba6f11.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":22,"tag":30,"props":267,"children":268},{},[269],{"type":28,"value":270},"如上图我们发现已经生效了，这时候分成了一个词，但是英文字段名称不一致，之前两个词时结果是 \"is_review\"，而分成一个词时结果是 \"whthr_rvw\" 是因为 \"是否评审\" 这个词根的英文名称是按照程序默认规则生成的，不是那么的准确，所以我们需要对这个词根进行评审，评审过后对该词根进行修改，这时候需要调用 \"标准词根相关接口 ----> 修改词根\" 接口对 \"是否评审\" 词根进行修改，修改步骤如下：",{"type":22,"tag":30,"props":272,"children":273},{},[274],{"type":22,"tag":139,"props":275,"children":277},{"alt":7,"src":276},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-b0156f553e9836e8.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":22,"tag":30,"props":279,"children":280},{},[281],{"type":28,"value":282},"修改完成之后，我们再调用一次 \"标准字段生成(包含分词)\" 接口，结果如下：",{"type":22,"tag":30,"props":284,"children":285},{},[286],{"type":22,"tag":139,"props":287,"children":289},{"alt":7,"src":288},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-b39b20b18ed13b86.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":22,"tag":30,"props":291,"children":292},{},[293,295,300,302,307],{"type":28,"value":294},"如上图所示就成功了，这样我们就完成了一次 ",{"type":22,"tag":229,"props":296,"children":297},{},[298],{"type":28,"value":299},"自定义分词",{"type":28,"value":301}," 以及 ",{"type":22,"tag":229,"props":303,"children":304},{},[305],{"type":28,"value":306},"词根评审",{"type":28,"value":308}," 流程。",{"type":22,"tag":104,"props":310,"children":312},{"id":311},"修改标准字段",[313],{"type":28,"value":311},{"type":22,"tag":115,"props":315,"children":317},{"id":316},"接口位置-2",[318],{"type":28,"value":117},{"type":22,"tag":30,"props":320,"children":321},{},[322],{"type":28,"value":323},"标准字段相关接口 ----> 修改标准字段",{"type":22,"tag":115,"props":325,"children":327},{"id":326},"调用示例-2",[328],{"type":28,"value":127},{"type":22,"tag":30,"props":330,"children":331},{},[332],{"type":22,"tag":139,"props":333,"children":335},{"alt":7,"src":334},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-16c376f9e5d1f77b.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":22,"tag":144,"props":337,"children":338},{},[339],{"type":22,"tag":45,"props":340,"children":341},{},[342],{"type":28,"value":343},"按照要求填写接口入参",{"type":22,"tag":41,"props":345,"children":346},{},[347,352],{"type":22,"tag":45,"props":348,"children":349},{},[350],{"type":28,"value":351},"chnsName：标准字段中文注释",{"type":22,"tag":45,"props":353,"children":354},{},[355],{"type":28,"value":356},"engName：标准字段英文名称(评审过后)",{"type":22,"tag":144,"props":358,"children":360},{"start":359},2,[361,366],{"type":22,"tag":45,"props":362,"children":363},{},[364],{"type":28,"value":365},"发送请求至服务端",{"type":22,"tag":45,"props":367,"children":368},{},[369],{"type":28,"value":370},"等待服务端返回结果，200代表更新成功，再次调用 \"标准字段生成\" 接口就是更新过后的英文名称了。",{"type":22,"tag":23,"props":372,"children":374},{"id":373},"模型表相关接口",[375],{"type":28,"value":373},{"type":22,"tag":104,"props":377,"children":379},{"id":378},"模型ddl",[380],{"type":28,"value":381},"模型DDL",{"type":22,"tag":30,"props":383,"children":384},{},[385],{"type":28,"value":386},"该接口需要结合飞书在线文档，输入文档URL链接和文档sheet页名称，指定表引擎(目前支持gp、pg、hive引擎)",{"type":22,"tag":30,"props":388,"children":389},{},[390],{"type":22,"tag":139,"props":391,"children":393},{"alt":7,"src":392},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-e8749cfedff573da.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":22,"tag":115,"props":395,"children":397},{"id":396},"接口位置-3",[398],{"type":28,"value":117},{"type":22,"tag":30,"props":400,"children":401},{},[402],{"type":28,"value":403},"模型表相关接口 ----> 模型DDL",{"type":22,"tag":115,"props":405,"children":407},{"id":406},"调用示例-3",[408],{"type":28,"value":127},{"type":22,"tag":30,"props":410,"children":411},{},[412],{"type":22,"tag":139,"props":413,"children":415},{"alt":7,"src":414},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-29863390643336e6.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":22,"tag":144,"props":417,"children":418},{},[419,424,429],{"type":22,"tag":45,"props":420,"children":421},{},[422],{"type":28,"value":423},"填写飞书在线excel文档的URL链接，以及模型表对应的sheet页名称，并且指定表引擎",{"type":22,"tag":45,"props":425,"children":426},{},[427],{"type":28,"value":428},"发送请求到服务端，这里注意有时候会因为飞书接口导致超时的错误，重新发送请求即可",{"type":22,"tag":45,"props":430,"children":431},{},[432],{"type":28,"value":433},"等待片刻即可返回DDL语句",{"type":22,"tag":30,"props":435,"children":436},{},[437,442],{"type":22,"tag":229,"props":438,"children":439},{},[440],{"type":28,"value":441},"注意：",{"type":28,"value":443}," 这里的飞书excel都是标准化过的，必须按照模版格式才能正确生成DDL",{"type":22,"tag":104,"props":445,"children":447},{"id":446},"模型dml仅支持hive引擎",[448],{"type":28,"value":449},"模型DML(仅支持Hive引擎)",{"type":22,"tag":115,"props":451,"children":453},{"id":452},"接口位置-4",[454],{"type":28,"value":117},{"type":22,"tag":30,"props":456,"children":457},{},[458],{"type":28,"value":459},"模型表相关接口 ----> 模型DML",{"type":22,"tag":115,"props":461,"children":463},{"id":462},"调用示例-4",[464],{"type":28,"value":127},{"type":22,"tag":144,"props":466,"children":467},{},[468,472,476],{"type":22,"tag":45,"props":469,"children":470},{},[471],{"type":28,"value":423},{"type":22,"tag":45,"props":473,"children":474},{},[475],{"type":28,"value":428},{"type":22,"tag":45,"props":477,"children":478},{},[479],{"type":28,"value":480},"等待片刻即可返回DML语句，全选复制至数开平台执行即可",{"type":22,"tag":23,"props":482,"children":484},{"id":483},"标准词根相关接口",[485],{"type":28,"value":483},{"type":22,"tag":104,"props":487,"children":489},{"id":488},"标准词根查询经常使用",[490],{"type":28,"value":491},"标准词根查询(经常使用)",{"type":22,"tag":30,"props":493,"children":494},{},[495],{"type":28,"value":496},"支持批量查询，多个词根之间使用 \"空格符号\" 进行分割。",{"type":22,"tag":115,"props":498,"children":500},{"id":499},"接口位置-5",[501],{"type":28,"value":117},{"type":22,"tag":30,"props":503,"children":504},{},[505],{"type":28,"value":506},"标准词根相关接口 ----> 查询词根",{"type":22,"tag":115,"props":508,"children":510},{"id":509},"调用示例-5",[511],{"type":28,"value":127},{"type":22,"tag":144,"props":513,"children":514},{},[515,520,525],{"type":22,"tag":45,"props":516,"children":517},{},[518],{"type":28,"value":519},"在调式参数rootName对应的参数值输入框输入你想要生成的标准字段中文注释，如果需要生成多个标准字段可以使用空格符进行隔开即可，举例：\"是否 评审\"",{"type":22,"tag":45,"props":521,"children":522},{},[523],{"type":28,"value":524},"点击发送请求按钮",{"type":22,"tag":45,"props":526,"children":527},{},[528],{"type":28,"value":529},"等待服务端返回结果即可，如遇到报错请跟作者进行反馈",{"type":22,"tag":30,"props":531,"children":532},{},[533,535],{"type":28,"value":534},"如上图所示，接口返回结果的格式是 ",{"type":22,"tag":229,"props":536,"children":537},{},[538],{"type":28,"value":539},"词根中文名称,词根翻译参考(多个参考|分隔),词频,词根英文名称",{"type":22,"tag":104,"props":541,"children":543},{"id":542},"标准词根更新偶尔使用",[544],{"type":28,"value":545},"标准词根更新(偶尔使用)",{"type":22,"tag":115,"props":547,"children":549},{"id":548},"接口位置-6",[550],{"type":28,"value":117},{"type":22,"tag":30,"props":552,"children":553},{},[554],{"type":28,"value":555},"标准词根相关接口 ----> 修改词根",{"type":22,"tag":115,"props":557,"children":559},{"id":558},"调用示例-6",[560],{"type":28,"value":127},{"type":22,"tag":144,"props":562,"children":563},{},[564,592,597],{"type":22,"tag":45,"props":565,"children":566},{},[567,569],{"type":28,"value":568},"按照要求填写接口入参\n",{"type":22,"tag":41,"props":570,"children":571},{},[572,577,582,587],{"type":22,"tag":45,"props":573,"children":574},{},[575],{"type":28,"value":576},"bsinssPlate：词根所属业务板块",{"type":22,"tag":45,"props":578,"children":579},{},[580],{"type":28,"value":581},"rootChnsNm：词根中文名称",{"type":22,"tag":45,"props":583,"children":584},{},[585],{"type":28,"value":586},"rootNm：词根英文名称",{"type":22,"tag":45,"props":588,"children":589},{},[590],{"type":28,"value":591},"translt：词根翻译参考",{"type":22,"tag":45,"props":593,"children":594},{},[595],{"type":28,"value":596},"发送请求到服务端",{"type":22,"tag":45,"props":598,"children":599},{},[600],{"type":28,"value":601},"等待服务端响应，200表示更新成功",{"type":22,"tag":104,"props":603,"children":605},{"id":604},"词根分页查询基本不用",[606],{"type":28,"value":607},"词根分页查询(基本不用)",{"type":22,"tag":115,"props":609,"children":611},{"id":610},"接口位置-7",[612],{"type":28,"value":117},{"type":22,"tag":30,"props":614,"children":615},{},[616],{"type":28,"value":617},"标准词根相关接口 ----> 词根分页查询",{"type":22,"tag":115,"props":619,"children":621},{"id":620},"调用示例-7",[622],{"type":28,"value":127},{"type":22,"tag":144,"props":624,"children":625},{},[626,643,647],{"type":22,"tag":45,"props":627,"children":628},{},[629,630],{"type":28,"value":568},{"type":22,"tag":41,"props":631,"children":632},{},[633,638],{"type":22,"tag":45,"props":634,"children":635},{},[636],{"type":28,"value":637},"page：第几页",{"type":22,"tag":45,"props":639,"children":640},{},[641],{"type":28,"value":642},"pageSize：每一页多少条数据",{"type":22,"tag":45,"props":644,"children":645},{},[646],{"type":28,"value":596},{"type":22,"tag":45,"props":648,"children":649},{},[650],{"type":28,"value":651},"等待服务端返回结果",{"type":22,"tag":104,"props":653,"children":655},{"id":654},"词根批量更新新增偶尔使用",[656],{"type":28,"value":657},"词根批量更新&新增(偶尔使用)",{"type":22,"tag":30,"props":659,"children":660},{},[661],{"type":28,"value":662},"数据格式：词根中文名称,评审后的词根英文名称\n数据文件格式：CSV",{"type":22,"tag":115,"props":664,"children":666},{"id":665},"接口位置-8",[667],{"type":28,"value":117},{"type":22,"tag":30,"props":669,"children":670},{},[671],{"type":28,"value":672},"标准词根相关接口 ----> 词根批量更新&新增",{"type":22,"tag":115,"props":674,"children":676},{"id":675},"调用示例-8",[677],{"type":28,"value":127},{"type":22,"tag":30,"props":679,"children":680},{},[681],{"type":28,"value":682},"需要使用PostMan或者curl方式调用",{"type":22,"tag":237,"props":684,"children":686},{"id":685},"curl方式",[687],{"type":28,"value":685},{"type":22,"tag":30,"props":689,"children":690},{},[691],{"type":28,"value":692},"命令如下：",{"type":22,"tag":694,"props":695,"children":699},"pre",{"className":696,"code":697,"language":698,"meta":7,"style":7},"language-bash shiki shiki-themes github-light github-dark","curl --location 'http:\u002F\u002F\u003Chost>\u002Froot\u002FbatchUpdate' \\\n--header 'Cookie: JSESSIONID=\u003Csession-id>' \\\n--form 'csvFile=@\".\u002F词根批量上传测试.csv\"'\n","bash",[700],{"type":22,"tag":701,"props":702,"children":703},"code",{"__ignoreMap":7},[704,733,751],{"type":22,"tag":705,"props":706,"children":709},"span",{"class":707,"line":708},"line",1,[710,716,722,728],{"type":22,"tag":705,"props":711,"children":713},{"style":712},"--shiki-default:#6F42C1;--shiki-dark:#B392F0",[714],{"type":28,"value":715},"curl",{"type":22,"tag":705,"props":717,"children":719},{"style":718},"--shiki-default:#005CC5;--shiki-dark:#79B8FF",[720],{"type":28,"value":721}," --location",{"type":22,"tag":705,"props":723,"children":725},{"style":724},"--shiki-default:#032F62;--shiki-dark:#9ECBFF",[726],{"type":28,"value":727}," 'http:\u002F\u002F\u003Chost>\u002Froot\u002FbatchUpdate'",{"type":22,"tag":705,"props":729,"children":730},{"style":718},[731],{"type":28,"value":732}," \\\n",{"type":22,"tag":705,"props":734,"children":735},{"class":707,"line":359},[736,742,747],{"type":22,"tag":705,"props":737,"children":739},{"style":738},"--shiki-default:#24292E;--shiki-dark:#E1E4E8",[740],{"type":28,"value":741},"--header ",{"type":22,"tag":705,"props":743,"children":744},{"style":724},[745],{"type":28,"value":746},"'Cookie: JSESSIONID=\u003Csession-id>'",{"type":22,"tag":705,"props":748,"children":749},{"style":718},[750],{"type":28,"value":732},{"type":22,"tag":705,"props":752,"children":754},{"class":707,"line":753},3,[755,760],{"type":22,"tag":705,"props":756,"children":757},{"style":738},[758],{"type":28,"value":759},"--form ",{"type":22,"tag":705,"props":761,"children":762},{"style":724},[763],{"type":28,"value":764},"'csvFile=@\".\u002F词根批量上传测试.csv\"'\n",{"type":22,"tag":23,"props":766,"children":768},{"id":767},"自定义数据元相关接口",[769],{"type":28,"value":767},{"type":22,"tag":104,"props":771,"children":773},{"id":772},"用户词典插入偶尔使用",[774],{"type":28,"value":775},"用户词典插入(偶尔使用)",{"type":22,"tag":115,"props":777,"children":779},{"id":778},"接口位置-9",[780],{"type":28,"value":117},{"type":22,"tag":30,"props":782,"children":783},{},[784],{"type":28,"value":785},"自定义数据元相关接口 ----> 用户词典插入",{"type":22,"tag":115,"props":787,"children":789},{"id":788},"调用示例-9",[790],{"type":28,"value":127},{"type":22,"tag":144,"props":792,"children":793},{},[794,798,802],{"type":22,"tag":45,"props":795,"children":796},{},[797],{"type":28,"value":343},{"type":22,"tag":45,"props":799,"children":800},{},[801],{"type":28,"value":596},{"type":22,"tag":45,"props":803,"children":804},{},[805],{"type":28,"value":806},"等待服务端响应，msg = \"OK\" 说明插入成功了",{"type":22,"tag":104,"props":808,"children":810},{"id":809},"用户词典更新偶尔使用",[811],{"type":28,"value":812},"用户词典更新(偶尔使用)",{"type":22,"tag":115,"props":814,"children":816},{"id":815},"接口位置-10",[817],{"type":28,"value":117},{"type":22,"tag":30,"props":819,"children":820},{},[821],{"type":28,"value":822},"自定义数据元相关接口 ----> 用户词典更新",{"type":22,"tag":115,"props":824,"children":826},{"id":825},"调用示例-10",[827],{"type":28,"value":127},{"type":22,"tag":144,"props":829,"children":830},{},[831,836,840],{"type":22,"tag":45,"props":832,"children":833},{},[834],{"type":28,"value":835},"按照要求填写入参",{"type":22,"tag":45,"props":837,"children":838},{},[839],{"type":28,"value":596},{"type":22,"tag":45,"props":841,"children":842},{},[843],{"type":28,"value":844},"等待服务端返回结果，状态 200 说明更新成功了",{"type":22,"tag":104,"props":846,"children":848},{"id":847},"用户词典分页查询基本不使用",[849],{"type":28,"value":850},"用户词典分页查询(基本不使用)",{"type":22,"tag":115,"props":852,"children":854},{"id":853},"接口位置-11",[855],{"type":28,"value":117},{"type":22,"tag":30,"props":857,"children":858},{},[859],{"type":28,"value":860},"自定义数据元相关接口 ----> 用户词典分页查询",{"type":22,"tag":115,"props":862,"children":864},{"id":863},"调用示例-11",[865],{"type":28,"value":127},{"type":22,"tag":144,"props":867,"children":868},{},[869,884,888],{"type":22,"tag":45,"props":870,"children":871},{},[872,873],{"type":28,"value":568},{"type":22,"tag":41,"props":874,"children":875},{},[876,880],{"type":22,"tag":45,"props":877,"children":878},{},[879],{"type":28,"value":637},{"type":22,"tag":45,"props":881,"children":882},{},[883],{"type":28,"value":642},{"type":22,"tag":45,"props":885,"children":886},{},[887],{"type":28,"value":596},{"type":22,"tag":45,"props":889,"children":890},{},[891],{"type":28,"value":651},{"type":22,"tag":104,"props":893,"children":895},{"id":894},"单条用户词典查询偶尔使用",[896],{"type":28,"value":897},"单条用户词典查询(偶尔使用)",{"type":22,"tag":115,"props":899,"children":901},{"id":900},"接口位置-12",[902],{"type":28,"value":117},{"type":22,"tag":30,"props":904,"children":905},{},[906],{"type":28,"value":907},"自定义数据元相关接口 ----> 单条用户词典查询",{"type":22,"tag":115,"props":909,"children":911},{"id":910},"调用示例-12",[912],{"type":28,"value":127},{"type":22,"tag":144,"props":914,"children":915},{},[916,928,932],{"type":22,"tag":45,"props":917,"children":918},{},[919,920],{"type":28,"value":568},{"type":22,"tag":41,"props":921,"children":922},{},[923],{"type":22,"tag":45,"props":924,"children":925},{},[926],{"type":28,"value":927},"cstmDataElmnt：自定义数据元",{"type":22,"tag":45,"props":929,"children":930},{},[931],{"type":28,"value":596},{"type":22,"tag":45,"props":933,"children":934},{},[935],{"type":28,"value":651},{"type":22,"tag":937,"props":938,"children":939},"style",{},[940],{"type":28,"value":941},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":7,"searchDepth":753,"depth":753,"links":943},[944,945,946,947,961,971,989],{"id":25,"depth":359,"text":25},{"id":37,"depth":359,"text":37},{"id":77,"depth":359,"text":77},{"id":100,"depth":359,"text":100,"children":948},[949,953,957],{"id":106,"depth":753,"text":106,"children":950},[951,952],{"id":117,"depth":171,"text":117},{"id":127,"depth":171,"text":127},{"id":187,"depth":753,"text":190,"children":954},[955,956],{"id":198,"depth":171,"text":117},{"id":208,"depth":171,"text":127},{"id":311,"depth":753,"text":311,"children":958},[959,960],{"id":316,"depth":171,"text":117},{"id":326,"depth":171,"text":127},{"id":373,"depth":359,"text":373,"children":962},[963,967],{"id":378,"depth":753,"text":381,"children":964},[965,966],{"id":396,"depth":171,"text":117},{"id":406,"depth":171,"text":127},{"id":446,"depth":753,"text":449,"children":968},[969,970],{"id":452,"depth":171,"text":117},{"id":462,"depth":171,"text":127},{"id":483,"depth":359,"text":483,"children":972},[973,977,981,985],{"id":488,"depth":753,"text":491,"children":974},[975,976],{"id":499,"depth":171,"text":117},{"id":509,"depth":171,"text":127},{"id":542,"depth":753,"text":545,"children":978},[979,980],{"id":548,"depth":171,"text":117},{"id":558,"depth":171,"text":127},{"id":604,"depth":753,"text":607,"children":982},[983,984],{"id":610,"depth":171,"text":117},{"id":620,"depth":171,"text":127},{"id":654,"depth":753,"text":657,"children":986},[987,988],{"id":665,"depth":171,"text":117},{"id":675,"depth":171,"text":127},{"id":767,"depth":359,"text":767,"children":990},[991,995,999,1003],{"id":772,"depth":753,"text":775,"children":992},[993,994],{"id":778,"depth":171,"text":117},{"id":788,"depth":171,"text":127},{"id":809,"depth":753,"text":812,"children":996},[997,998],{"id":815,"depth":171,"text":117},{"id":825,"depth":171,"text":127},{"id":847,"depth":753,"text":850,"children":1000},[1001,1002],{"id":853,"depth":171,"text":117},{"id":863,"depth":171,"text":127},{"id":894,"depth":753,"text":897,"children":1004},[1005,1006],{"id":900,"depth":171,"text":117},{"id":910,"depth":171,"text":127},"markdown","content:blog:2024-05-08-data-modeling-api.md","content","blog\u002F2024-05-08-data-modeling-api.md","blog\u002F2024-05-08-data-modeling-api","md",[1014,1017],{"_path":1015,"title":1016},"\u002Fblog\u002F2026-05-18-hello-world","Hello, World：这个站是怎么搭起来的",{"_path":1018,"title":1019},"\u002Fblog\u002F2022-09-26-flink-memory-settings","Flink内存设置思考",1796523532908]