|
iceberg-cpp
|
A data type representing OGC geography in WKB format. More...
#include <type.h>
Public Member Functions | |
| std::string_view | crs () const |
| EdgeAlgorithm | algorithm () const |
| TypeId | type_id () const override |
| Get the type ID. | |
| std::string | ToString () const override |
| Get a user-readable string representation. | |
Public Member Functions inherited from iceberg::PrimitiveType | |
| bool | is_primitive () const override |
| Is this a primitive type (may not have child fields)? | |
| bool | is_nested () const override |
| Is this a nested type (may have child fields)? | |
Public Member Functions inherited from iceberg::Type | |
| bool | is_struct () const |
| Is this a struct type? | |
| bool | is_list () const |
| Is this a list type? | |
| bool | is_map () const |
| Is this a map type? | |
| bool | is_variant () const |
| Is this a variant type? | |
Static Public Member Functions | |
| static Result< std::unique_ptr< GeographyType > > | Make () |
| static Result< std::unique_ptr< GeographyType > > | Make (std::string crs) |
| static Result< std::unique_ptr< GeographyType > > | Make (std::string crs, EdgeAlgorithm algorithm) |
Static Public Attributes | |
| static constexpr const TypeId | kTypeId = TypeId::kGeography |
| static constexpr std::string_view | kDefaultCrs = "OGC:CRS84" |
| static constexpr EdgeAlgorithm | kDefaultAlgorithm = EdgeAlgorithm::kSpherical |
Protected Member Functions | |
| bool | Equals (const Type &other) const override |
| Compare two types for equality. | |
A data type representing OGC geography in WKB format.
|
overrideprotectedvirtual |
Compare two types for equality.
Implements iceberg::Type.
|
overridevirtual |
Get a user-readable string representation.
Implements iceberg::util::Formattable.
|
overridevirtual |
Get the type ID.
Implements iceberg::Type.