Packages

case class ScalaClassSnowparkDfTransformer(name: String = "scalaSparkTransform", description: Option[String] = None, className: String, options: Map[String, String] = Map(), runtimeOptions: Map[String, String] = Map()) extends OptionsGenericDfTransformer with Product with Serializable

Configuration of a custom Snowpark-DataFrame transformation between one input and one output (1:1) as Java/Scala Class. Define a transform function which receives a DataObjectId, a DataFrame and a map of options and has to return a DataFrame. The Java/Scala class has to implement interface CustomSnowparkDfTransformer.

name

name of the transformer

description

Optional description of the transformer

className

class name implementing trait CustomSnowparkDfTransformer

options

Options to pass to the transformation

runtimeOptions

optional tuples of [key, spark sql expression] to be added as additional options when executing transformation. The spark sql expressions are evaluated against an instance of DefaultExpressionData.

Annotations
@Scaladoc()
Linear Supertypes
Serializable, Serializable, Product, Equals, OptionsGenericDfTransformer, GenericDfTransformer, ConfigHolder, ParsableFromConfig[GenericDfTransformer], GenericDfTransformerDef, PartitionValueTransformer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaClassSnowparkDfTransformer
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. OptionsGenericDfTransformer
  7. GenericDfTransformer
  8. ConfigHolder
  9. ParsableFromConfig
  10. GenericDfTransformerDef
  11. PartitionValueTransformer
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalaClassSnowparkDfTransformer(name: String = "scalaSparkTransform", description: Option[String] = None, className: String, options: Map[String, String] = Map(), runtimeOptions: Map[String, String] = Map())

    name

    name of the transformer

    description

    Optional description of the transformer

    className

    class name implementing trait CustomSnowparkDfTransformer

    options

    Options to pass to the transformation

    runtimeOptions

    optional tuples of [key, spark sql expression] to be added as additional options when executing transformation. The spark sql expressions are evaluated against an instance of DefaultExpressionData.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val className: String
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. val description: Option[String]
    Definition Classes
    ScalaClassSnowparkDfTransformer → GenericDfTransformerDef
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def factory: FromConfigFactory[GenericDfTransformer]
    Definition Classes
    ScalaClassSnowparkDfTransformer → ParsableFromConfig
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def getSubFeedSupportedType: scala.reflect.api.JavaUniverse.Type
    Definition Classes
    ScalaClassSnowparkDfTransformer → GenericDfTransformerDef
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val name: String
    Definition Classes
    ScalaClassSnowparkDfTransformer → GenericDfTransformerDef
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. val options: Map[String, String]
    Definition Classes
    ScalaClassSnowparkDfTransformer → OptionsGenericDfTransformer
  18. def prepare(actionId: ActionId)(implicit context: ActionPipelineContext): Unit
    Definition Classes
    GenericDfTransformerDef
    Annotations
    @Scaladoc()
  19. val runtimeOptions: Map[String, String]
    Definition Classes
    ScalaClassSnowparkDfTransformer → OptionsGenericDfTransformer
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. final def transform(actionId: ActionId, partitionValues: Seq[PartitionValues], df: GenericDataFrame, dataObjectId: DataObjectId, previousTransformerName: Option[String], executionModeResultOptions: Map[String, String])(implicit context: ActionPipelineContext): GenericDataFrame
    Definition Classes
    OptionsGenericDfTransformer → GenericDfTransformerDef
  22. final def transformPartitionValues(actionId: ActionId, partitionValues: Seq[PartitionValues], executionModeResultOptions: Map[String, String])(implicit context: ActionPipelineContext): Option[Map[PartitionValues, PartitionValues]]
    Definition Classes
    OptionsGenericDfTransformer → PartitionValueTransformer
  23. def transformPartitionValuesWithOptions(actionId: ActionId, partitionValues: Seq[PartitionValues], options: Map[String, String])(implicit context: ActionPipelineContext): Option[Map[PartitionValues, PartitionValues]]
    Definition Classes
    ScalaClassSnowparkDfTransformer → OptionsGenericDfTransformer
  24. def transformWithOptions(actionId: ActionId, partitionValues: Seq[PartitionValues], df: GenericDataFrame, dataObjectId: DataObjectId, options: Map[String, String])(implicit context: ActionPipelineContext): GenericDataFrame
    Definition Classes
    ScalaClassSnowparkDfTransformer → OptionsGenericDfTransformer
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from OptionsGenericDfTransformer

Inherited from GenericDfTransformer

Inherited from ConfigHolder

Inherited from ParsableFromConfig[GenericDfTransformer]

Inherited from GenericDfTransformerDef

Inherited from PartitionValueTransformer

Inherited from AnyRef

Inherited from Any

Ungrouped