Class GcsStager
java.lang.Object
org.apache.beam.runners.dataflow.util.GcsStager
- All Implemented Interfaces:
Stager
Utility class for staging files to GCS.
-
Method Summary
Modifier and TypeMethodDescriptionstatic GcsStagerfromOptions(PipelineOptions options) stageFiles(List<PackageUtil.StagedFile> filesToStage) Stages files toDataflowPipelineOptions.getStagingLocation(), suffixed with their md5 hash to avoid collisions.stageToFile(byte[] bytes, String baseName) Stage bytes to a target file name wherever this stager stages things.
-
Method Details
-
fromOptions
-
stageFiles
Stages files toDataflowPipelineOptions.getStagingLocation(), suffixed with their md5 hash to avoid collisions.- Specified by:
stageFilesin interfaceStager
-
stageToFile
Description copied from interface:StagerStage bytes to a target file name wherever this stager stages things.- Specified by:
stageToFilein interfaceStager
-