Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb_nanoarrow::ArrowSchemaView Struct Reference

A non-owning view of a parsed ArrowSchema. More...

Collaboration diagram for duckdb_nanoarrow::ArrowSchemaView:

Public Attributes

struct ArrowSchema * schema
 A pointer to the schema represented by this view.
enum ArrowType data_type
 The data type represented by the schema.
enum ArrowType storage_data_type
 The storage data type represented by the schema.
struct ArrowStringView extension_name
 The extension type name if it exists.
struct ArrowStringView extension_metadata
 The extension type metadata if it exists.
int32_t n_buffers
 The expected number of buffers in a paired ArrowArray.
int32_t validity_buffer_id
 The index of the validity buffer or -1 if one does not exist.
int32_t offset_buffer_id
 The index of the offset buffer or -1 if one does not exist.
int32_t data_buffer_id
 The index of the data buffer or -1 if one does not exist.
int32_t type_id_buffer_id
 The index of the type_ids buffer or -1 if one does not exist.
int32_t fixed_size
 Format fixed size parameter.
int32_t decimal_bitwidth
 Decimal bitwidth.
int32_t decimal_precision
 Decimal precision.
int32_t decimal_scale
 Decimal scale.
enum ArrowTimeUnit time_unit
 Format time unit parameter.
struct ArrowStringView timezone
 Format timezone parameter.
struct ArrowStringView union_type_ids
 Union type ids parameter.

Detailed Description

A non-owning view of a parsed ArrowSchema.

Contains more readily extractable values than a raw ArrowSchema. Clients can stack or statically allocate this structure but are encouraged to use the provided getters to ensure forward compatiblity.

Member Data Documentation

◆ data_type

The data type represented by the schema.

This value may be NANOARROW_TYPE_DICTIONARY if the schema has a non-null dictionary member; datetime types are valid values. This value will never be NANOARROW_TYPE_EXTENSION (see extension_name and/or extension_metadata to check for an extension type).

◆ storage_data_type

The storage data type represented by the schema.

This value will never be NANOARROW_TYPE_DICTIONARY, NANOARROW_TYPE_EXTENSION or any datetime type. This value represents only the type required to interpret the buffers in the array.

◆ extension_name

The extension type name if it exists.

If the ARROW:extension:name key is present in schema.metadata, extension_name.data will be non-NULL.

◆ extension_metadata

The extension type metadata if it exists.

If the ARROW:extension:metadata key is present in schema.metadata, extension_metadata.data will be non-NULL.

◆ fixed_size

Format fixed size parameter.

This value is set when parsing a fixed-size binary or fixed-size list schema; this value is undefined for other types. For a fixed-size binary schema this value is in bytes; for a fixed-size list schema this value refers to the number of child elements for each element of the parent.

◆ decimal_bitwidth

Decimal bitwidth.

This value is set when parsing a decimal type schema; this value is undefined for other types.

◆ decimal_precision

Decimal precision.

This value is set when parsing a decimal type schema; this value is undefined for other types.

◆ decimal_scale

Decimal scale.

This value is set when parsing a decimal type schema; this value is undefined for other types.

◆ time_unit

Format time unit parameter.

This value is set when parsing a date/time type. The value is undefined for other types.

◆ timezone

Format timezone parameter.

This value is set when parsing a timestamp type and represents the timezone format parameter. The ArrowStrintgView points to data within the schema and the value is undefined for other types.

◆ union_type_ids

Union type ids parameter.

This value is set when parsing a union type and represents type ids parameter. The ArrowStringView points to data within the schema and the value is undefined for other types.


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