ExArrow.Schema (ex_arrow v0.4.0)

View Source

Arrow schema handle (opaque reference to native schema).

Holds metadata (field names and types) for a table or record batch. Data lives in native memory; this module provides a stable handle and Elixir-friendly accessors for small metadata.

Summary

Functions

Returns just the field names of the schema as a list of strings.

Returns the list of fields in the schema (Elixir structs).

Types

t()

@opaque t()

Functions

field_names(schema)

@spec field_names(t()) :: [String.t()]

Returns just the field names of the schema as a list of strings.

fields(schema)

@spec fields(t()) :: [ExArrow.Field.t()]

Returns the list of fields in the schema (Elixir structs).