Class StagedFile
java.lang.Object
dev.frostlake.functions.scalar.file.StagedFile
A stage reference resolved to a concrete file: where it lives on disk, plus the two descriptor
fields that identify it inside its stage.
getStage() is the canonical display Snowflake puts in a FILE descriptor's STAGE
field, measured live: a named stage renders fully qualified and upper-cased
(@PROBE_DB.S.SSE) however it was written at the call site, the user stage renders
@"~", and a table stage renders just the bare table name (@TSTG) with no database or
schema. getRelativePath() is the path within the stage with no leading slash, and it keeps
its sub-directories (sub/nested.txt, p135/hello.txt).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StagedFile
-
-
Method Details
-
getPath
Where the staged file actually lives on this machine. -
getStage
The descriptor'sSTAGEfield, e.g.@DB.SCHEMA.NAME. -
getRelativePath
The descriptor'sRELATIVE_PATHfield, e.g.sub/nested.txt.
-