Modifier and Type | Method and Description |
---|---|
static GcsStager |
fromOptions(PipelineOptions options) |
java.util.List<DataflowPackage> |
stageFiles(java.util.List<PackageUtil.StagedFile> filesToStage)
Stages files to
DataflowPipelineOptions.getStagingLocation() , suffixed with their md5
hash to avoid collisions. |
DataflowPackage |
stageToFile(byte[] bytes,
java.lang.String baseName)
Stage bytes to a target file name wherever this stager stages things.
|
public static GcsStager fromOptions(PipelineOptions options)
public java.util.List<DataflowPackage> stageFiles(java.util.List<PackageUtil.StagedFile> filesToStage)
DataflowPipelineOptions.getStagingLocation()
, suffixed with their md5
hash to avoid collisions.
stageFiles
in interface Stager
public DataflowPackage stageToFile(byte[] bytes, java.lang.String baseName)
Stager
stageToFile
in interface Stager