All Downloads are FREE. Search and download functionalities are using the official Maven repository.

datahub.spark.model.dataset.SparkDataset Maven / Gradle / Ivy

There is a newer version: 0.14.1-12rc3
Show newest version
package datahub.spark.model.dataset;

import com.linkedin.common.FabricType;
import com.linkedin.common.urn.DatasetUrn;
import datahub.spark.model.LineageUtils;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode
public abstract class SparkDataset {

  private DatasetUrn urn;

  public SparkDataset(
      String platform, String platformInstance, String name, FabricType fabricType) {
    super();
    this.urn = LineageUtils.createDatasetUrn(platform, platformInstance, name, fabricType);
  }

  public DatasetUrn urn() {
    return urn;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy