Uses of Class
dev.frostlake.functions.TextArgumentFunction

Packages that use TextArgumentFunction
Package
Description
 
  • Uses of TextArgumentFunction in dev.frostlake.functions.scalar.string

    Modifier and Type
    Class
    Description
    class 
     
    class 
     
    class 
     
    class 
    CHARINDEX(needle, haystack [, start]) — POSITION's argument order; BINARY pairs search by BYTE.
    class 
     
    class 
     
    class 
     
    class 
     
    class 
     
    class 
     
    class 
     
    class 
    INSERT(base, position, length, insertion).
    class 
    JAROWINKLER_SIMILARITY(string1, string2) — the Jaro-Winkler similarity of the two strings scaled to an integer 0–100 (0 = no similarity, 100 = exact match), matching Snowflake.
    class 
    LEFT(expr, n) — the leading n characters of a VARCHAR, or the leading n BYTES of a BINARY.
    class 
     
    class 
     
    class 
     
    class 
    LPAD(expr, len [, pad]) — a VARCHAR padded to len characters, or a BINARY padded to len BYTES.
    class 
     
    class 
    NORMALIZE(x, lo, hi) — Snowflake's min-max normalization (x - lo) / (hi - lo), NOT Unicode normalization (live-verified: NORMALIZE(5, 0, 10) is 0.5).
    class 
     
    class 
    PARSE_IP(ip_address, type [, permissive]) — parses an IPv4/IPv6 address (optionally in CIDR addr/prefix form) into a VARIANT OBJECT, matching Snowflake.
    class 
    PARSE_URL(url [, permissive]) — parses a URL into a VARIANT OBJECT with Snowflake's keys, in ALPHABETICAL order (live-verified): fragment, host, parameters, path, port, query, scheme.
    class 
    POSITION(needle, haystack [, start]) — the 1-based position of needle, or 0 when absent.
    class 
    RANDSTR(length, generator) — a deterministic random alphanumeric string seeded by the generator.
    class 
    REGEXP_COUNT(subject, pattern [, position [, parameters]]) — the number of matches of pattern at or after position (1-based, default 1).
    class 
    REGEXP_INSTR(subject, pattern [, position [, occurrence [, option [, parameters [, group_num]]]]]) — the 1-based position of the occurrence-th match (default 1) at or after position (default 1), or 0 when there is none.
    class 
    REGEXP_LIKE(subject, pattern [, parameters]) — TRUE when pattern matches the ENTIRE subject (implicitly anchored, as in Snowflake).
    class 
    REGEXP_REPLACE(subject, pattern [, replacement [, position [, occurrence [, parameters]]]]) — replace matches of pattern with replacement.
    class 
    REGEXP_SUBSTR(subject, pattern [, position [, occurrence [, parameters [, group_num]]]]) — the occurrence-th match (default 1) at or after position (1-based, default 1).
    class 
    REGEXP_SUBSTR_ALL(subject, pattern [, position [, occurrence [, parameters [, group_num]]]]) — returns a VARIANT ARRAY with an element for every match at or after position (1-based, default 1), starting from the occurrence-th match (default 1).
    class 
    REPEAT(s, n): the string n times over, NULL when either argument is NULL.
    class 
     
    class 
    REVERSE(expr) — a VARCHAR reversed by characters, or a BINARY reversed by BYTES.
    class 
    RIGHT(expr, n) — the trailing n characters of a VARCHAR, or the trailing n BYTES of a BINARY.
    class 
    RPAD(expr, len [, pad]) — a VARCHAR padded to len characters, or a BINARY padded to len BYTES.
    class 
     
    class 
    RTRIMMED_LENGTH(s) — the length of the string without trailing blanks.
    class 
     
    class 
    SPACE(n): n blanks.
    class 
    SPLIT(string, delimiter) — splits string on the literal delimiter into an ARRAY of substrings (rendered as a JSON array, the engine's VARIANT representation).
    class 
     
    class 
     
    class 
     
    class 
    STRTOK_TO_ARRAY(string [, delimiters]) — tokenizes string on any character in delimiters (each character is its own delimiter; the default is a single space) and returns a VARIANT ARRAY of the non-empty tokens.
    class 
    SUBSTRING(expr, start [, length]) — a slice of a VARCHAR by characters or of a BINARY by BYTES.
    class 
     
    class 
     
    class 
    TRY_PARSE_IP — PARSE_IP that returns NULL instead of erroring on invalid input.
    class 
    TRY_VALIDATE_UTF8(x) — the input as a string when its bytes are valid UTF-8, else NULL.
    class 
     
    class 
     
    class 
    VALIDATE_UTF8(x) — the input as a string when its bytes are valid UTF-8.