Package dev.frostlake.types
package dev.frostlake.types
-
ClassDescriptionThe BINARY family.How a BINARY's width is spelled where the plan names the type —
SYSTEM$TYPEOFand the argument-type refusals (live-verified):The length a client reads for a result column: a text column's length in characters and a binary column's in bytes, which Snowflake's driver answers as the column's precision and display size.SHOW COLUMNS'data_typecell.The type a set of BRANCHES agree on — the rule a UNION applies to its arms and a conditional applies to its results.The FILE column type: a reference to a file on a stage.The GEOGRAPHY column type: spherical (lon/lat, SRID 4326) geospatial values carried asGeoValue.The GEOMETRY column type: planar (cartesian, default SRID 0) geospatial values carried asGeoValue.The GEOSPATIAL type predicate shared by the strict-argument rules:GeographyTypeandGeometryTypeare ONE family for every rejection measured on the account.The declared PRECISION of the integer-returning functions, which is not one number.A VARCHAR the plan carries with no length of its own — the KEY and PATH columns of FLATTEN and the VALUE column of SPLIT_TO_TABLE — which SYSTEM$TYPEOF spells as the bare wordVARCHARwhile a table built over it declares the full-width VARCHAR(16777216) (live-verified).The structuredMAP(keyType, valueType)type.The NUMBER(precision, scale) Snowflake gives a numeric LITERAL.How Snowflake SPELLS a type back: the canonical name with its parameters, never the alias a column was declared with.How WIDE the string a function returns is declared to be.A STRUCTURED array type —ARRAY(INT)— as opposed to the plain semi-structuredArrayType.One declared field of a structuredOBJECT(name type [NOT NULL], ...)type.A STRUCTURED object type —OBJECT(x VARCHAR, y NUMBER)— as opposed to the plain semi-structuredObjectType.Predicates and rendering shared by the STRUCTURED types (StructuredObjectType,StructuredArrayType,MapType).Which timestamp flavour a FUNCTION NAME asks for.Type category enum - represents the category of a data typeSnowflake's UUID type: a 128-bit value held and shown as its canonical lower-case text,1b4e28ba-2fa1-11d2-883f-0016d3cca427.The element type of aVectorType— the two spellings Snowflake allows inVECTOR(FLOAT, n)/VECTOR(INT, n).Snowflake'sVECTOR(element_type, dimension)type; values areVectorValue.