public class DagUtils extends Object
| Constructor and Description |
|---|
DagUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertDagToYaml(WorkflowDag dag)
Converts
WorkflowDag to a YAML representation. |
static WorkflowDag |
convertYamlPathToDag(org.apache.hadoop.fs.FileSystem fs,
String path)
Converts a YAML path to
WorkflowDag. |
static WorkflowDag |
convertYamlToDag(String yaml)
Converts a YAML representation to
WorkflowDag. |
static String |
toString(InputStream inputStream) |
public static WorkflowDag convertYamlPathToDag(org.apache.hadoop.fs.FileSystem fs, String path) throws IOException
WorkflowDag.IOExceptionpublic static WorkflowDag convertYamlToDag(String yaml) throws IOException
WorkflowDag.IOExceptionpublic static String convertDagToYaml(WorkflowDag dag) throws IOException
WorkflowDag to a YAML representation.IOExceptionpublic static String toString(InputStream inputStream) throws IOException
IOExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.