|
iceberg-cpp
|
A data type representing a fixed-length bytestring. More...
#include <type.h>
Public Member Functions | |
| FixedType (int32_t length) | |
| Construct a fixed type with the given length. | |
| int32_t | length () const |
| The length (the number of bytes to store). | |
| 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)? | |
Static Public Attributes | |
| static constexpr const TypeId | kTypeId = TypeId::kFixed |
Protected Member Functions | |
| bool | Equals (const Type &other) const override |
| Compare two types for equality. | |
A data type representing a fixed-length bytestring.
|
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.