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

#include <uuid.h>

Static Public Member Functions

static void byteToHex (char byteVal, char *buf, uint64_t &pos)
 
static unsigned char hex2Char (char ch)
 
static bool isHex (char ch)
 
static bool fromString (std::string str, int128_t &result)
 
static int128_t fromString (std::string str)
 
static int128_t fromCString (const char *str, uint64_t len)
 
static void toString (int128_t input, char *buf)
 
static std::string toString (int128_t input)
 
static std::string toString (ku_uuid_t val)
 
static ku_uuid_t generateRandomUUID (RandomEngine *engine)
 

Static Public Attributes

static constexpr const uint8_t UUID_STRING_LENGTH = 36
 
static constexpr const char HEX_DIGITS [] = "0123456789abcdef"
 

Member Function Documentation

◆ byteToHex()

static void kuzu::common::UUID::byteToHex ( char byteVal,
char * buf,
uint64_t & pos )
static

◆ fromCString()

static int128_t kuzu::common::UUID::fromCString ( const char * str,
uint64_t len )
static

◆ fromString() [1/2]

static int128_t kuzu::common::UUID::fromString ( std::string str)
static

◆ fromString() [2/2]

static bool kuzu::common::UUID::fromString ( std::string str,
int128_t & result )
static

◆ generateRandomUUID()

static ku_uuid_t kuzu::common::UUID::generateRandomUUID ( RandomEngine * engine)
static

◆ hex2Char()

static unsigned char kuzu::common::UUID::hex2Char ( char ch)
static

◆ isHex()

static bool kuzu::common::UUID::isHex ( char ch)
static

◆ toString() [1/3]

static std::string kuzu::common::UUID::toString ( int128_t input)
static

◆ toString() [2/3]

static void kuzu::common::UUID::toString ( int128_t input,
char * buf )
static

◆ toString() [3/3]

static std::string kuzu::common::UUID::toString ( ku_uuid_t val)
static

Member Data Documentation

◆ HEX_DIGITS

const char kuzu::common::UUID::HEX_DIGITS[] = "0123456789abcdef"
staticconstexpr

◆ UUID_STRING_LENGTH

const uint8_t kuzu::common::UUID::UUID_STRING_LENGTH = 36
staticconstexpr

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