Package org.apache.beam.sdk.io
Class LocalResources
java.lang.Object
org.apache.beam.sdk.io.LocalResources
Helper functions for producing a
ResourceId
that references a local file or directory.-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceId
static ResourceId
static ResourceId
fromString
(String filename, boolean isDirectory) static ValueProvider
<ResourceId> fromString
(ValueProvider<String> resourceProvider, boolean isDirectory)
-
Method Details
-
fromFile
-
fromPath
-
fromString
-
fromString
public static ValueProvider<ResourceId> fromString(ValueProvider<String> resourceProvider, boolean isDirectory)
-