Vertica documentation is moving! Use our new documentation site at https://docs.rocketsoftware.com/bundle/vertica_24.1/page/index.html

Vertica::SimpleArchiveOut Struct Reference

Collaboration diagram for Vertica::SimpleArchiveOut:

Public Types
typedef std::false_type is_loading
typedef std::true_type is_saving
Public Member Functions
SimpleArchiveOut (std::ostream &ostream)
void operator& (const int64 &val)
void operator& (const uint64 &val)
void operator& (const long int &val)
void operator& (const long unsigned int &val)
void operator& (const int32 &val)
void operator& (const uint32 &val)
void operator& (const int16 &val)
void operator& (const uint16 &val)
void operator& (const signed char &val)
void operator& (const char &val)
void operator& (const unsigned char &val)
void operator& (const bool &val)
void operator& (const double &val)
template
void operator& (const std::basic_string< char, std::char_traits< char >, Alloc > &val)
template<class T , class Alloc >
void operator& (const std::vector< T, Alloc > &val)
template
void operator& (const std::vector< bool, Alloc > &val)
template<class T , class Alloc >
void operator& (const std::list< T, Alloc > &val)
template<class T , class Less , class Alloc >
void operator& (const std::set< T, Less, Alloc > &val)
template<class T , class Hash , class Eq , class Alloc >
void operator& (const std::unordered_set< T, Hash, Eq, Alloc > &val)
template<class T1 , class T2 >
void operator& (const std::pair< T1, T2 > &val)
template<class K , class V , class Less , class Alloc >
void operator& (const std::map< K, V, Less, Alloc > &val)
template<class K , class V , class Hash , class Eq , class Alloc >
void operator& (const std::unordered_map< K, V, Hash, Eq, Alloc > &val)
template
void operator& (const T &val)
SimpleArchiveOut & operator<< (int64 val)
SimpleArchiveOut & operator<< (uint64 val)
SimpleArchiveOut & operator<< (int32 val)
SimpleArchiveOut & operator<< (uint32 val)
SimpleArchiveOut & operator<< (int16 val)
SimpleArchiveOut & operator<< (uint16 val)
SimpleArchiveOut & operator<< (signed char val)
SimpleArchiveOut & operator<< (char val)
SimpleArchiveOut & operator<< (unsigned char val)
SimpleArchiveOut & operator<< (bool b)
SimpleArchiveOut & operator<< (double d)
template
SimpleArchiveOut & operator<< (const std::basic_string< char, std::char_traits< char >, Alloc > &val)
template<class T , class Alloc >
SimpleArchiveOut & operator<< (const std::vector< T, Alloc > &val)
template
SimpleArchiveOut & operator<< (const std::vector< bool, Alloc > &val)
template<class T , class Alloc >
SimpleArchiveOut & operator<< (const std::list< T, Alloc > &val)
template<class T , class Less , class Alloc >
SimpleArchiveOut & operator<< (const std::set< T, Less, Alloc > &val)
template<class T , class Hash , class Eq , class Alloc >
SimpleArchiveOut & operator<< (const std::unordered_set< T, Hash, Eq, Alloc > &val)
template<class T1 , class T2 >
SimpleArchiveOut & operator<< (const std::pair< T1, T2 > &val)
template<class K , class V , class Less , class Alloc >
SimpleArchiveOut & operator<< (const std::map< K, V, Less, Alloc > &val)
template<class K , class V , class Hash , class Eq , class Alloc >
SimpleArchiveOut & operator<< (const std::unordered_map< K, V, Hash, Eq, Alloc > &val)
template
SimpleArchiveOut & operator<< (const T &val)
template<typename T , size_t n>
SimpleArchiveOut & operator<< (const T(&val)[n])
template
SimpleArchiveOut & operator>> (T &val)
void read (void *ptr, size_t n)
void write (const void *ptr, size_t n)
void writeBool (bool b)
void writeDouble (double d)
void writeInt (int64 val)
void writeUint (uint64 val)
Static Public Member Functions
static uint32 serializeSigned (vint val, uint8 *buffer)
Public Attributes
std::ostream & os

Detailed Description

OutputArchive

Member Function Documentation

◆operator<<() [1/22]

SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(int64 val)

inline Write out a signed integer

◆operator<<() [2/22]

SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(uint64 val)

inline Write out an unsigned integer

◆operator<<() [3/22]

SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(int32 val)

inline Write out a signed integer

◆operator<<() [4/22]

SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(uint32 val)

inline Write out an unsigned integer

◆operator<<() [5/22]

SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(int16 val)

inline Write out a signed integer

◆operator<<() [6/22]

SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(uint16 val)

inline Write out an unsigned integer

◆operator<<() [7/22]

SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(signed char val)

inline Write out a signed char / integer

◆operator<<() [8/22]

SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(char val)

inline Write out a char

◆operator<<() [9/22]

SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(unsigned char val)

inline Write out an unsigned char / integer

◆operator<<() [10/22]

SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(bool b)

inline Write out a boolean

◆operator<<() [11/22]

SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(double d)

inline Write out a double / float

◆operator<<() [12/22]

template<class Alloc >
SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(const std::basic_string< char, std::char_traits< char >, Alloc > & val)

inline Write out a string

◆operator<<() [13/22]

template<class T , class Alloc >
SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(const std::vector< T, Alloc > & val)

inline Write out a vector

◆operator<<() [14/22]

template<class Alloc >
SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(const std::vector< bool, Alloc > & val)

inline Write out a vector

◆operator<<() [15/22]

template<class T , class Alloc >
SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(const std::list< T, Alloc > & val)

inline Write out a list

◆operator<<() [16/22]

template<class T , class Less , class Alloc >
SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(const std::set< T, Less, Alloc > & val)

inline Write out a set

◆operator<<() [17/22]

template<class T , class Hash , class Eq , class Alloc >
SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(const std::unordered_set< T, Hash, Eq, Alloc > & val)

inline Write out an unordered set

◆operator<<() [18/22]

template<class T1 , class T2 >
SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(const std::pair< T1, T2 > & val)

inline Write a pair

◆operator<<() [19/22]

template<class K , class V , class Less , class Alloc >
SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(const std::map< K, V, Less, Alloc > & val)

inline Write out a map

◆operator<<() [20/22]

template<class K , class V , class Hash , class Eq , class Alloc >
SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(const std::unordered_map< K, V, Hash, Eq, Alloc > & val)

inline Write out an unordered map

◆operator<<() [21/22]

template<class T >
SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(const T & val)

inline Write out something with a serialize method, the default thing to do with no specific override

◆operator<<() [22/22]

template<typename T , size_t n>
SimpleArchiveOut& Vertica::SimpleArchiveOut::operator<<(const T(&) val\[n\])

inline Fixed array

◆serializeSigned()

static uint32 Vertica::SimpleArchiveOut::serializeSigned(vint val, uint8 * buffer)

inlinestatic

Returns # of bytes written to buffer. Assumes at least 10 bytes are available in buffer prior to write