public class FileSetArguments extends Object
Modifier and Type | Field and Description |
---|---|
static String |
INPUT_PATHS
The paths of the files to be read.
|
static String |
OUTPUT_PATH
The path of the file to write.
|
Constructor and Description |
---|
FileSetArguments() |
Modifier and Type | Method and Description |
---|---|
static void |
addInputPath(Map<String,String> arguments,
String path)
Add an input path in the runtime arguments for a file dataset.
|
static Collection<String> |
getInputPaths(Map<String,String> arguments) |
static String |
getOutputPath(Map<String,String> arguments) |
static boolean |
isBaseOutputPath(Map<String,String> arguments) |
static void |
setBaseOutputPath(Map<String,String> arguments)
Sets the baseLocation of the file dataset as the output location in the runtime arguments for a
file dataset.
|
static void |
setInputPath(Map<String,String> arguments,
String path)
Sets the input path in the runtime arguments for a file dataset.
|
static void |
setInputPaths(Map<String,String> arguments,
Collection<String> paths)
Sets multiple input paths in the runtime arguments for a file dataset.
|
static void |
setInputPaths(Map<String,String> arguments,
String paths)
Sets multiple input paths in the runtime arguments for a file dataset.
|
static void |
setOutputPath(Map<String,String> arguments,
String path)
Sets the output path in the runtime arguments for a file dataset.
|
public static final String INPUT_PATHS
public static final String OUTPUT_PATH
public static void setInputPath(Map<String,String> arguments, String path)
public static void setInputPaths(Map<String,String> arguments, String paths)
paths
- A comma-separated sequence of pathspublic static void setInputPaths(Map<String,String> arguments, Collection<String> paths)
public static void addInputPath(Map<String,String> arguments, String path)
public static void setBaseOutputPath(Map<String,String> arguments)
public static boolean isBaseOutputPath(Map<String,String> arguments)
public static void setOutputPath(Map<String,String> arguments, String path)
public static String getOutputPath(Map<String,String> arguments)
public static Collection<String> getInputPaths(Map<String,String> arguments)
Copyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.