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

datahub.spark.model.LineageEvent Maven / Gradle / Ivy

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

import datahub.event.MetadataChangeProposalWrapper;
import java.util.Date;
import java.util.List;
import lombok.Data;

@Data
public abstract class LineageEvent {
  private final String master;
  private final String appName;
  private final String appId;
  private final long time;

  public abstract List asMetadataEvents();

  public String timeStr() {
    return new Date(getTime()).toInstant().toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy