class SimpleCatalog extends Catalog
A Simple Catalog in memory. Used for local testing only.
- Alphabetic
- By Inheritance
- SimpleCatalog
- Catalog
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SimpleCatalog(session: SparkSession)
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 clear(): Unit
Clear the catalog.
Clear the catalog. Used in tests.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def createModel(model: Model): Model
Create a ML Model that can be used in SQL ML in the current database.
Create a ML Model that can be used in SQL ML in the current database.
- Definition Classes
- SimpleCatalog → Catalog
- def dropModel(name: String): Boolean
Drops a model with a specific name
Drops a model with a specific name
- name
the model name
- returns
true of the model is dropped successfully. False otherwise.
- Definition Classes
- SimpleCatalog → Catalog
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getModel(name: String, session: SparkSession): Option[Model]
Get the model with a specific name.
Get the model with a specific name.
- name
is a qualified name pointed to a Model.
- returns
the model
- Definition Classes
- SimpleCatalog → Catalog
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listModels(): Seq[Model]
Return a list of models available for all Sessions
Return a list of models available for all Sessions
- Definition Classes
- SimpleCatalog → Catalog
- def modelExists(name: String): Boolean
Check a model with the specified name exists.
Check a model with the specified name exists.
- name
is the name of the model.
- Definition Classes
- SimpleCatalog → Catalog
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()