Vertica documentation is moving! Use our new documentation site at https://docs.rocketsoftware.com/bundle/vertica_12.0/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

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

inline Write out a signed integer

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

inline Write out an unsigned integer

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

inline Write out a signed integer

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

inline Write out an unsigned integer

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

inline Write out a signed integer

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

inline Write out an unsigned integer

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

inline Write out a signed char / integer

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

inline Write out a char

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

inline Write out an unsigned char / integer

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

inline Write out a boolean

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

inline Write out a double / float

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

inline Write out a string

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

inline Write out a vector

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

inline Write out a vector

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

inline Write out a list

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

inline Write out a set

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

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

inline Write a pair

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

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

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

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

inline Fixed array

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