|
iceberg-cpp
|
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 GeospatialBound & | lower () const |
| Return the lower bound. | |
| const GeospatialBound & | upper () 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< BoundingBox > | Deserialize (std::span< const uint8_t > lower, std::span< const uint8_t > upper) |
| Decode a bounding box from separate lower and upper encodings. | |
| static Result< BoundingBox > | Deserialize (std::span< const uint8_t > bytes) |
| Decode a bounding box from Iceberg's combined encoding. | |
Friends | |
| bool | operator== (const BoundingBox &, const BoundingBox &)=default |
A pair of lower and upper geospatial column bounds.