Modifier and Type | Method and Description |
---|---|
static GcsStager |
fromOptions(PipelineOptions options) |
java.util.List<com.google.api.services.dataflow.model.DataflowPackage> |
stageDefaultFiles()
Stages
DataflowPipelineWorkerPoolOptions.getFilesToStage() , which defaults to every file on the
classpath unless overridden, as well as DataflowPipelineDebugOptions.getOverrideWindmillBinary() if specified. |
java.util.List<com.google.api.services.dataflow.model.DataflowPackage> |
stageFiles(java.util.List<java.lang.String> filesToStage)
Stages files to
DataflowPipelineOptions.getStagingLocation() , suffixed with their md5
hash to avoid collisions. |
com.google.api.services.dataflow.model.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<com.google.api.services.dataflow.model.DataflowPackage> stageDefaultFiles()
DataflowPipelineWorkerPoolOptions.getFilesToStage()
, which defaults to every file on the
classpath unless overridden, as well as DataflowPipelineDebugOptions.getOverrideWindmillBinary()
if specified.stageDefaultFiles
in interface Stager
stageFiles(List)
public java.util.List<com.google.api.services.dataflow.model.DataflowPackage> stageFiles(java.util.List<java.lang.String> filesToStage)
DataflowPipelineOptions.getStagingLocation()
, suffixed with their md5
hash to avoid collisions.
stageFiles
in interface Stager
public com.google.api.services.dataflow.model.DataflowPackage stageToFile(byte[] bytes, java.lang.String baseName)
Stager
stageToFile
in interface Stager