Apache Thrift's type system

Apache Thrift offers its own type system, which is designed to allow the developers to use the variable types native to their language of choice. Then, Thrift's libraries take care of translating the types between different languages.

Apache Thrift's type system

Apache Thrift creators divided its types into a few categories:

  • Basic: These are the simplest types present in virtually every programming language.
  • Special: These are those which don't fit into the basic category (currently, it is only one type).
  • Structs: These are the equivalent of structs or classes from popular programming languages (with some limitations).
  • Container: These are equivalent ...

Get Learning Apache Thrift now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.