struct CassUuidGen
A UUID generator object.
Instances of the UUID generator object are thread-safe to generate UUIDs.
Functions
CassUuidGen *
cass_uuid_gen_new
( )Creates a new UUID generator.
Note: This object is thread-safe. It is best practice to create and reuse a single object per application.
Note: If unique node information (IP address) is unable to be determined then random node information will be generated.
CassUuidGen *
cass_uuid_gen_new_with_node
( node )Creates a new UUID generator with custom node information.
Note: This object is thread-safe. It is best practice to create and reuse a single object per application.
void
cass_uuid_gen_free
( uuid_gen )Frees a UUID generator instance.
void
cass_uuid_gen_time
( uuid_gen, output )Generates a V1 (time) UUID.
Note: This method is thread-safe
void
cass_uuid_gen_random
( uuid_gen, output )Generates a new V4 (random) UUID
Note: This method is thread-safe
void
cass_uuid_gen_from_time
( uuid_gen, timestamp, output )Generates a V1 (time) UUID for the specified time.
Note: This method is thread-safe