Package net.snowflake.ingest.utils
Class StagedFileWrapper
- java.lang.Object
-
- net.snowflake.ingest.utils.StagedFileWrapper
-
public class StagedFileWrapper extends Object
RemoteFileWrapper for a file path in the target stage as well as an optional size- Author:
- obabarinsa
-
-
Constructor Summary
Constructors Constructor Description StagedFileWrapper(String filepath)StagedFileWrapper - just setting the path without a sizeStagedFileWrapper(String filepath, Long filesize)StagedFileWrapper - just wraps the path of a file and its size for serialization
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPath()getPath - returns the path of this fileLonggetSize()getSize - get the size of this file
-
-
-
Constructor Detail
-
StagedFileWrapper
public StagedFileWrapper(String filepath, Long filesize)
StagedFileWrapper - just wraps the path of a file and its size for serialization- Parameters:
filepath- the filepath for this filefilesize- the size of this file
-
StagedFileWrapper
public StagedFileWrapper(String filepath)
StagedFileWrapper - just setting the path without a size- Parameters:
filepath- the filepath for this file
-
-