Public member functions

NzaeTimeTzField addInterval(const NzaeIntervalField &interval) const
Constructs a TimeTzField by adding an interval.
void decodeTimeTz(uint8_t *hour, uint8_t *minute, uint8_t *second, uint32_t *mcrs, int16_t *sqlOffset, bool *errorFlag=NULL) const
Converts a Netezza-encoded TimeTz value to h:m:s:micros.
void encodeTimeTz(uint32_t hour, uint32_t minute, uint32_t second, uint32_t mcrs, int32_t sqlOffset, bool *errorFlag=NULL)
void fromString(std::string str)
Constructs the field from the string.
bool isValidTimeTz() const
Determines whether a Netezza-encoded TimeTZ value is valid and within range.
NzaeTimeTzField(const NzaeTimeTzField &field)
Constructs a timetz field with value field.
NzaeTimeTzField(const NzaeTimeField &field)
Constructs a timetz field with value field.
NzaeTimeTzField(const NzaeTimestampField &field)
Constructs a timetz field with value field.
NzaeTimeTzField()
Constructs a NULL timetz field.
NzaeTimeTzField(NzudsTimeTz val)
Constructs a timetz field with value val.
operator const NzudsTimeTz &() const
Returns the encoded field value.
operator NzaeTimeField() const
Returns the time field value.
operator NzudsTimeTz &()
Returns the encoded field value.
bool operator!=(const NzaeTimeTzField &x) const
Not Equal.
bool operator<(const NzaeTimeTzField &x) const
Less than.
bool operator<=(const NzaeTimeTzField &x) const
Less than or equal.
NzaeTimeTzField& operator=(NzudsTimeTz val)
Assigns the value of the argument to a field object.
NzaeTimeTzField& operator=(const NzaeTimestampField &field)
Assigns the value of the argument to a field object.
NzaeTimeTzField& operator=(NzaeField &field)
Assigns the value of the argument to a field object.
NzaeTimeTzField& operator=(const NzaeTimeTzField &field)
Assigns the value of the argument to a field object.
NzaeTimeTzField& operator=(const NzaeTimeField &field)
Assigns the value of the argument to a field object.
bool operator==(const NzaeTimeTzField &x) const
Equal to.
bool operator>(const NzaeTimeTzField &x) const
Greater than.
bool operator>=(const NzaeTimeTzField &x) const
Greater than or equal.
NzaeTimeTzField subInterval(const NzaeIntervalField &interval) const
Constructs a TimeTzField by subtracting an interval.
std::string toString() const

Returns the string representation of the field.

virtual NzaeDataTypes::Types type() const
Returns the type of the field.