Package dev.frostlake.types


package dev.frostlake.types
  • Class
    Description
     
    The BINARY family.
    How a BINARY's width is spelled where the plan names the type — SYSTEM$TYPEOF and 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_type cell.
     
     
    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 as GeoValue.
    The GEOMETRY column type: planar (cartesian, default SRID 0) geospatial values carried as GeoValue.
    The GEOSPATIAL type predicate shared by the strict-argument rules: GeographyType and GeometryType are 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 word VARCHAR while a table built over it declares the full-width VARCHAR(16777216) (live-verified).
    The structured MAP(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-structured ArrayType.
    One declared field of a structured OBJECT(name type [NOT NULL], ...) type.
    A STRUCTURED object type — OBJECT(x VARCHAR, y NUMBER) — as opposed to the plain semi-structured ObjectType.
    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 type
    Snowflake'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 a VectorType — the two spellings Snowflake allows in VECTOR(FLOAT, n) / VECTOR(INT, n).
    Snowflake's VECTOR(element_type, dimension) type; values are VectorValue.