@Beta public final class Mutation extends Object implements Serializable
Mutation class represents a collection of relations which can be used to generate lineage for
a directive. It uses a UUID so that the name will be unique.
As this class is immutable, the constructor requires all the member variables to be presented for an instance of this object to be created.
The class has methods to retrieve thereadable text describing the transformation, and
relations to retrieve all the associations of source to targetsLineage,
Relation,
Many,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
Mutation.Builder
Builder to create Mutation.
|
| Modifier and Type | Method and Description |
|---|---|
static Mutation.Builder |
builder() |
String |
readable() |
List<Relation> |
relations() |
public String readable()
String version of the transformation to be included in lineage.public static Mutation.Builder builder()
Mutation.BuilderCopyright © 2022 CDAP Licensed under the Apache License, Version 2.0.