A data type representing a fixed-length bytestring.
More...
#include <type.h>
|
| | 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.
|
| |
| 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)?
|
| |
|
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 constexpr const TypeId | kTypeId = TypeId::kFixed |
| |
|
| bool | Equals (const Type &other) const override |
| | Compare two types for equality.
|
| |
A data type representing a fixed-length bytestring.
◆ FixedType()
| iceberg::FixedType::FixedType |
( |
int32_t |
length | ) |
|
|
explicit |
Construct a fixed type with the given length.
- Exceptions
-
◆ Equals()
| bool iceberg::FixedType::Equals |
( |
const Type & |
other | ) |
const |
|
overrideprotectedvirtual |
◆ ToString()
| std::string iceberg::FixedType::ToString |
( |
| ) |
const |
|
overridevirtual |
◆ type_id()
| TypeId iceberg::FixedType::type_id |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files:
- iceberg/type.h
- iceberg/type.cc