Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V 

A

AbstractCommandHandler - Class in sqlline
An abstract implementation of CommandHandler.
AbstractCommandHandler(SqlLine, String[], String, List<Completer>) - Constructor for class sqlline.AbstractCommandHandler
 
AbstractOutputFormat - Class in sqlline
Abstract OutputFormat.
AbstractOutputFormat(SqlLine) - Constructor for class sqlline.AbstractOutputFormat
 
addLine(String) - Method in class sqlline.OutputFile
 
all(String, DispatchCallback) - Method in class sqlline.Commands
 
appconfig(String, DispatchCallback) - Method in class sqlline.Commands
 
Application - Class in sqlline
Defines the configuration of a SQLLine application.
Application() - Constructor for class sqlline.Application
Creates an Application.
autocommit(String, DispatchCallback) - Method in class sqlline.Commands
 

B

batch(String, DispatchCallback) - Method in class sqlline.Commands
 
begin(String[], InputStream, boolean) - Method in class sqlline.SqlLine
Runs SQLLine, accepting input from the given input stream, dispatching it to the appropriate CommandHandler until the global variable exit is true.
brief(String, DispatchCallback) - Method in class sqlline.Commands
 

C

call(String, DispatchCallback) - Method in class sqlline.Commands
 
ClassNameCompleter - Class in sqlline
An implementation of Completer that completes java class names.
ClassNameCompleter() - Constructor for class sqlline.ClassNameCompleter
Completes candidates using all the classes available in the java CLASSPATH.
close(String, DispatchCallback) - Method in class sqlline.Commands
Closes the current connection.
close() - Method in class sqlline.OutputFile
 
closeall(String, DispatchCallback) - Method in class sqlline.Commands
Closes all connections.
columns(String, DispatchCallback) - Method in class sqlline.Commands
 
COMMAND_PREFIX - Static variable in class sqlline.SqlLine
 
CommandHandler - Interface in sqlline
A generic command to be executed.
commandhandler(String, DispatchCallback) - Method in class sqlline.Commands
 
Commands - Class in sqlline
Collection of available commands.
commit(String, DispatchCallback) - Method in class sqlline.Commands
 
complete(String, int, List<CharSequence>) - Method in class sqlline.SqlLineOpts
 
config(String, DispatchCallback) - Method in class sqlline.Commands
 
connect(String, DispatchCallback) - Method in class sqlline.Commands
 
connect(Properties, DispatchCallback) - Method in class sqlline.Commands
 

D

dbinfo(String, DispatchCallback) - Method in class sqlline.Commands
 
debug(String) - Method in class sqlline.SqlLine
 
DEFAULT - Static variable in class sqlline.SqlLineOpts
 
DEFAULT_APP_INFO_MESSAGE - Static variable in class sqlline.Application
 
DEFAULT_TRANSACTION_ISOLATION - Static variable in class sqlline.SqlLineOpts
 
describe(String, DispatchCallback) - Method in class sqlline.Commands
 
DispatchCallback - Class in sqlline
Callback.
DispatchCallback() - Constructor for class sqlline.DispatchCallback
 
DriverInfo - Class in sqlline
Description of a JDBC driver.
DriverInfo(String) - Constructor for class sqlline.DriverInfo
 
DriverInfo(Properties) - Constructor for class sqlline.DriverInfo
 
dropall(String, DispatchCallback) - Method in class sqlline.Commands
 

E

error(String) - Method in class sqlline.SqlLine
Issue the specified error message
error(Throwable) - Method in class sqlline.SqlLine
 
execute(String, DispatchCallback) - Method in interface sqlline.CommandHandler
Executes the specified command.
execute(String, DispatchCallback) - Method in class sqlline.ReflectiveCommandHandler
 
exportedkeys(String, DispatchCallback) - Method in class sqlline.Commands
 

F

forceKillSqlQuery() - Method in class sqlline.DispatchCallback
If a statement has been set by DispatchCallback.trackSqlQuery(java.sql.Statement) then calls Statement.cancel() on it.
fromProperties(Properties) - Method in class sqlline.DriverInfo
 

G

getAutoCommit() - Method in class sqlline.SqlLineOpts
 
getAutosave() - Method in class sqlline.SqlLineOpts
Deprecated.
getAutoSave() - Method in class sqlline.SqlLineOpts
 
getClassNames() - Static method in class sqlline.ClassNameCompleter
 
getColor() - Method in class sqlline.SqlLineOpts
 
getCommandCompleter() - Method in class sqlline.SqlLine
 
getCommandHandlers(SqlLine) - Method in class sqlline.Application
Override this method to modify supported commands.
getCommandHandlers() - Method in class sqlline.SqlLine
 
getConnectionUrlExamples() - Method in class sqlline.Application
Override this method to modify connection url examples.
getConsoleReader(InputStream, FileHistory) - Method in class sqlline.SqlLine
 
getCsvDelimiter() - Method in class sqlline.SqlLineOpts
 
getCsvQuoteCharacter() - Method in class sqlline.SqlLineOpts
 
getDateFormat() - Method in class sqlline.SqlLineOpts
 
getFastConnect() - Method in class sqlline.SqlLineOpts
 
getForce() - Method in class sqlline.SqlLineOpts
 
getHeaderInterval() - Method in class sqlline.SqlLineOpts
 
getHelpText() - Method in class sqlline.AbstractCommandHandler
 
getHelpText() - Method in interface sqlline.CommandHandler
 
getHistoryFile() - Method in class sqlline.SqlLineOpts
 
getIncremental() - Method in class sqlline.SqlLineOpts
 
getInfoMessage() - Method in class sqlline.Application
Returns the information message, by default "sqlline version x.x".
getIsolation() - Method in class sqlline.SqlLineOpts
 
getMaxColumnWidth() - Method in class sqlline.SqlLineOpts
 
getMaxHeight() - Method in class sqlline.SqlLineOpts
 
getMaxWidth() - Method in class sqlline.SqlLineOpts
 
getName() - Method in class sqlline.AbstractCommandHandler
 
getName() - Method in interface sqlline.CommandHandler
 
getNames() - Method in class sqlline.AbstractCommandHandler
 
getNames() - Method in interface sqlline.CommandHandler
 
getNullValue() - Method in class sqlline.SqlLineOpts
 
getNumberFormat() - Method in class sqlline.SqlLineOpts
 
getOpts(SqlLine) - Method in class sqlline.Application
Override this method to modify session options.
getOpts() - Method in class sqlline.SqlLine
 
getOutputFormat() - Method in class sqlline.SqlLineOpts
 
getOutputFormats(SqlLine) - Method in class sqlline.Application
Override this method to modify known output formats implementations.
getOutputFormats() - Method in class sqlline.SqlLine
 
getParameterCompleters() - Method in class sqlline.AbstractCommandHandler
 
getParameterCompleters() - Method in interface sqlline.CommandHandler
Returns the completers that can handle parameters.
getPropertiesFile() - Method in class sqlline.SqlLineOpts
 
getReflector() - Method in class sqlline.SqlLine
 
getRowLimit() - Method in class sqlline.SqlLineOpts
 
getRun() - Method in class sqlline.SqlLineOpts
 
getSeparator() - Static method in class sqlline.SqlLine
 
getShowElapsedTime() - Method in class sqlline.SqlLineOpts
 
getShowHeader() - Method in class sqlline.SqlLineOpts
 
getShowNestedErrs() - Method in class sqlline.SqlLineOpts
 
getShowWarnings() - Method in class sqlline.SqlLineOpts
 
getSilent() - Method in class sqlline.SqlLineOpts
 
getStatus() - Method in class sqlline.DispatchCallback
 
getTimeFormat() - Method in class sqlline.SqlLineOpts
 
getTimeout() - Method in class sqlline.SqlLineOpts
 
getTimestampFormat() - Method in class sqlline.SqlLineOpts
 
getTrimScripts() - Method in class sqlline.SqlLineOpts
 
getVerbose() - Method in class sqlline.SqlLineOpts
 
go(String, DispatchCallback) - Method in class sqlline.Commands
 

H

handleException(Throwable) - Method in class sqlline.SqlLine
 
help(String, DispatchCallback) - Method in class sqlline.Commands
 
history(String, DispatchCallback) - Method in class sqlline.Commands
 

I

importedkeys(String, DispatchCallback) - Method in class sqlline.Commands
 
indexes(String, DispatchCallback) - Method in class sqlline.Commands
 
info(String) - Method in class sqlline.SqlLine
 
info(ColorBuffer) - Method in class sqlline.SqlLine
 
initDrivers() - Method in class sqlline.Application
Returns the set of known JDBC drivers.
isCanceled() - Method in class sqlline.DispatchCallback
 
isExit() - Method in class sqlline.SqlLine
 
isFailure() - Method in class sqlline.DispatchCallback
 
isolation(String, DispatchCallback) - Method in class sqlline.Commands
 
isRunning() - Method in class sqlline.DispatchCallback
 
isSuccess() - Method in class sqlline.DispatchCallback
 

J

JsonOutputFormat - Class in sqlline
Implementation of OutputFormat that formats rows as JSON.
JsonOutputFormat(SqlLine) - Constructor for class sqlline.JsonOutputFormat
 

L

list(String, DispatchCallback) - Method in class sqlline.Commands
Lists the current connections.
load(String, DispatchCallback) - Method in class sqlline.Commands
 
load() - Method in class sqlline.SqlLineOpts
 
load(InputStream) - Method in class sqlline.SqlLineOpts
 
loadProperties(Properties) - Method in class sqlline.SqlLineOpts
 

M

main(String[]) - Static method in class sqlline.SqlLine
Starts the program.
mainWithInputRedirection(String[], InputStream) - Static method in class sqlline.SqlLine
Starts the program with redirected input.
manual(String, DispatchCallback) - Method in class sqlline.Commands
 
matches(String) - Method in class sqlline.AbstractCommandHandler
 
matches(String) - Method in interface sqlline.CommandHandler
Checks to see if the specified string can be dispatched to this command.
metadata(String, DispatchCallback) - Method in class sqlline.Commands
 
metadata(String, List<Object>, DispatchCallback) - Method in class sqlline.Commands
 

N

nativesql(String, DispatchCallback) - Method in class sqlline.Commands
 
nickname(String, DispatchCallback) - Method in class sqlline.Commands
 

O

optionCompleters() - Method in class sqlline.SqlLineOpts
 
output(String) - Method in class sqlline.SqlLine
Print the specified message to the console
output(ColorBuffer) - Method in class sqlline.SqlLine
 
output(String, boolean, PrintStream) - Method in class sqlline.SqlLine
 
output(ColorBuffer, boolean) - Method in class sqlline.SqlLine
 
output(ColorBuffer, boolean, PrintStream) - Method in class sqlline.SqlLine
 
output(String, boolean) - Method in class sqlline.SqlLine
Print the specified message to the console
OutputFile - Class in sqlline
Output file.
OutputFile(String) - Constructor for class sqlline.OutputFile
 
outputformat(String, DispatchCallback) - Method in class sqlline.Commands
 
OutputFormat - Interface in sqlline
Converts a collection of rows into text.

P

possibleSettingValues() - Method in class sqlline.SqlLineOpts
 
primarykeys(String, DispatchCallback) - Method in class sqlline.Commands
 
print(Rows) - Method in class sqlline.AbstractOutputFormat
 
print(String) - Method in class sqlline.OutputFile
 
print(Rows) - Method in interface sqlline.OutputFormat
 
procedures(String, DispatchCallback) - Method in class sqlline.Commands
 
properties(String, DispatchCallback) - Method in class sqlline.Commands
Connects to the database defined in the specified properties file.
PROPERTY_NAME_EXIT - Static variable in class sqlline.SqlLineOpts
 
PROPERTY_PREFIX - Static variable in class sqlline.SqlLineOpts
 

Q

quit(String, DispatchCallback) - Method in class sqlline.Commands
 

R

reconnect(String, DispatchCallback) - Method in class sqlline.Commands
 
record(String, DispatchCallback) - Method in class sqlline.Commands
Starts or stops saving all output to a file.
ReflectiveCommandHandler - Class in sqlline
A CommandHandler implementation that uses reflection to determine the method to dispatch the command.
ReflectiveCommandHandler(SqlLine, List<Completer>, String...) - Constructor for class sqlline.ReflectiveCommandHandler
 
ReflectiveCommandHandler(SqlLine, Completer, String...) - Constructor for class sqlline.ReflectiveCommandHandler
 
rehash(String, DispatchCallback) - Method in class sqlline.Commands
 
rollback(String, DispatchCallback) - Method in class sqlline.Commands
 
run(String, DispatchCallback) - Method in class sqlline.Commands
Runs a script from the specified file.
runCommands(List<String>, DispatchCallback) - Method in class sqlline.SqlLine
 

S

sampleURL - Variable in class sqlline.DriverInfo
 
save(String, DispatchCallback) - Method in class sqlline.Commands
 
save() - Method in class sqlline.SqlLineOpts
 
save(OutputStream) - Method in class sqlline.SqlLineOpts
 
saveDir() - Method in class sqlline.SqlLineOpts
The save directory if HOME/.sqlline/ on UNIX, and HOME/sqlline/ on Windows.
scan(String, DispatchCallback) - Method in class sqlline.Commands
 
script(String, DispatchCallback) - Method in class sqlline.Commands
Starts or stops saving a script to a file.
set(String, DispatchCallback) - Method in class sqlline.Commands
 
set(String, String) - Method in class sqlline.SqlLineOpts
 
set(String, String, boolean) - Method in class sqlline.SqlLineOpts
 
setAutoCommit(boolean) - Method in class sqlline.SqlLineOpts
 
setAutosave(boolean) - Method in class sqlline.SqlLineOpts
setAutoSave(boolean) - Method in class sqlline.SqlLineOpts
 
setCallback(DispatchCallback) - Method in interface sqlline.SqlLineSignalHandler
Sets the dispatchCallback to be alerted of by signals.
setColor(boolean) - Method in class sqlline.SqlLineOpts
 
setCsvDelimiter(String) - Method in class sqlline.SqlLineOpts
 
setCsvQuoteCharacter(String) - Method in class sqlline.SqlLineOpts
 
setDateFormat(String) - Method in class sqlline.SqlLineOpts
 
setErrorStream(PrintStream) - Method in class sqlline.SqlLine
 
setExit(boolean) - Method in class sqlline.SqlLine
 
setFastConnect(boolean) - Method in class sqlline.SqlLineOpts
 
setForce(boolean) - Method in class sqlline.SqlLineOpts
 
setHeaderInterval(int) - Method in class sqlline.SqlLineOpts
 
setHistoryFile(String) - Method in class sqlline.SqlLineOpts
 
setIncremental(boolean) - Method in class sqlline.SqlLineOpts
 
setIsolation(String) - Method in class sqlline.SqlLineOpts
 
setMaxColumnWidth(int) - Method in class sqlline.SqlLineOpts
 
setMaxHeight(int) - Method in class sqlline.SqlLineOpts
 
setMaxWidth(int) - Method in class sqlline.SqlLineOpts
 
setNullValue(String) - Method in class sqlline.SqlLineOpts
 
setNumberFormat(String) - Method in class sqlline.SqlLineOpts
 
setOutputFormat(String) - Method in class sqlline.SqlLineOpts
 
setOutputStream(PrintStream) - Method in class sqlline.SqlLine
 
setRowLimit(int) - Method in class sqlline.SqlLineOpts
 
setRun(String) - Method in class sqlline.SqlLineOpts
 
setShowElapsedTime(boolean) - Method in class sqlline.SqlLineOpts
 
setShowHeader(boolean) - Method in class sqlline.SqlLineOpts
 
setShowNestedErrs(boolean) - Method in class sqlline.SqlLineOpts
 
setShowWarnings(boolean) - Method in class sqlline.SqlLineOpts
 
setSilent(boolean) - Method in class sqlline.SqlLineOpts
 
setStatus(DispatchCallback.Status) - Method in class sqlline.DispatchCallback
 
setTimeFormat(String) - Method in class sqlline.SqlLineOpts
 
setTimeout(int) - Method in class sqlline.SqlLineOpts
 
setTimestampFormat(String) - Method in class sqlline.SqlLineOpts
 
setToCancel() - Method in class sqlline.DispatchCallback
 
setToFailure() - Method in class sqlline.DispatchCallback
 
setToSuccess() - Method in class sqlline.DispatchCallback
 
setTrimScripts(boolean) - Method in class sqlline.SqlLineOpts
 
setVerbose(boolean) - Method in class sqlline.SqlLineOpts
 
split(String, String, int) - Method in class sqlline.SqlLine
 
splitCompound(String) - Method in class sqlline.SqlLine
Splits the line into an array of possibly-compound identifiers, observing the database's quoting syntax.
sql(String, DispatchCallback) - Method in class sqlline.Commands
 
sqlline - package sqlline
SqlLine, a shell for issuing SQL to relational databases via JDBC.
SqlLine - Class in sqlline
A console SQL shell with command completion.
SqlLine() - Constructor for class sqlline.SqlLine
 
SqlLine.Status - Enum in sqlline
Exit status returned to the operating system.
SQLLINE_BASE_DIR - Static variable in class sqlline.SqlLine
 
SqlLineOpts - Class in sqlline
Session options.
SqlLineOpts(SqlLine) - Constructor for class sqlline.SqlLineOpts
 
SqlLineOpts(SqlLine, Properties) - Constructor for class sqlline.SqlLineOpts
 
SqlLineSignalHandler - Interface in sqlline
A signal handler interface for SQLLine.
start(String[], InputStream, boolean) - Static method in class sqlline.SqlLine
Backwards compatibility method to allow SqlLine.mainWithInputRedirection(String[], java.io.InputStream) proxied calls to keep method signature but add in new behavior of not saving queries.

T

tables(String, DispatchCallback) - Method in class sqlline.Commands
 
TEST_DATE - Static variable in class sqlline.SqlLineOpts
 
toProperties() - Method in class sqlline.SqlLineOpts
 
toString() - Method in class sqlline.OutputFile
 
trackSqlQuery(Statement) - Method in class sqlline.DispatchCallback
Sets the sql statement the callback should keep track of so that it can be canceled.
typeinfo(String, DispatchCallback) - Method in class sqlline.Commands
 

U

updateCommandHandlers(Collection<CommandHandler>) - Method in class sqlline.SqlLine
 
updateOutputFormats(Map<String, OutputFormat>) - Method in class sqlline.SqlLine
 

V

valueOf(String) - Static method in enum sqlline.SqlLine.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum sqlline.SqlLine.Status
Returns an array containing the constants of this enum type, in the order they are declared.
verbose(String, DispatchCallback) - Method in class sqlline.Commands
 
A B C D E F G H I J L M N O P Q R S T U V 
Skip navigation links

Copyright © 2002–2018 Julian Hyde. All rights reserved.