Class: ClickhouseRuby::Types::UUID

Inherits:
Base
  • Object
show all
Includes:
NullSafe
Defined in:
lib/clickhouse_ruby/types/uuid.rb

Overview

Type handler for ClickHouse UUID type

UUIDs are stored as 16-byte values but represented as strings in the format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Constant Summary collapse

UUID_PATTERN =

UUID regex pattern

/\A[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\z/i

Instance Attribute Summary

Attributes inherited from Base

#name

Method Summary

Methods included from NullSafe

#cast, #deserialize, #serialize

Methods inherited from Base

#==, #cast, #deserialize, #hash, #initialize, #nullable?, #serialize, #to_s

Constructor Details

This class inherits a constructor from ClickhouseRuby::Types::Base