object QueryRunner extends App
The QueryRunner
object provides a command prompt for querying a database.
Commands and their usage:
- '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
Ordering
- Alphabetic
- By Inheritance
Inherited
- QueryRunner
- App
- DelayedInit
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final val executionStart: Long
- Definition Classes
- App
- def help(): Unit
Print the
QueryRunner
commands. - 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
- final def main(args: Array[String]): Unit
- Definition Classes
- App
- var prefix: String
- var running: Boolean
- var scanner: Scanner
Deprecated Value Members
- def delayedInit(body: => Unit): Unit
- Definition Classes
- App → DelayedInit
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) the delayedInit mechanism will disappear