Package com.arcadedb.console
Class Console
- java.lang.Object
-
- com.arcadedb.console.Console
-
public class Console extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected long
currentOperationsInBatch
-
Constructor Summary
Constructors Constructor Description Console()
Console(DatabaseInternal database)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
static void
execute(String[] args)
BasicDatabase
getDatabase()
void
interactiveMode()
static void
main(String[] args)
boolean
parse(String line)
boolean
parse(String line, boolean printCommand)
void
setOutput(ConsoleOutput output)
-
-
-
Constructor Detail
-
Console
public Console(DatabaseInternal database) throws IOException
- Throws:
IOException
-
Console
public Console() throws IOException
- Throws:
IOException
-
-
Method Detail
-
interactiveMode
public void interactiveMode() throws IOException
- Throws:
IOException
-
main
public static void main(String[] args) throws IOException
- Throws:
IOException
-
execute
public static void execute(String[] args) throws IOException
- Throws:
IOException
-
close
public void close()
-
setOutput
public void setOutput(ConsoleOutput output)
-
getDatabase
public BasicDatabase getDatabase()
-
parse
public boolean parse(String line) throws IOException
- Throws:
IOException
-
parse
public boolean parse(String line, boolean printCommand) throws IOException
- Throws:
IOException
-
-