iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Friends | List of all members
iceberg::BoundingBox Class Reference

A pair of lower and upper geospatial column bounds. More...

#include <geospatial.h>

Public Member Functions

 BoundingBox (GeospatialBound lower, GeospatialBound upper)
 Create a bounding box from lower and upper bounds.
 
const GeospatialBoundlower () const
 Return the lower bound.
 
const GeospatialBoundupper () const
 Return the upper bound.
 
std::vector< uint8_t > Serialize () const
 Encode this bounding box using Iceberg's combined encoding.
 

Static Public Member Functions

static Result< BoundingBoxDeserialize (std::span< const uint8_t > lower, std::span< const uint8_t > upper)
 Decode a bounding box from separate lower and upper encodings.
 
static Result< BoundingBoxDeserialize (std::span< const uint8_t > bytes)
 Decode a bounding box from Iceberg's combined encoding.
 

Friends

bool operator== (const BoundingBox &, const BoundingBox &)=default
 

Detailed Description

A pair of lower and upper geospatial column bounds.


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