Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::common::interval_t Struct Reference

#include <interval_t.h>

Public Member Functions

 interval_t ()
 
 interval_t (int32_t months_p, int32_t days_p, int64_t micros_p)
 
bool operator== (const interval_t &rhs) const
 
bool operator!= (const interval_t &rhs) const
 
bool operator> (const interval_t &rhs) const
 
bool operator<= (const interval_t &rhs) const
 
bool operator< (const interval_t &rhs) const
 
bool operator>= (const interval_t &rhs) const
 
interval_t operator+ (const interval_t &rhs) const
 
timestamp_t operator+ (const timestamp_t &rhs) const
 
date_t operator+ (const date_t &rhs) const
 
interval_t operator- (const interval_t &rhs) const
 
interval_t operator/ (const uint64_t &rhs) const
 

Public Attributes

int32_t months = 0
 
int32_t days = 0
 
int64_t micros = 0
 

Constructor & Destructor Documentation

◆ interval_t() [1/2]

kuzu::common::interval_t::interval_t ( )

◆ interval_t() [2/2]

kuzu::common::interval_t::interval_t ( int32_t months_p,
int32_t days_p,
int64_t micros_p )

Member Function Documentation

◆ operator!=()

bool kuzu::common::interval_t::operator!= ( const interval_t & rhs) const

◆ operator+() [1/3]

date_t kuzu::common::interval_t::operator+ ( const date_t & rhs) const

◆ operator+() [2/3]

interval_t kuzu::common::interval_t::operator+ ( const interval_t & rhs) const

◆ operator+() [3/3]

timestamp_t kuzu::common::interval_t::operator+ ( const timestamp_t & rhs) const

◆ operator-()

interval_t kuzu::common::interval_t::operator- ( const interval_t & rhs) const

◆ operator/()

interval_t kuzu::common::interval_t::operator/ ( const uint64_t & rhs) const

◆ operator<()

bool kuzu::common::interval_t::operator< ( const interval_t & rhs) const

◆ operator<=()

bool kuzu::common::interval_t::operator<= ( const interval_t & rhs) const

◆ operator==()

bool kuzu::common::interval_t::operator== ( const interval_t & rhs) const

◆ operator>()

bool kuzu::common::interval_t::operator> ( const interval_t & rhs) const

◆ operator>=()

bool kuzu::common::interval_t::operator>= ( const interval_t & rhs) const

Member Data Documentation

◆ days

int32_t kuzu::common::interval_t::days = 0

◆ micros

int64_t kuzu::common::interval_t::micros = 0

◆ months

int32_t kuzu::common::interval_t::months = 0

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