Package

com.silectis

magpie

Permalink

package magpie

Core Magpie functionality. The main entry point is com.silectis.magpie.MagpieContext, which provides the ability to run commands, execute SQL, and more. It is available as mc in scala script tasks and scala notebook blocks.

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

Type Members

  1. final class MagpieContext extends LegacyVariableContext

    Permalink

    Main entry point for Magpie functionality.

    Main entry point for Magpie functionality. The MagpieContext is used to execute commands, run SQL queries, get data frames for Magpie tables, and more.

    Available as mc in scala script tasks and scala notebook blocks.

    Example usage:

    val flavors = Seq("apple", "banana", "strawberry")
    
    flavors.foreach { f =>
      mc.sql(s"select * from store_sales where flavor = '$f'")
      mc.exec(s"save result as table ${f}_sales")
    }
  2. class MagpieException extends RuntimeException

    Permalink

    An exception thrown by magpie.

  3. case class MagpieInfo(name: String, instance: String, version: String, user: Option[String], organization: Option[String], cluster: Option[String], repository: Option[String], schema: Option[String], project: Option[String]) extends Product with Serializable

    Permalink

    Information about a Magpie session

    Information about a Magpie session

    name

    name of the application (Magpie)

    instance

    cluster instance name

    version

    application version

    user

    current user name, if set

    organization

    current organization name, if set

    cluster

    current cluster name, if set

    repository

    current repository name, if set

    schema

    current schema name, if set

    project

    current project name, if set

Value Members

  1. package metadata

    Permalink
  2. package notebook

    Permalink
  3. package parsing

    Permalink
  4. package runtime

    Permalink
  5. package security

    Permalink
  6. package service

    Permalink
  7. package validation

    Permalink
  8. package workspace

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped