Packages

  • package root
    Definition Classes
    root
  • package ai
    Definition Classes
    root
  • package eto
    Definition Classes
    ai
  • package rikai
    Definition Classes
    eto
  • package sql

    Rikai SQL-ML extension.

    Rikai SQL-ML extension.

    Rikai offers DDL to manipulate ML Models:

    CREATE MODEL model_name
    [ OPTIONS (key=value, key=value, ...) ]
    [ AS "model_registry_uri" ]
    
    # List all registered models.
    SHOW MODELS
    
    # Describe the details of a model.
    (DESC | DESCRIBE) MODEL model_name
    
    # Drop a Model
    DROP MODEL model_name

    A ML_PREDICT function is implemented to run model inference.

    SELECT id, ML_PREDICT(model_name, col1, col2, col3) as predicted FROM table
    Definition Classes
    rikai
  • package model
    Definition Classes
    sql
  • package mlflow

    MLflow-based Models.

    MLflow-based Models.

    It supports the following URIs.

    • mlflow://<runid>
    • mlflow://<model> (latest version without a stage designation)
    • mlflow://<model>/<stage> (latest version for given stage)
    • mlflow://<model>/<version> (get the particular version of the registered model)
    Definition Classes
    model
  • MlflowCatalog
  • MlflowClientExt
  • MlflowRegistry

class MlflowCatalog extends Catalog

Use MLflow as a persisted backend for Model Catalog

Linear Supertypes
Catalog, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MlflowCatalog
  2. Catalog
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MlflowCatalog(conf: SparkConf)

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. val conf: SparkConf
  7. 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
    MlflowCatalogCatalog
  8. 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
    MlflowCatalogCatalog
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getModel(name: String): 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
    MlflowCatalogCatalog
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def listModels(): Seq[Model]

    Return a list of models available for all Sessions

    Return a list of models available for all Sessions

    Definition Classes
    MlflowCatalogCatalog
  17. 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
    MlflowCatalogCatalog
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Catalog

Inherited from AnyRef

Inherited from Any

Ungrouped