Apache Arrow (C++)
A columnar in-memory analytics layer designed to accelerate big data.
Public Types | List of all members
arrow::Type Struct Reference

Main data type enumeration. More...

#include <arrow/type.h>

Public Types

enum  type {
  NA, BOOL, UINT8, INT8,
  UINT16, INT16, UINT32, INT32,
  UINT64, INT64, HALF_FLOAT, FLOAT,
  DOUBLE, STRING, BINARY, FIXED_SIZE_BINARY,
  DATE32, DATE64, TIMESTAMP, TIME32,
  TIME64, INTERVAL, DECIMAL, LIST,
  STRUCT, UNION, DICTIONARY, MAP
}
 

Detailed Description

Main data type enumeration.

Data types in this library are all logical. They can be expressed as either a primitive physical type (bytes or bits of some fixed size), a nested type consisting of other data types, or another data type (e.g. a timestamp encoded as an int64)

Member Enumeration Documentation

◆ type

Enumerator
NA 

A NULL type having no physical storage.

BOOL 

Boolean as 1 bit, LSB bit-packed ordering.

UINT8 

Unsigned 8-bit little-endian integer.

INT8 

Signed 8-bit little-endian integer.

UINT16 

Unsigned 16-bit little-endian integer.

INT16 

Signed 16-bit little-endian integer.

UINT32 

Unsigned 32-bit little-endian integer.

INT32 

Signed 32-bit little-endian integer.

UINT64 

Unsigned 64-bit little-endian integer.

INT64 

Signed 64-bit little-endian integer.

HALF_FLOAT 

2-byte floating point value

FLOAT 

4-byte floating point value

DOUBLE 

8-byte floating point value

STRING 

UTF8 variable-length string as List<Char>

BINARY 

Variable-length bytes (no guarantee of UTF8-ness)

FIXED_SIZE_BINARY 

Fixed-size binary. Each value occupies the same number of bytes.

DATE32 

int32_t days since the UNIX epoch

DATE64 

int64_t milliseconds since the UNIX epoch

TIMESTAMP 

Exact timestamp encoded with int64 since UNIX epoch Default unit millisecond.

TIME32 

Time as signed 32-bit integer, representing either seconds or milliseconds since midnight.

TIME64 

Time as signed 64-bit integer, representing either microseconds or nanoseconds since midnight.

INTERVAL 

YEAR_MONTH or DAY_TIME interval in SQL style.

DECIMAL 

Precision- and scale-based decimal type.

Storage type depends on the parameters.

LIST 

A list of some logical data type.

STRUCT 

Struct of logical types.

UNION 

Unions of logical types.

DICTIONARY 

Dictionary aka Category type.

MAP 

Map, a repeated struct logical type.


The documentation for this struct was generated from the following file: