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

A data type that does not have child fields. More...

#include <type.h>

Inheritance diagram for iceberg::PrimitiveType:
iceberg::Type iceberg::util::Formattable iceberg::BinaryType iceberg::BooleanType iceberg::DateType iceberg::DecimalType iceberg::DoubleType iceberg::FixedType iceberg::FloatType iceberg::IntType iceberg::LongType iceberg::StringType iceberg::TimeType iceberg::TimestampBase iceberg::UuidType

Public Member Functions

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
virtual TypeId type_id () const =0
 Get the type ID.
 
- Public Member Functions inherited from iceberg::util::Formattable
virtual std::string ToString () const =0
 Get a user-readable string representation.
 

Additional Inherited Members

- Protected Member Functions inherited from iceberg::Type
virtual bool Equals (const Type &other) const =0
 Compare two types for equality.
 

Detailed Description

A data type that does not have child fields.

Member Function Documentation

◆ is_nested()

bool iceberg::PrimitiveType::is_nested ( ) const
inlineoverridevirtual

Is this a nested type (may have child fields)?

Implements iceberg::Type.

◆ is_primitive()

bool iceberg::PrimitiveType::is_primitive ( ) const
inlineoverridevirtual

Is this a primitive type (may not have child fields)?

Implements iceberg::Type.


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