Thrift v1.3.2 API Reference

Modules

Generate Erlang source files from .thrift schema files

Thrift provides Apache Thrift support

This module provides functions for parsing .thrift files

Conversion utilities useful for parsing Thrift

Represents a group of parsed files. When you parse a file, it might include other thrift files. These files are in turn accumulated and parsed and added to this module. Additionally, this module allows resolution of the names of Structs / Enums / Unions etc across files

A module containing types for defining Thrift literals Thrift literals are used when setting default values and constants

A Thrift container type

A Thrift primitive type

Models used by the Thrift parser that represent different Thrift components. The models defined here are returned by the parse functions in the Thrift.Parser module

A Thrift constant. Constants of any primitive or container type can be created in Thrift

A Thrift exception

A Thrift function

An included file. In Thrift, you can include other files to share structs, enums and the like

A Thrift namespace. The namespace is a language-specific place where the generated structs are placed

A Thrift schema

A Thrift service

A Thrift struct

A reference to another struct

A Thrift enumeration An enumeration contains names and (usually sequential) values, and allows you to map from one to the other

A resolver for references. During file parsing, all new generated thrift concepts flow through this resolver and are added to its global database of names. At the end, the database is dumped into the FileGroup so it can resolve references

Utility for writing output to the shell

A container module for modules containing typespecs for Thrift files

A Thrift contianer type

A Thrift identifier

A Thrift list

Typespec for Thrift primitives

A Thrift type that isn’t a container