Presto 0.87 Documentation

8.3. Type System

8.3. Type System

The Type interface in Presto is used to implement a type in the SQL language. Presto ships with a number of built-in types, like VarcharType and BigintType. A Plugin can provide new types by returning them from getServices(). Below is a high level overview of the Type interface, for more details see the JavaDocs for Type.