基于 Rust Arrow Flight 的物联网和时序数据传输及转换工具 霍琳贺第三届中国 Rust 开发者大会 基于 Rust Arrow Flight 的物联网和时序数据传输及 转换工具 霍琳贺 涛思数据 Rust China Conf 2023 CONTENTS 自 我 介 绍 T D e n g i n e t a o s X R u s t 使 用 TDengine Rust • OOXML - Excel 解析库 • xlsx2csv - "expr": "field1.contains(\"abc\")", "as": "bool"}}} • Mutate • Filter • Pivot Powered by serde + arrow taosX - 数据汇聚 CONTENTS 自 我 介 绍 T D e n g i n e t a o s X R u s t 使 用 Why Rust ? • 安全性 • 高性能 https://crates.io/crates/arrow-flight https://crates.io/crates/tonic • Authentication: https://crates.io/crates/jsonwebtoken • Data structure: • Arrow: https://crates.io/crates/arrow • Parquet: https://crates0 码力 | 29 页 | 2.26 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.1)把域或者方法括起来 注意,这种语法对于类型/名字的顺序是非常灵活的。 @startuml class Dummy { String data void methods() } class Flight { flightNumber : Integer departureTime : Date } @enduml You can use {field} and {method} modifiers -down-> dummyDown @enduml PlantUML 语言参考指引 (1.2019.1) 44 / 145 3.22 “关系”类 3 类图 You can shorten the arrow by using only the first character of the direction (for example, -d- instead of -down-) or the two Activity" --> (*) @enduml 4.3 改变箭头方向 你可以使用 -> 定义水平方向箭头,还可以使用下列语法强制指定箭头的方向: • -down-> (default arrow) • -right-> or -> PlantUML 语言参考指引 (1.2019.1) 50 / 145 4.4 分支 4 活动图 • -left-> • -up-> @startuml0 码力 | 146 页 | 1.91 MB | 1 年前3
PlantUML 1.2019.3 语言参考指引把域或者方法括起来 注意,这种语法对于类型/名字的顺序是非常灵活的。 @startuml class Dummy { String data void methods() } class Flight { flightNumber : Integer departureTime : Date } @enduml You can use {field} and {method} modifiers -down-> dummyDown @enduml PlantUML 语言参考指引 (1.2019.3) 47 / 156 3.22 “关系”类 3 类图 You can shorten the arrow by using only the first character of the direction (for example, -d- instead of -down-) or the two Activity" --> (*) @enduml 4.3 改变箭头方向 你可以使用 -> 定义水平方向箭头,还可以使用下列语法强制指定箭头的方向: • -down-> (default arrow) PlantUML 语言参考指引 (1.2019.3) 53 / 156 4.4 分支 4 活动图 • -right-> or -> • -left-> • -up-> @startuml0 码力 | 157 页 | 1.78 MB | 1 年前3
PlantUML 1.2019.2 语言参考指引把域或者方法括起来 注意,这种语法对于类型/名字的顺序是非常灵活的。 @startuml class Dummy { String data void methods() } class Flight { flightNumber : Integer departureTime : Date } @enduml You can use {field} and {method} modifiers -down-> dummyDown @enduml PlantUML 语言参考指引 (1.2019.2) 47 / 156 3.22 “关系”类 3 类图 You can shorten the arrow by using only the first character of the direction (for example, -d- instead of -down-) or the two Activity" --> (*) @enduml 4.3 改变箭头方向 你可以使用 -> 定义水平方向箭头,还可以使用下列语法强制指定箭头的方向: • -down-> (default arrow) PlantUML 语言参考指引 (1.2019.2) 53 / 156 4.4 分支 4 活动图 • -right-> or -> • -left-> • -up-> @startuml0 码力 | 157 页 | 1.78 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.6)把字段或者方法括起来 注意,这种语法对于类型/名字的顺序是非常灵活的。 @startuml class Dummy { String data void methods() } class Flight { flightNumber : Integer departureTime : Date } @enduml 你可以(显式地)使用 {field} 和 {method} 修饰符来覆盖解析器的对于字段和方法的默认行为 dummyLeft foo -right-> dummyRight foo -up-> dummyUp foo -down-> dummyDown @enduml You can shorten the arrow by using only the first character of the direction (for example, -d- instead of -down-) or the two Activity" --> (*) @enduml 4.3 改变箭头方向 你可以使用 -> 定义水平方向箭头,还可以使用下列语法强制指定箭头的方向: • -down-> (default arrow) PlantUML 语言参考指引 (1.2019.6) 54 / 173 4.4 分支 4 活动图 • -right-> or -> • -left-> • -up-> @startuml0 码力 | 174 页 | 1.98 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.9)把字段或者方法括起来 注意,这种语法对于类型/名字的顺序是非常灵活的。 @startuml class Dummy { String data void methods() } class Flight { flightNumber : Integer departureTime : Date } @enduml 你可以(显式地)使用 {field} 和 {method} 修饰符来覆盖解析器的对于字段和方法的默认行为 dummyLeft foo -right-> dummyRight foo -up-> dummyUp foo -down-> dummyDown @enduml You can shorten the arrow by using only the first character of the direction (for example, -d- instead of -down-) or the two Activity" --> (*) @enduml 4.3 改变箭头方向 你可以使用 -> 定义水平方向箭头,还可以使用下列语法强制指定箭头的方向: • -down-> (default arrow) PlantUML 语言参考指引 (1.2019.9) 54 / 173 4.4 分支 4 活动图 • -right-> or -> • -left-> • -up-> @startuml0 码力 | 174 页 | 2.00 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.4)把域或者方法括起来 注意,这种语法对于类型/名字的顺序是非常灵活的。 @startuml class Dummy { String data void methods() } class Flight { flightNumber : Integer departureTime : Date } @enduml You can use {field} and {method} modifiers -down-> dummyDown @enduml PlantUML 语言参考指引 (1.2019.4) 47 / 164 3.22 “关系”类 3 类图 You can shorten the arrow by using only the first character of the direction (for example, -d- instead of -down-) or the two Activity" --> (*) @enduml 4.3 改变箭头方向 你可以使用 -> 定义水平方向箭头,还可以使用下列语法强制指定箭头的方向: • -down-> (default arrow) PlantUML 语言参考指引 (1.2019.4) 53 / 164 4.4 分支 4 活动图 • -right-> or -> • -left-> • -up-> @startuml0 码力 | 165 页 | 1.89 MB | 1 年前3
PlantUML 1.2020.22 语言参考指引时序图 1.5 Text alignment 1.5.1 Text of response message below the arrow You can put the text of the response message below the arrow, with the skinparam responseMessageBelowArrow true command. @startuml (1.2020.22) 40 / 294 3.5 定义可访问性 3 类图 @startuml class Dummy { String data void methods() } class Flight { flightNumber : Integer departureTime : Date } @enduml 你可以(显式地)使用 {field} 和 {method} 修饰符来覆盖解析器的对于字段和方法的默认行为 dummyLeft foo -right-> dummyRight foo -up-> dummyUp foo -down-> dummyDown @enduml You can shorten the arrow by using only the first character of the direction (for example, -d- instead of -down-) or the two0 码力 | 295 页 | 3.08 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2020.23)时序图 1.5 Text alignment 1.5.1 Text of response message below the arrow You can put the text of the response message below the arrow, with the skinparam responseMessageBelowArrow true command. @startuml 35 Appendice: Examples of all arrow type 1 时序图 end box Alice1 -> Bob1 : hello Alice1 -> Out : out @enduml 1.35 Appendice: Examples of all arrow type 1.35.1 Normal arrow @startuml participant Alice as x->o b : ""x->o "" @enduml PlantUML 语言参考指引 (1.2020.23) 28 / 306 1.35 Appendice: Examples of all arrow type 1 时序图 1.35.2 Incoming and outgoing messages (with '[', ']') @startuml participant Alice as0 码力 | 307 页 | 3.17 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2021.2)时序图 1.5 Text alignment 1.5.1 Text of response message below the arrow You can put the text of the response message below the arrow, with the skinparam responseMessageBelowArrow true command. @startuml PlantUML 语言参考指引 (1.2021.2) 29 / 380 1.37 Appendix: Examples of all arrow type 1 时序图 1.37 Appendix: Examples of all arrow type 1.37.1 Normal arrow @startuml participant Alice as a participant Bob as b a -> a x->o b : ""x->o "" @enduml PlantUML 语言参考指引 (1.2021.2) 30 / 380 1.37 Appendix: Examples of all arrow type 1 时序图 1.37.2 Incoming and outgoing messages (with ’[’, ’]’) 1.37.3 Incoming messages (with0 码力 | 381 页 | 4.05 MB | 1 年前3
共 128 条
- 1
- 2
- 3
- 4
- 5
- 6
- 13













