ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
Loading...
Searching...
No Matches
semiring::EnumLabels Struct Reference

The labels of an enum type, in enumsortorder: their OIDs, and the rank of each OID. More...

#include "Subset.h"

Public Member Functions

 EnumLabels (Oid enum_oid)

Public Attributes

std::vector< Oid > oids
 label OIDs, by rank
std::unordered_map< Oid, unsigned > rank
 rank of each label OID

Detailed Description

The labels of an enum type, in enumsortorder: their OIDs, and the rank of each OID.

Definition at line 66 of file Subset.h.

Constructor & Destructor Documentation

◆ EnumLabels()

semiring::EnumLabels::EnumLabels ( Oid enum_oid)
inlineexplicit

Definition at line 70 of file Subset.h.

Member Data Documentation

◆ oids

std::vector<Oid> semiring::EnumLabels::oids

label OIDs, by rank

Definition at line 67 of file Subset.h.

◆ rank

std::unordered_map<Oid, unsigned> semiring::EnumLabels::rank

rank of each label OID

Definition at line 68 of file Subset.h.


The documentation for this struct was generated from the following file:
  • /home/pierre/git/software/provsql/src/semiring/Subset.h