Thrift类型系统
参考 https://buildmedia.readthedocs.org/media/pdf/thrift-tutorial/latest/thrift-tutorial.pdf
Thrift类型系统包括预定义的基本类型(如bool , byte, double, string)、特殊类型(如binary)、用户自定义结构体(看上去像C 语言的结构体)、容器类型(如list,set,map)以及异常和服务定义~
主要内容
基本类型(Base Type)
特殊类型(Special type)
容器(container)
结构(struct)
异常(Exception)
服务(Service)
其它语法参考
枚举Enums
注释Comments
命名空间Namespace
Includes
常量Constants
Last updated
Was this helpful?