Class RedshiftSaveIntoDataSourceCommandBuilder

java.lang.Object
scala.runtime.AbstractPartialFunction<T,Collection<F>>
io.openlineage.spark.api.AbstractQueryPlanDatasetBuilder<org.apache.spark.scheduler.SparkListenerEvent,org.apache.spark.sql.execution.datasources.SaveIntoDataSourceCommand,io.openlineage.client.OpenLineage.OutputDataset>
io.openlineage.spark.agent.vendor.redshift.lifecycle.plan.RedshiftSaveIntoDataSourceCommandBuilder
All Implemented Interfaces:
scala.Function1<org.apache.spark.scheduler.SparkListenerEvent,Collection<io.openlineage.client.OpenLineage.OutputDataset>>, scala.PartialFunction<org.apache.spark.scheduler.SparkListenerEvent,Collection<io.openlineage.client.OpenLineage.OutputDataset>>

public class RedshiftSaveIntoDataSourceCommandBuilder extends io.openlineage.spark.api.AbstractQueryPlanDatasetBuilder<org.apache.spark.scheduler.SparkListenerEvent,org.apache.spark.sql.execution.datasources.SaveIntoDataSourceCommand,io.openlineage.client.OpenLineage.OutputDataset>
  • Field Summary

    Fields inherited from class io.openlineage.spark.api.AbstractQueryPlanDatasetBuilder

    context, searchDependencies
  • Constructor Summary

    Constructors
    Constructor
    Description
    RedshiftSaveIntoDataSourceCommandBuilder(io.openlineage.spark.api.OpenLineageContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<io.openlineage.client.OpenLineage.OutputDataset>
    apply(org.apache.spark.sql.execution.datasources.SaveIntoDataSourceCommand command)
     
    boolean
    isDefinedAt(org.apache.spark.scheduler.SparkListenerEvent arg0)
     
    static boolean
    isRedshiftSource(org.apache.spark.sql.sources.CreatableRelationProvider provider)
     

    Methods inherited from class io.openlineage.spark.api.AbstractQueryPlanDatasetBuilder

    apply, apply, asQueryPlanVisitor, delegate, inputDataset, isDefinedAtLogicalPlan, outputDataset

    Methods inherited from class scala.runtime.AbstractPartialFunction

    andThen, apply$mcDD$sp, apply$mcDF$sp, apply$mcDI$sp, apply$mcDJ$sp, apply$mcFD$sp, apply$mcFF$sp, apply$mcFI$sp, apply$mcFJ$sp, apply$mcID$sp, apply$mcIF$sp, apply$mcII$sp, apply$mcIJ$sp, apply$mcJD$sp, apply$mcJF$sp, apply$mcJI$sp, apply$mcJJ$sp, apply$mcVD$sp, apply$mcVF$sp, apply$mcVI$sp, apply$mcVJ$sp, apply$mcZD$sp, apply$mcZF$sp, apply$mcZI$sp, apply$mcZJ$sp, applyOrElse, compose, lift, orElse, runWith, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • RedshiftSaveIntoDataSourceCommandBuilder

      public RedshiftSaveIntoDataSourceCommandBuilder(io.openlineage.spark.api.OpenLineageContext context)
  • Method Details

    • apply

      public List<io.openlineage.client.OpenLineage.OutputDataset> apply(org.apache.spark.sql.execution.datasources.SaveIntoDataSourceCommand command)
      Specified by:
      apply in class io.openlineage.spark.api.AbstractQueryPlanDatasetBuilder<org.apache.spark.scheduler.SparkListenerEvent,org.apache.spark.sql.execution.datasources.SaveIntoDataSourceCommand,io.openlineage.client.OpenLineage.OutputDataset>
    • isRedshiftSource

      public static boolean isRedshiftSource(org.apache.spark.sql.sources.CreatableRelationProvider provider)
    • isDefinedAt

      public boolean isDefinedAt(org.apache.spark.scheduler.SparkListenerEvent arg0)
      Specified by:
      isDefinedAt in interface scala.PartialFunction<T extends Object,F extends Object>