public class Commands extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
addlocaldriverjar(String line) |
boolean |
addlocaldrivername(String line) |
boolean |
all(String line) |
boolean |
autocommit(String line) |
boolean |
batch(String line) |
boolean |
brief(String line) |
boolean |
call(String line) |
boolean |
close(String line)
Close the current connection.
|
boolean |
closeall(String line)
Close all connections.
|
boolean |
columns(String line) |
boolean |
commit(String line) |
boolean |
config(String line) |
boolean |
connect(Properties props) |
boolean |
connect(String line) |
boolean |
dbinfo(String line) |
boolean |
describe(String line) |
boolean |
dropall(String line) |
boolean |
exportedkeys(String line) |
boolean |
go(String line) |
boolean |
help(String line) |
boolean |
history(String line) |
boolean |
importedkeys(String line) |
boolean |
indexes(String line) |
boolean |
isolation(String line) |
boolean |
list(String line)
List the current connections
|
boolean |
load(String line) |
boolean |
manual(String line) |
boolean |
metadata(String line) |
boolean |
metadata(String cmd,
String[] args) |
boolean |
nativesql(String sql) |
boolean |
outputformat(String line) |
boolean |
primarykeys(String line) |
boolean |
procedures(String line) |
boolean |
properties(String line)
Connect to the database defined in the specified properties file.
|
boolean |
quit(String line) |
boolean |
reconnect(String line) |
boolean |
record(String line)
Save or stop saving all output to a file.
|
boolean |
rehash(String line) |
boolean |
rollback(String line) |
boolean |
run(String line)
Run a script from the specified file.
|
boolean |
save(String line) |
boolean |
scan(String line) |
boolean |
script(String line)
Save or stop saving a script to a file
|
boolean |
set(String line) |
boolean |
sh(String line) |
boolean |
sql(String line) |
boolean |
sql(String line,
boolean entireLineAsCommand) |
boolean |
tables(String line) |
boolean |
typeinfo(String line) |
boolean |
verbose(String line) |
public boolean metadata(String line)
public boolean addlocaldrivername(String line)
public boolean addlocaldriverjar(String line)
public boolean history(String line)
public boolean dropall(String line)
public boolean reconnect(String line)
public boolean scan(String line) throws IOException
IOException
public boolean save(String line) throws IOException
IOException
public boolean load(String line) throws IOException
IOException
public boolean config(String line)
public boolean set(String line)
public boolean commit(String line) throws SQLException
SQLException
public boolean rollback(String line) throws SQLException
SQLException
public boolean autocommit(String line) throws SQLException
SQLException
public boolean dbinfo(String line)
public boolean verbose(String line)
public boolean outputformat(String line)
public boolean brief(String line)
public boolean isolation(String line) throws SQLException
SQLException
public boolean batch(String line)
public boolean sql(String line)
public boolean sql(String line, boolean entireLineAsCommand)
public boolean sh(String line)
public boolean call(String line)
public boolean quit(String line)
public boolean closeall(String line)
public boolean close(String line)
public boolean properties(String line) throws Exception
Exception
public boolean connect(Properties props) throws IOException
IOException
public boolean rehash(String line)
public boolean list(String line)
public boolean all(String line)
public boolean go(String line)
public boolean script(String line)
public boolean run(String line)
public boolean record(String line)
public boolean describe(String line) throws SQLException
SQLException
public boolean help(String line)
public boolean manual(String line) throws IOException
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.