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

A point used as a lower or upper geospatial column bound. More...

#include <geospatial.h>

Public Member Functions

double x () const
 Return the X coordinate.
 
double y () const
 Return the Y coordinate.
 
const std::optional< double > & z () const
 Return the optional Z coordinate.
 
const std::optional< double > & m () const
 Return the optional M coordinate.
 
std::vector< uint8_t > Serialize () const
 Encode this bound using little-endian encoding.
 

Static Public Member Functions

static GeospatialBound XY (double x, double y)
 Create a two-dimensional bound.
 
static GeospatialBound XYZ (double x, double y, double z)
 Create a bound with a Z coordinate.
 
static GeospatialBound XYM (double x, double y, double m)
 Create a bound with an M coordinate.
 
static GeospatialBound XYZM (double x, double y, double z, double m)
 Create a bound with Z and M coordinates.
 
static Result< GeospatialBoundDeserialize (std::span< const uint8_t > bytes)
 Decode a little-endian geospatial bound.
 

Friends

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

Detailed Description

A point used as a lower or upper geospatial column bound.


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