Search in sources :

Example 1 with FieldLineageTable

use of io.cdap.cdap.data2.metadata.lineage.field.FieldLineageTable in project cdap by caskdata.

the class BasicLineageWriter method write.

@Override
public void write(ProgramRunId programRunId, FieldLineageInfo info) {
    TransactionRunners.run(transactionRunner, context -> {
        FieldLineageTable fieldLineageTable = FieldLineageTable.create(context);
        fieldLineageTable.addFieldLineageInfo(programRunId, info);
    });
}
Also used : FieldLineageTable(io.cdap.cdap.data2.metadata.lineage.field.FieldLineageTable)

Aggregations

FieldLineageTable (io.cdap.cdap.data2.metadata.lineage.field.FieldLineageTable)1