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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.