You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-523 Add UDAF and UDAnF SDK
This commit is contained in:
30
utils/messageqcpp/bytestream.h
Normal file → Executable file
30
utils/messageqcpp/bytestream.h
Normal file → Executable file
@ -144,6 +144,16 @@ public:
|
||||
* push an uint64_t onto the end of the stream. The byte order is whatever the native byte order is.
|
||||
*/
|
||||
EXPORT ByteStream& operator<<(const uint64_t o);
|
||||
/**
|
||||
* push an float onto the end of the stream. The byte order is
|
||||
* whatever the native byte order is.
|
||||
*/
|
||||
EXPORT ByteStream& operator<<(const float f);
|
||||
/**
|
||||
* push an double onto the end of the stream. The byte order is
|
||||
* whatever the native byte order is.
|
||||
*/
|
||||
EXPORT ByteStream& operator<<(const double d);
|
||||
/**
|
||||
* push a std::string onto the end of the stream.
|
||||
*/
|
||||
@ -193,6 +203,16 @@ public:
|
||||
* extract an uint64_t from the front of the stream. The byte order is whatever the native byte order is.
|
||||
*/
|
||||
EXPORT ByteStream& operator>>(uint64_t& o);
|
||||
/**
|
||||
* extract a float from the front of the stream. The byte
|
||||
* order is whatever the native byte order is.
|
||||
*/
|
||||
EXPORT ByteStream& operator>>(float& f);
|
||||
/**
|
||||
* extract a double from the front of the stream. The byte
|
||||
* order is whatever the native byte order is.
|
||||
*/
|
||||
EXPORT ByteStream& operator>>(double& d);
|
||||
/**
|
||||
* extract a std::string from the front of the stream.
|
||||
*/
|
||||
@ -248,6 +268,16 @@ public:
|
||||
* Peek at an uint64_t from the front of the stream. The byte order is whatever the native byte order is.
|
||||
*/
|
||||
EXPORT void peek(uint64_t& o) const;
|
||||
/**
|
||||
* Peek at a float from the front of the stream. The byte order
|
||||
* is whatever the native byte order is.
|
||||
*/
|
||||
EXPORT void peek(float& f) const;
|
||||
/**
|
||||
* Peek at a double from the front of the stream. The byte
|
||||
* order is whatever the native byte order is.
|
||||
*/
|
||||
EXPORT void peek(double& f) const;
|
||||
/**
|
||||
* Peek at a std::string from the front of the stream.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user