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

A base class for any timestamp time (irrespective of unit or timezone). More...

#include <type.h>

Inheritance diagram for iceberg::TimestampBase:
iceberg::PrimitiveType iceberg::Type iceberg::util::Formattable iceberg::TimestampType iceberg::TimestampTzType

Public Member Functions

virtual bool is_zoned () const =0
 Is this type zoned or naive?
 
virtual TimeUnit time_unit () const =0
 The time resolution.
 
- 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
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 base class for any timestamp time (irrespective of unit or timezone).

Member Function Documentation

◆ is_zoned()

virtual bool iceberg::TimestampBase::is_zoned ( ) const
pure virtual

Is this type zoned or naive?

Implemented in iceberg::TimestampType, and iceberg::TimestampTzType.

◆ time_unit()

virtual TimeUnit iceberg::TimestampBase::time_unit ( ) const
pure virtual

The time resolution.

Implemented in iceberg::TimestampType, and iceberg::TimestampTzType.


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