Package com.snowflake.snowpark_java
Class GetResult
- java.lang.Object
-
- com.snowflake.snowpark_java.GetResult
-
public class GetResult extends Object
Represents the results of downloading a file from a stage location to the local file system.NOTE:
fileNameis the relative path to the file on the stage. For example, if you download `@myStage/prefix1/file1.csv.gz`,fileNameis `prefix1/file1.csv.gz`.- Since:
- 1.2.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEncryption()Retrieves the encryption statusStringgetFileName()Retrieves the file nameStringgetMessage()Retrieves the messagelonggetSizeBytes()Retrieves the file size in bytesStringgetStatus()Retrieves the file status
-
-
-
Method Detail
-
getFileName
public String getFileName()
Retrieves the file name- Returns:
- A String
- Since:
- 1.2.0
-
getSizeBytes
public long getSizeBytes()
Retrieves the file size in bytes- Returns:
- A long number
- Since:
- 1.2.0
-
getStatus
public String getStatus()
Retrieves the file status- Returns:
- A String
- Since:
- 1.2.0
-
getEncryption
public String getEncryption()
Retrieves the encryption status- Returns:
- A String
- Since:
- 1.2.0
-
getMessage
public String getMessage()
Retrieves the message- Returns:
- A String
- Since:
- 1.2.0
-
-