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:
fileName
is the relative path to the file on the stage. For example, if you download `@myStage/prefix1/file1.csv.gz`,fileName
is `prefix1/file1.csv.gz`.- Since:
- 1.2.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEncryption()
Retrieves the encryption statusString
getFileName()
Retrieves the file nameString
getMessage()
Retrieves the messagelong
getSizeBytes()
Retrieves the file size in bytesString
getStatus()
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
-
-