Packages

object QueryRunner extends App

The QueryRunner object provides a command prompt for querying a database. Commands and their usage:

  1. 'prefix package' - set the package prefix for convenience, e.g., scalation.columnar.db 2. 'create createTable' - execute the create table(s) statement, e.g., CreateTable1 3. 'load table' - load the table 4. 'save table' - save the table 5. 'query queryStat' - execute the compiled query statement, e.g., Query1 6. 'test queryStat' - perfoamnce test the complier query statement 7. 'update updateStmt' - execute the compiled update statement, e.g., Update1 8. 'show table' - show the contents of the table 9. 'help' - list the commands 10. 'quit' - quit the current QueryRunner session

> runMain scalation.columnar_db.QueryRunner

Linear Supertypes
App, DelayedInit, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryRunner
  2. App
  3. DelayedInit
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final val executionStart: Long
    Definition Classes
    App
  2. def help(): Unit

    Print the QueryRunner commands.

  3. def loadStatement(name: String): Query

    Load the compiled statement (query or update).

    Load the compiled statement (query or update).

    name

    the name of the compile query/update

  4. final def main(args: Array[String]): Unit
    Definition Classes
    App
  5. var prefix: String
  6. var running: Boolean
  7. var scanner: Scanner

Deprecated Value Members

  1. def delayedInit(body: => Unit): Unit
    Definition Classes
    App → DelayedInit
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) the delayedInit mechanism will disappear