Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes All Packages

A

AbstractCommandHandler - Class in sqlline
An abstract implementation of CommandHandler.
AbstractCommandHandler(SqlLine, String[], String, Supplier<List<Completer>>) - Constructor for class sqlline.AbstractCommandHandler
 
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
 
allowedDrivers() - Method in class sqlline.Application
Returns the list of the class names of allowed JDBC drivers.
AnsiConsoleOutputFormat - Class in sqlline
OutputFormat for a table-like but borderless format.
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.
ARGS - sqlline.SqlLine.Status
 
AUTO_COMMIT - sqlline.BuiltInProperty
 
AUTO_PAIRING - sqlline.BuiltInProperty
 
AUTO_RESIZE - sqlline.BuiltInProperty
 
AUTO_SAVE - sqlline.BuiltInProperty
 
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.
BOLD_HEADER_SOLID - sqlline.BuiltInTableOutputFormatStyles
 
BOLD_SOLID - sqlline.BuiltInTableOutputFormatStyles
 
BOOLEAN - sqlline.SqlLineProperty.Type
 
BOOLEAN_VALUES - Static variable in interface sqlline.SqlLineProperty
 
brief(String, DispatchCallback) - Method in class sqlline.Commands
 
BuiltInDialect - Enum in sqlline
Pre-defined one-line comments, sql identifier quotes for different databases.
BuiltInProperty - Enum in sqlline
Built-in properties of SqlLine.
BuiltInTableOutputFormatStyles - Enum in sqlline
 

C

call(String, DispatchCallback) - Method in class sqlline.Commands
 
CHAR - sqlline.SqlLineProperty.Type
 
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() - Method in class sqlline.OutputFile
 
close(String, DispatchCallback) - Method in class sqlline.Commands
Closes the current connection.
closeall(String, DispatchCallback) - Method in class sqlline.Commands
Closes all connections.
CODE_BLOCK_END_REQUIRED - sqlline.SqlLineParser.SqlParserState
 
COLOR - sqlline.BuiltInProperty
 
COLOR_SCHEME - sqlline.BuiltInProperty
 
columns(String, DispatchCallback) - Method in class sqlline.Commands
 
COMMAND_PREFIX - Static variable in class sqlline.SqlLine
 
commandhandler(String, DispatchCallback) - Method in class sqlline.Commands
 
CommandHandler - Interface in sqlline
A generic command to be executed.
Commands - Class in sqlline
Collection of available commands.
commit(String, DispatchCallback) - Method in class sqlline.Commands
 
complete(LineReader, ParsedLine, List<Candidate>) - Method in class sqlline.ConnectionCompleter
 
complete(LineReader, ParsedLine, List<Candidate>) - Method in class sqlline.SqlLineOpts
 
config(String, DispatchCallback) - Method in class sqlline.Commands
 
CONFIRM - sqlline.BuiltInProperty
 
CONFIRM_PATTERN - sqlline.BuiltInProperty
 
connect(String, DispatchCallback) - Method in class sqlline.Commands
 
connect(Properties, DispatchCallback) - Method in class sqlline.Commands
 
CONNECT_INTERACTION_MODE - sqlline.BuiltInProperty
 
CONNECTION_CONFIG - sqlline.BuiltInProperty
 
ConnectionCompleter - Class in sqlline
Suggests completions for connection names.
ConnectionMetadata - Class in sqlline
Provides information about database connection and its metadata without exposing internal API.
ConnectionMetadata(SqlLine) - Constructor for class sqlline.ConnectionMetadata
 
containsKeyword(String) - Method in enum sqlline.BuiltInDialect
 
couldBeStored() - Method in enum sqlline.BuiltInProperty
 
couldBeStored() - Method in interface sqlline.SqlLineProperty
 
CSV_DELIMITER - sqlline.BuiltInProperty
 
CSV_QUOTE_CHARACTER - sqlline.BuiltInProperty
 

D

DATE_FORMAT - sqlline.BuiltInProperty
 
dbinfo(String, DispatchCallback) - Method in class sqlline.Commands
 
debug(String) - Method in class sqlline.SqlLine
 
DEFAULT - sqlline.BuiltInDialect
Default built-in dialect.
DEFAULT - sqlline.BuiltInTableOutputFormatStyles
 
DEFAULT - Static variable in interface sqlline.SqlLineProperty
 
DEFAULT_APP_INFO_MESSAGE - Static variable in class sqlline.Application
 
defaultValue() - Method in enum sqlline.BuiltInProperty
 
defaultValue() - Method in interface sqlline.SqlLineProperty
 
describe(String, DispatchCallback) - Method in class sqlline.Commands
 
DispatchCallback - Class in sqlline
Callback.
DispatchCallback() - Constructor for class sqlline.DispatchCallback
 
DOUBLE_SOLID - sqlline.BuiltInTableOutputFormatStyles
 
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

echoToFile() - Method in class sqlline.AbstractCommandHandler
 
echoToFile() - Method in interface sqlline.CommandHandler
Returns whether the command should be written to the output file of the !script command.
error(String) - Method in class sqlline.SqlLine
Issue the specified error message
error(Throwable) - Method in class sqlline.SqlLine
 
escape(CharSequence, boolean) - Method in class sqlline.SqlLineParser.SqlLineArgumentList
 
ESCAPE_OUTPUT - sqlline.BuiltInProperty
 
execute(String, DispatchCallback) - Method in interface sqlline.CommandHandler
Executes the specified command.
execute(String, DispatchCallback) - Method in class sqlline.ReflectiveCommandHandler
 
expand(String) - Static method in class sqlline.Commands
Expands "~" to the home directory.
expandHistory(History, String) - Method in class sqlline.SqlLineExpander
 
expandVar(String) - Method in class sqlline.SqlLineExpander
 
exportedkeys(String, DispatchCallback) - Method in class sqlline.Commands
 

F

FAST_CONNECT - sqlline.BuiltInProperty
 
FILE_PATH - sqlline.SqlLineProperty.Type
 
FORCE - sqlline.BuiltInProperty
 
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

get(String) - Method in class sqlline.SqlLineOpts
 
get(SqlLineProperty) - Method in class sqlline.SqlLineOpts
 
getAutoCommit() - Method in class sqlline.SqlLineOpts
 
getAutoPairing() - Method in class sqlline.SqlLineOpts
 
getAutoResize() - Method in class sqlline.SqlLineOpts
 
getAutosave() - Method in class sqlline.SqlLineOpts
Deprecated.
getAutoSave() - Method in class sqlline.SqlLineOpts
 
getAvailableScriptEngineNames() - Method in class sqlline.Application
Override this method to modify available script engine names.
getAvailableValues() - Method in enum sqlline.BuiltInProperty
 
getAvailableValues() - Method in interface sqlline.SqlLineProperty
 
getBoolean(SqlLineProperty) - Method in class sqlline.SqlLineOpts
 
getChar(SqlLineProperty) - Method in class sqlline.SqlLineOpts
 
getClassNames() - Static method in class sqlline.ClassNameCompleter
 
getCloseQuote() - Method in enum sqlline.BuiltInDialect
 
getCodeBlocks() - Method in enum sqlline.BuiltInDialect
 
getColor() - Method in class sqlline.SqlLineOpts
 
getColorScheme() - Method in class sqlline.SqlLineOpts
 
getCommandCompleter() - Method in class sqlline.SqlLine
 
getCommandHandlers() - Method in class sqlline.SqlLine
 
getCommandHandlers(SqlLine) - Method in class sqlline.Application
Override this method to modify supported commands.
getCommandStyle() - Method in class sqlline.HighlightStyle
Returns the style for SQLLine commands.
getCommentStyle() - Method in class sqlline.HighlightStyle
Returns the style for a SQL comments, such as /* This is a comment */ or -- End of line comment.
getCompiledConfirmPattern() - Method in class sqlline.SqlLineOpts
 
getConfirm() - Method in class sqlline.SqlLineOpts
 
getConfirmPattern() - Method in class sqlline.SqlLineOpts
 
getConnectInteractiveModes() - Method in class sqlline.Application
 
getConnectionConfig() - Method in class sqlline.SqlLineOpts
 
getConnectionMetadata() - Method in class sqlline.SqlLine
 
getConnectionUrlExamples() - Method in class sqlline.Application
Override this method to modify connection url examples.
getConsoleReader(InputStream, History) - Method in class sqlline.SqlLine
 
getCsvDelimiter() - Method in class sqlline.SqlLineOpts
 
getCsvQuoteCharacter() - Method in class sqlline.SqlLineOpts
 
getCurrentSchema() - Method in class sqlline.ConnectionMetadata
 
getDatabaseProductName() - Method in class sqlline.ConnectionMetadata
 
getDateFormat() - Method in class sqlline.SqlLineOpts
 
getDefaultInteractiveMode() - Method in class sqlline.Application
 
getDefaultStyle() - Method in class sqlline.HighlightStyle
Returns the style for text that does not match any other style.
getEscapeOutput() - Method in class sqlline.SqlLineOpts
 
getExtraNameCharacters() - Method in enum sqlline.BuiltInDialect
 
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
 
getHighlightStyle() - Method in class sqlline.SqlLine
 
getHistoryFile() - Method in class sqlline.SqlLineOpts
 
getHistoryFlags() - Method in class sqlline.SqlLineOpts
 
getIdentifierStyle() - Method in class sqlline.HighlightStyle
Returns the style for a SQL identifier, such as EMP or "Employee table".
getIncremental() - Method in class sqlline.SqlLineOpts
 
getIncrementalBufferRows() - Method in class sqlline.SqlLineOpts
 
getIndex() - Method in class sqlline.ConnectionMetadata
 
getInfoMessage() - Method in class sqlline.Application
Returns the information message, by default "sqlline version x.x".
getInt(SqlLineProperty) - Method in class sqlline.SqlLineOpts
 
getIsolation() - Method in class sqlline.SqlLineOpts
 
getKeepSemicolon() - Method in class sqlline.SqlLineOpts
 
getKeywordStyle() - Method in class sqlline.HighlightStyle
Returns the style for a SQL keyword such as SELECT or ON.
getLiveTemplatesFile() - Method in class sqlline.SqlLineOpts
 
getMaxColumnWidth() - Method in class sqlline.SqlLineOpts
 
getMaxHeight() - Method in class sqlline.SqlLineOpts
 
getMaxWidth() - Method in class sqlline.SqlLineOpts
 
getMessage() - Method in enum sqlline.SqlLineParser.SqlParserState
 
getMode() - Method in class sqlline.SqlLineOpts
 
getName() - Method in class sqlline.AbstractCommandHandler
 
getName() - Method in interface sqlline.CommandHandler
 
getName2HighlightStyle() - Method in class sqlline.Application
 
getName2TableOutputFormatStyle() - Method in class sqlline.Application
 
getNames() - Method in class sqlline.AbstractCommandHandler
 
getNames() - Method in interface sqlline.CommandHandler
 
getNullValue() - Method in class sqlline.SqlLineOpts
 
getNumberFormat() - Method in class sqlline.SqlLineOpts
 
getNumberStyle() - Method in class sqlline.HighlightStyle
Returns the style for numeric literals.
getOneLineComments() - Method in enum sqlline.BuiltInDialect
 
getOpenQuote() - Method in enum sqlline.BuiltInDialect
 
getOpts() - Method in class sqlline.SqlLine
 
getOpts(SqlLine) - Method in class sqlline.Application
Override this method to modify session options.
getOutputFormat() - Method in class sqlline.SqlLineOpts
 
getOutputFormats() - Method in class sqlline.SqlLine
 
getOutputFormats(SqlLine) - Method in class sqlline.Application
Override this method to modify known output formats implementations.
getOutputString(Rows.Row, AttributedStyle) - Method in class sqlline.AnsiConsoleOutputFormat
 
getParameterCompleters() - Method in class sqlline.AbstractCommandHandler
 
getParameterCompleters() - Method in interface sqlline.CommandHandler
Returns the completers that can handle parameters.
getPrompt() - Method in class sqlline.PromptHandler
 
getPrompt() - Method in class sqlline.SqlLineOpts
 
getPromptHandler() - Method in class sqlline.SqlLine
 
getPromptHandler(SqlLine) - Method in class sqlline.Application
 
getPropertiesFile() - Method in class sqlline.SqlLineOpts
 
getQuotedStyle() - Method in class sqlline.HighlightStyle
Returns the style for a SQL character literal, such as 'Hello, world!'.
getQuoteWaitingPattern(String, int) - Method in class sqlline.SqlLineParser
 
getReadOnly() - Method in class sqlline.SqlLineOpts
 
getReflector() - Method in class sqlline.SqlLine
 
getRightPrompt() - Method in class sqlline.PromptHandler
 
getRightPrompt() - Method in class sqlline.SqlLineOpts
 
getRowLimit() - Method in class sqlline.SqlLineOpts
 
getRun() - Method in class sqlline.SqlLineOpts
 
getScriptEngine() - Method in class sqlline.SqlLineOpts
 
getSeparator() - Static method in class sqlline.SqlLine
 
getShowCompletionDescr() - Method in class sqlline.SqlLineOpts
 
getShowElapsedTime() - Method in class sqlline.SqlLineOpts
 
getShowHeader() - Method in class sqlline.SqlLineOpts
 
getShowLineNumbers() - Method in class sqlline.SqlLineOpts
 
getShowNestedErrs() - Method in class sqlline.SqlLineOpts
 
getShowTypes() - Method in class sqlline.SqlLineOpts
 
getShowWarnings() - Method in class sqlline.SqlLineOpts
 
getSilent() - Method in class sqlline.SqlLineOpts
 
getState() - Method in class sqlline.SqlLineParser.SqlLineArgumentList
 
getStatus() - Method in class sqlline.DispatchCallback
 
getStrictJdbc() - Method in class sqlline.SqlLineOpts
 
getStyle() - Method in enum sqlline.BuiltInTableOutputFormatStyles
 
getSupplier() - Method in class sqlline.SqlLineParser.SqlLineArgumentList
 
getTableStyle() - Method in class sqlline.SqlLineOpts
 
getTimeFormat() - Method in class sqlline.SqlLineOpts
 
getTimeout() - Method in class sqlline.SqlLineOpts
 
getTimestampFormat() - Method in class sqlline.SqlLineOpts
 
getTrimScripts() - Method in class sqlline.SqlLineOpts
 
getUrl() - Method in class sqlline.ConnectionMetadata
 
getUseLineContinuation() - Method in class sqlline.SqlLineOpts
 
getUserName() - Method in class sqlline.ConnectionMetadata
 
getVerbose() - Method in class sqlline.SqlLineOpts
 
getVersion() - Method in class sqlline.Application
 
go(String, DispatchCallback) - Method in class sqlline.Commands
 

H

H2 - sqlline.BuiltInDialect
HyperSQL dialect.
handle(Terminal.Signal) - Method in class sqlline.SqlLineSignalHandler
 
handleException(Throwable) - Method in class sqlline.SqlLine
 
hasProperty(String) - Method in class sqlline.SqlLineOpts
 
HEADER_INTERVAL - sqlline.BuiltInProperty
 
help(String, DispatchCallback) - Method in class sqlline.Commands
 
helpCompleters() - Method in class sqlline.SqlLineOpts
 
highlight(LineReader, String) - Method in class sqlline.SqlLineHighlighter
 
HighlightStyle - Class in sqlline
Class to specify colors and styles while highlighting.
HighlightStyle(AttributedStyle, AttributedStyle, AttributedStyle, AttributedStyle, AttributedStyle, AttributedStyle, AttributedStyle) - Constructor for class sqlline.HighlightStyle
Creates a HighlightStyle.
history(String, DispatchCallback) - Method in class sqlline.Commands
 
HISTORY_FILE - sqlline.BuiltInProperty
 
HISTORY_FLAGS - sqlline.BuiltInProperty
 

I

importedkeys(String, DispatchCallback) - Method in class sqlline.Commands
 
INCREMENTAL - sqlline.BuiltInProperty
 
INCREMENTAL_BUFFER_ROWS - sqlline.BuiltInProperty
 
indexes(String, DispatchCallback) - Method in class sqlline.Commands
 
info(String) - Method in class sqlline.SqlLine
 
info(AttributedString) - Method in class sqlline.SqlLine
 
initDrivers() - Method in class sqlline.Application
Deprecated.
INTEGER - sqlline.SqlLineProperty.Type
 
isCanceled() - Method in class sqlline.DispatchCallback
 
isDefault(SqlLineProperty) - Method in class sqlline.SqlLineOpts
Returns whether the property is its default value.
isExit() - Method in class sqlline.SqlLine
 
isFailure() - Method in class sqlline.DispatchCallback
 
isLower() - Method in enum sqlline.BuiltInDialect
 
isolation(String, DispatchCallback) - Method in class sqlline.Commands
 
ISOLATION - sqlline.BuiltInProperty
 
isReadOnly() - Method in enum sqlline.BuiltInProperty
 
isReadOnly() - Method in interface sqlline.SqlLineProperty
 
isRunning() - Method in class sqlline.DispatchCallback
 
isSuccess() - Method in class sqlline.DispatchCallback
 
isUpper() - Method in enum sqlline.BuiltInDialect
 

J

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

K

KEEP_SEMICOLON - sqlline.BuiltInProperty
 

L

LINE_CONTINUES - sqlline.SqlLineParser.SqlParserState
 
list(String, DispatchCallback) - Method in class sqlline.Commands
Lists the current connections.
LIVE_TEMPLATES - sqlline.BuiltInProperty
 
load() - Method in class sqlline.SqlLineOpts
 
load(InputStream) - Method in class sqlline.SqlLineOpts
 
load(String, DispatchCallback) - Method in class sqlline.Commands
 
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.
MAX_COLUMN_WIDTH - sqlline.BuiltInProperty
 
MAX_HEIGHT - sqlline.BuiltInProperty
 
MAX_HISTORY_FILE_ROWS - sqlline.BuiltInProperty
 
MAX_HISTORY_ROWS - sqlline.BuiltInProperty
 
MAX_WIDTH - sqlline.BuiltInProperty
 
metadata(String, List<Object>, DispatchCallback) - Method in class sqlline.Commands
 
metadata(String, DispatchCallback) - Method in class sqlline.Commands
 
MODE - sqlline.BuiltInProperty
 
MULTILINE_COMMENT - sqlline.SqlLineParser.SqlParserState
 
MYSQL - sqlline.BuiltInDialect
MySQL dialect.

N

nativesql(String, DispatchCallback) - Method in class sqlline.Commands
 
NEW_LINE - sqlline.SqlLineParser.SqlParserState
 
nickname(String, DispatchCallback) - Method in class sqlline.Commands
 
NULL_VALUE - sqlline.BuiltInProperty
 
NUMBER_FORMAT - sqlline.BuiltInProperty
 

O

OK - sqlline.SqlLine.Status
 
OK - sqlline.SqlLineParser.SqlParserState
 
ORACLE - sqlline.BuiltInDialect
 
OTHER - sqlline.SqlLine.Status
 
output(String) - Method in class sqlline.SqlLine
Print the specified message to the console
output(String, boolean, PrintStream) - Method in class sqlline.SqlLine
 
output(AttributedString) - Method in class sqlline.SqlLine
 
output(AttributedString, boolean) - Method in class sqlline.SqlLine
 
output(AttributedString, boolean, PrintStream) - Method in class sqlline.SqlLine
 
OUTPUT_FORMAT - sqlline.BuiltInProperty
 
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

parse(String, int, Parser.ParseContext) - Method in class sqlline.SqlLineParser
 
parseState(String, int, Parser.ParseContext) - Method in class sqlline.SqlLineParser
 
PHOENIX - sqlline.BuiltInDialect
Apache Phoenix dialect.
POSTGRESQL - sqlline.BuiltInDialect
 
primarykeys(String, DispatchCallback) - Method in class sqlline.Commands
 
print(String) - Method in class sqlline.OutputFile
 
print(Rows) - Method in class sqlline.AbstractOutputFormat
 
print(Rows) - Method in class sqlline.AnsiConsoleOutputFormat
 
print(Rows) - Method in interface sqlline.OutputFormat
 
procedures(String, DispatchCallback) - Method in class sqlline.Commands
 
PROMPT - sqlline.BuiltInProperty
 
PROMPT_SCRIPT - sqlline.BuiltInProperty
 
prompthandler(String, DispatchCallback) - Method in class sqlline.Commands
 
PromptHandler - Class in sqlline
Default prompt handler class which allows customization for the prompt shown at the start of each line.
PromptHandler(SqlLine) - Constructor for class sqlline.PromptHandler
 
properties(String, DispatchCallback) - Method in class sqlline.Commands
Connects to the database defined in the specified properties file.
PROPERTIES_FILE - sqlline.BuiltInProperty
 
PROPERTY_NAME_EXIT - Static variable in class sqlline.SqlLineOpts
 
PROPERTY_PREFIX - Static variable in class sqlline.SqlLineOpts
 
propertyName() - Method in enum sqlline.BuiltInProperty
 
propertyName() - Method in interface sqlline.SqlLineProperty
 
propertyNames() - Method in class sqlline.SqlLineOpts
 

Q

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

R

READ_ONLY - sqlline.BuiltInProperty
 
readonly(String, DispatchCallback) - Method in class sqlline.Commands
 
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, Supplier<List<Completer>>, String...) - Constructor for class sqlline.ReflectiveCommandHandler
 
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
 
rereadconfconnections(String, DispatchCallback) - Method in class sqlline.Commands
 
rerun(String, DispatchCallback) - Method in class sqlline.Commands
 
reset() - Method in class sqlline.SqlLineExpander
 
reset(String, DispatchCallback) - Method in class sqlline.Commands
 
resetOptionCompleters() - Method in class sqlline.SqlLineOpts
 
resize(String, DispatchCallback) - Method in class sqlline.Commands
 
RIGHT_PROMPT - sqlline.BuiltInProperty
 
rollback(String, DispatchCallback) - Method in class sqlline.Commands
 
ROUND_BRACKET_BALANCE_FAILED - sqlline.SqlLineParser.SqlParserState
 
ROUND_CORNERS - sqlline.BuiltInTableOutputFormatStyles
 
ROW_LIMIT - sqlline.BuiltInProperty
 
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() - Method in class sqlline.SqlLineOpts
 
save(OutputStream) - Method in class sqlline.SqlLineOpts
 
save(String, DispatchCallback) - Method in class sqlline.Commands
 
saveDir() - Static 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
 
schemas(String, DispatchCallback) - Method in class sqlline.Commands
 
script(String, DispatchCallback) - Method in class sqlline.Commands
Starts or stops saving a script to a file.
SCRIPT_ENGINE - sqlline.BuiltInProperty
 
SEMICOLON_REQUIRED - sqlline.SqlLineParser.SqlParserState
 
set(String, boolean, boolean) - Method in class sqlline.SqlLineOpts
 
set(String, String) - Method in class sqlline.SqlLineOpts
 
set(String, String, boolean) - Method in class sqlline.SqlLineOpts
 
set(String, DispatchCallback) - Method in class sqlline.Commands
 
set(SqlLineProperty, Object) - Method in class sqlline.SqlLineOpts
 
setAutoPairing(String) - Method in class sqlline.SqlLineOpts
 
setCallback(DispatchCallback) - Method in class sqlline.SqlLineSignalHandler
Sets the dispatch callback to be alerted by signals.
setColorScheme(String) - Method in class sqlline.SqlLineOpts
 
setConfirmPattern(String) - Method in class sqlline.SqlLineOpts
 
setConnectionConfig(String) - Method in class sqlline.SqlLineOpts
 
setCsvQuoteCharacter(String) - Method in class sqlline.SqlLineOpts
 
setDateFormat(String) - Method in class sqlline.SqlLineOpts
 
setEmptyValue(String, boolean) - Method in class sqlline.SqlLineOpts
 
setErrorStream(OutputStream) - Method in class sqlline.SqlLine
 
setExit(boolean) - Method in class sqlline.SqlLine
 
setHistoryFile(String) - Method in class sqlline.SqlLineOpts
 
setIsolation(String) - Method in class sqlline.SqlLineOpts
 
setLiveTemplatesFile(String) - Method in class sqlline.SqlLineOpts
 
setMaxHistoryFileRows(String) - Method in class sqlline.SqlLineOpts
 
setMaxHistoryRows(String) - Method in class sqlline.SqlLineOpts
 
setMode(String) - Method in class sqlline.SqlLineOpts
 
setNumberFormat(String) - Method in class sqlline.SqlLineOpts
 
setOptionCompleters(Map<BuiltInProperty, Collection<String>>) - Method in class sqlline.SqlLineOpts
Builds and returns Completers.RegexCompleter for !set command based on (in decreasing order of priority) Customizations via customCompletions Available values defined in BuiltInProperty SqlLineProperty.Type of property.
setOpts(SqlLineOpts) - Method in class sqlline.SqlLine
 
setOutputFormat(String) - Method in class sqlline.SqlLineOpts
 
setOutputStream(OutputStream) - Method in class sqlline.SqlLine
 
setPropertiesFile(String) - Method in class sqlline.SqlLineOpts
 
setRun(String) - Method in class sqlline.SqlLineOpts
 
setScriptEngine(String) - Method in class sqlline.SqlLineOpts
 
setShowCompletionDesc(String) - Method in class sqlline.SqlLineOpts
 
setStatus(DispatchCallback.Status) - Method in class sqlline.DispatchCallback
 
setTableStyle(String) - Method in class sqlline.SqlLineOpts
 
setTimeFormat(String) - 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
 
SHOW_COMPLETION_DESCR - sqlline.BuiltInProperty
 
SHOW_ELAPSED_TIME - sqlline.BuiltInProperty
 
SHOW_HEADER - sqlline.BuiltInProperty
 
SHOW_LINE_NUMBERS - sqlline.BuiltInProperty
 
SHOW_NESTED_ERRS - sqlline.BuiltInProperty
 
SHOW_TYPES - sqlline.BuiltInProperty
 
SHOW_WARNINGS - sqlline.BuiltInProperty
 
showconfconnections(String, DispatchCallback) - Method in class sqlline.Commands
 
SILENT - sqlline.BuiltInProperty
 
SOLID - sqlline.BuiltInTableOutputFormatStyles
 
split(String, String, int) - Method in class sqlline.SqlLine
 
splitCompound(String) - Method in class sqlline.SqlLine
 
splitCompound(String, boolean) - Method in class sqlline.SqlLine
 
splitCompound(String, boolean, boolean) - 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_BASE_DIR - Static variable in class sqlline.SqlLine
 
SqlLine.Status - Enum in sqlline
Exit status returned to the operating system.
SqlLineArgumentList(SqlLineParser.SqlParserState, Supplier<String>) - Constructor for class sqlline.SqlLineParser.SqlLineArgumentList
 
SqlLineArgumentList(SqlLineParser.SqlParserState, Supplier<String>, String, List<String>, int, int, int, String, int, int) - Constructor for class sqlline.SqlLineParser.SqlLineArgumentList
 
SqlLineExpander - Class in sqlline
SQLLine expander class for live templates.
SqlLineExpander(SqlLine) - Constructor for class sqlline.SqlLineExpander
 
SqlLineHighlighter - Class in sqlline
Highlighter class to implement logic of sql and command syntax highlighting in sqlline.
SqlLineHighlighter(SqlLine) - Constructor for class sqlline.SqlLineHighlighter
 
SqlLineOpts - Class in sqlline
Session options.
SqlLineOpts(SqlLine) - Constructor for class sqlline.SqlLineOpts
 
SqlLineOpts(SqlLine, Properties) - Constructor for class sqlline.SqlLineOpts
 
SqlLineParser - Class in sqlline
SqlLineParser implements multi-line for sql, !sql, !all while it's not ended with a non-commented ';'.
SqlLineParser(SqlLine) - Constructor for class sqlline.SqlLineParser
 
SqlLineParser.SqlLineArgumentList - Class in sqlline
 
SqlLineParser.SqlParserState - Enum in sqlline
 
SqlLineProperty - Interface in sqlline
Definition of property that may be specified for SqlLine.
SqlLineProperty.Type - Enum in sqlline
Data type of property.
SqlLineProperty.Writer - Interface in sqlline
Property writer.
SqlLineSignalHandler - Class in sqlline
A signal handler for SQLLine that interprets Ctrl-C as a request to cancel the currently executing query.
SqlLineSignalHandler() - Constructor for class sqlline.SqlLineSignalHandler
 
SQUARE_BRACKET_BALANCE_FAILED - sqlline.SqlLineParser.SqlParserState
 
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.
STRICT_JDBC - sqlline.BuiltInProperty
 
STRING - sqlline.SqlLineProperty.Type
 

T

TABLE_STYLE - sqlline.BuiltInProperty
 
tables(String, DispatchCallback) - Method in class sqlline.Commands
 
TIME_FORMAT - sqlline.BuiltInProperty
 
TIMEOUT - sqlline.BuiltInProperty
 
TIMESTAMP_FORMAT - sqlline.BuiltInProperty
 
toProperties() - Method in class sqlline.SqlLineOpts
 
toProperties(boolean) - 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.
TRIM_SCRIPTS - sqlline.BuiltInProperty
 
trimLeadingSpacesIfPossible(String, Parser.ParseContext) - Static method in class sqlline.SqlLineParser
 
type() - Method in enum sqlline.BuiltInProperty
 
type() - Method in interface sqlline.SqlLineProperty
 
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
 
updatePromptHandler(PromptHandler) - Method in class sqlline.SqlLine
 
USE_LINE_CONTINUATION - sqlline.BuiltInProperty
 

V

valueOf(String) - Static method in enum sqlline.BuiltInDialect
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum sqlline.BuiltInProperty
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum sqlline.BuiltInTableOutputFormatStyles
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum sqlline.SqlLine.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum sqlline.SqlLineParser.SqlParserState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum sqlline.SqlLineProperty.Type
Returns the enum constant of this type with the specified name.
valueOf(String, boolean) - Static method in enum sqlline.BuiltInProperty
Returns the built-in property with the given name, or null if not found.
values() - Static method in enum sqlline.BuiltInDialect
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum sqlline.BuiltInProperty
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum sqlline.BuiltInTableOutputFormatStyles
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum sqlline.SqlLine.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum sqlline.SqlLineParser.SqlParserState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum sqlline.SqlLineProperty.Type
Returns an array containing the constants of this enum type, in the order they are declared.
verbose(String, DispatchCallback) - Method in class sqlline.Commands
 
VERBOSE - sqlline.BuiltInProperty
 
VERSION - sqlline.BuiltInProperty
 

W

write(String) - Method in interface sqlline.SqlLineProperty.Writer
 
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes All Packages