taco-db  0.1.0
Public Attributes | List of all members
taco::Schema::FieldInfo Struct Reference

Public Attributes

Oid m_typid
 The type ID of this field. More...
 
int16_t m_typlen
 Cached copy of the typlen. More...
 
int8_t m_typalign
 Cached copy of typalign. More...
 
bool m_typbyref
 Whether this field is passed by ref. More...
 
uint64_t m_typparam
 The type parameter of this field. More...
 
FieldId m_nullbit_id
 Stores about the null bit of this field in the payload layout. More...
 
FieldOffset m_offset
 Stores information about how to find this field in the payload layout. More...
 

Member Data Documentation

◆ m_nullbit_id

FieldId taco::Schema::FieldInfo::m_nullbit_id

Stores about the null bit of this field in the payload layout.

Possible values:

< 0: not nullable. Any valid regular FieldId i: this field's null bit is i_th bit.

When the null bit ID hasn't been computed for a nullable field, it is set to some non-negative value.

◆ m_offset

FieldOffset taco::Schema::FieldInfo::m_offset

Stores information about how to find this field in the payload layout.

Possible values:

< 0: this is the (-offset - 1)^th variable-length field from left to right, or this is the (-offset - 1)^th nullable fixed-length field from left to right.

>= 0: the actual offset of a non-nullable fixed-length field relative to the beginning of the payload.

This field is undefined when the layout hasn't been computed.

◆ m_typalign

int8_t taco::Schema::FieldInfo::m_typalign

Cached copy of typalign.

Not set if layout is not computed.

◆ m_typbyref

bool taco::Schema::FieldInfo::m_typbyref

Whether this field is passed by ref.

Not set if layout is not computed.

◆ m_typid

Oid taco::Schema::FieldInfo::m_typid

The type ID of this field.

◆ m_typlen

int16_t taco::Schema::FieldInfo::m_typlen

Cached copy of the typlen.

Not set if layout is not computed.

◆ m_typparam

uint64_t taco::Schema::FieldInfo::m_typparam

The type parameter of this field.


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