datahub.spark.model.dataset.CatalogTableDataset Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datahub-spark-lineage Show documentation
Show all versions of datahub-spark-lineage Show documentation
Library to push data lineage from spark to datahub
package datahub.spark.model.dataset;
import com.linkedin.common.FabricType;
import lombok.ToString;
import org.apache.spark.sql.catalyst.catalog.CatalogTable;
@ToString
public class CatalogTableDataset extends SparkDataset {
public CatalogTableDataset(
CatalogTable table, String platformInstance, String platform, FabricType fabricType) {
this(table.qualifiedName(), platformInstance, platform, fabricType);
}
public CatalogTableDataset(
String dsName, String platformInstance, String platform, FabricType fabricType) {
super(platform, platformInstance, dsName, fabricType);
}
}