Package dev.frostlake.types
Class UuidType
java.lang.Object
dev.frostlake.types.DataType
dev.frostlake.types.StringType
dev.frostlake.types.UuidType
- All Implemented Interfaces:
Serializable
Snowflake's UUID type: a 128-bit value held and shown as its canonical lower-case text,
1b4e28ba-2fa1-11d2-883f-0016d3cca427. Every piece of metadata names it as a type of its own —
SYSTEM$TYPEOF reads UUID[SB16], DESCRIBE, GET_DDL and INFORMATION_SCHEMA say UUID
with no length, SHOW COLUMNS {"type":"UUID","nullable":true} — while a string function reads
it as its text and JDBC reports a VARCHAR (live-verified). It takes no parameters: UUID(36)
is a syntax error.- See Also:
-
Field Summary
FieldsFields inherited from class dev.frostlake.types.StringType
CHAR, STRING, TEXT, VARCHAR -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class dev.frostlake.types.StringType
formatValue, getCommonType, getMaxLength, getSize, isCompatible, parseValue
-
Field Details
-
UUID
-
-
Constructor Details
-
UuidType
public UuidType()
-