Package com.mckoi.runtime
Class McKoiDBMain
- java.lang.Object
-
- com.mckoi.runtime.McKoiDBMain
-
public class McKoiDBMain extends java.lang.Object
The start point of the Mckoi SQL database server. This application is used as a command-line tool for creating and booting a database.
-
-
Constructor Summary
Constructors Constructor Description McKoiDBMain()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static void
doBoot(DBConfig conf)
Performs the boot command.private static void
doCreate(java.lang.String database_name, java.lang.String username, java.lang.String password, DBConfig config)
Performs the create command.private static void
doShutDown(java.lang.String host, java.lang.String port, java.lang.String username, java.lang.String password)
Performs the shutdown command.static void
main(java.lang.String[] args)
The McKoi Database application starting point.private static void
printSyntax()
Print the syntax.
-
-
-
Method Detail
-
printSyntax
private static void printSyntax()
Print the syntax.
-
doCreate
private static void doCreate(java.lang.String database_name, java.lang.String username, java.lang.String password, DBConfig config)
Performs the create command.
-
doShutDown
private static void doShutDown(java.lang.String host, java.lang.String port, java.lang.String username, java.lang.String password)
Performs the shutdown command.
-
doBoot
private static void doBoot(DBConfig conf)
Performs the boot command.
-
main
public static void main(java.lang.String[] args)
The McKoi Database application starting point.
-
-