class SparkUDFModel extends Model with SparkRunnable
A Model that can be turned into a Spark UDF.
- Alphabetic
- By Inheritance
- SparkUDFModel
- SparkRunnable
- Model
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SparkUDFModel(name: String, spec_uri: String, funcName: String, flavor: String)
- new SparkUDFModel(name: String, spec_uri: String, funcName: String)
-
new
SparkUDFModel(name: String, spec_uri: String, funcName: String, flavor: Option[String], preFuncName: Option[String] = None, postFuncName: Option[String] = None)
- 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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
- SparkUDFModel → SparkRunnable
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
val
flavor: Option[String]
Flavor of the model
Flavor of the model
- Definition Classes
- SparkUDFModel → Model
- val funcName: String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
val
name: String
Model Name
Model Name
- Definition Classes
- SparkUDFModel → Model
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
options: Map[String, String]
Model Options.
Model Options.
- Definition Classes
- Model
- val postFuncName: Option[String]
- val preFuncName: Option[String]
-
val
spec_uri: String
Model URI in the registry
Model URI in the registry
- Definition Classes
- SparkUDFModel → Model
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- SparkUDFModel → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()