Package dev.frostlake.types
Class TimestampFlavours
java.lang.Object
dev.frostlake.types.TimestampFlavours
Which timestamp flavour a FUNCTION NAME asks for. Several conversions share one implementation but
not one declared type — live reports
TO_TIMESTAMP_LTZ(d) as TIMESTAMP_LTZ,
TIMESTAMP_TZ_FROM_PARTS(…) as TIMESTAMP_TZ, and the unsuffixed spellings as TIMESTAMP_NTZ —
so the registered name is what decides, not the shared code behind it.-
Method Summary
Modifier and TypeMethodDescriptionstatic DateTimeTypeforFunctionName(String functionName) The flavour a function of that name declares.
-
Method Details
-
forFunctionName
The flavour a function of that name declares.- Parameters:
functionName- the registered name- Returns:
- the timestamp type it reports
-