Packages

c

ai.eto.rikai.sql.model

SparkUDFModel

class SparkUDFModel extends Model with SparkRunnable

A Model that can be turned into a Spark UDF.

Linear Supertypes
SparkRunnable, Model, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparkUDFModel
  2. SparkRunnable
  3. Model
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SparkUDFModel(name: String, spec_uri: String, funcName: String, flavor: String)
  2. new SparkUDFModel(name: String, spec_uri: String, funcName: String)
  3. new SparkUDFModel(name: String, spec_uri: String, funcName: String, flavor: Option[String])

    name

    model name.

    spec_uri

    the model uri.

    funcName

    the name of a UDF which will be called when this model is invoked.

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. def asSpark(args: Seq[Expression]): Expression

    Convert a Model to a Spark Expression in Spark SQL's logical plan.

    Convert a Model to a Spark Expression in Spark SQL's logical plan.

    Definition Classes
    SparkUDFModelSparkRunnable
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. val flavor: Option[String]

    Flavor of the model

    Flavor of the model

    Definition Classes
    SparkUDFModelModel
  11. val funcName: String
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def javaOptions: Map[String, String]

    Return options as java Map, so that it is easily accessible in Python via py4j.

    Return options as java Map, so that it is easily accessible in Python via py4j.

    Definition Classes
    Model
  16. val name: String

    Model Name

    Model Name

    Definition Classes
    SparkUDFModelModel
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. val options: Map[String, String]

    Model Options.

    Model Options.

    Definition Classes
    Model
  21. val spec_uri: String

    Model URI in the registry

    Model URI in the registry

    Definition Classes
    SparkUDFModelModel
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    SparkUDFModel → AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  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()

Inherited from SparkRunnable

Inherited from Model

Inherited from AnyRef

Inherited from Any

Ungrouped