te::pgis::Array Struct Reference

Auxiliary structure used to decode Array data types. More...

#include <DataTypes.h>

Public Attributes

int m_dataoffset
 offset to stored data, or 0 if no nulls bitmap. More...
 
int m_dimensions
 length of each array axis (C array of int) More...
 
unsigned int m_elemtype
 element type OID. More...
 
int m_ndim
 number of dimensions of the array. More...
 

Detailed Description

Auxiliary structure used to decode Array data types.

After the dimensions information we have the following structure:

  • lower bnds: lower boundary of each dimension (C array of int)
  • null bitmap: bitmap showing locations of nulls (OPTIONAL)
  • actual data: whatever is the stored data.
    Individual items in the array are aligned as specified by the array element type. They are stored in row-major order (last subscript varies most rapidly).

Definition at line 79 of file DataTypes.h.

Member Data Documentation

int te::pgis::Array::m_dataoffset

offset to stored data, or 0 if no nulls bitmap.

Definition at line 82 of file DataTypes.h.

int te::pgis::Array::m_dimensions

length of each array axis (C array of int)

Definition at line 84 of file DataTypes.h.

unsigned int te::pgis::Array::m_elemtype

element type OID.

Definition at line 83 of file DataTypes.h.

int te::pgis::Array::m_ndim

number of dimensions of the array.

Definition at line 81 of file DataTypes.h.


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