Class Customize
java.lang.Object
sqlline.Application
com.apple.foundationdb.relational.cli.sqlline.Customize
In here we add Relational customizations and extensions to SQLline. See
Application.java
on how this works. The main thing we add is output of Relational STRUCT and ARRAY missing from basic sqlline.
-
Field Summary
Fields inherited from class sqlline.Application
DEFAULT_APP_INFO_MESSAGE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<sqlline.CommandHandler>
getCommandHandlers
(sqlline.SqlLine sqlLine) sqlline.SqlLineOpts
getOpts
(sqlline.SqlLine sqlLine) Override to fix a bug in sqlline customization; an oversight prevents us being able to set the CONNECT_INTERACTION_MODE default so we do the below ugly intercept instead.getOutputFormats
(sqlline.SqlLine sqlLine) Methods inherited from class sqlline.Application
allowedDrivers, getAvailableScriptEngineNames, getConnectInteractiveModes, getConnectionUrlExamples, getDefaultInteractiveMode, getName2HighlightStyle, getName2TableOutputFormatStyle, getPromptHandler, getVersion, initDrivers
-
Constructor Details
-
Customize
public Customize()
-
-
Method Details
-
getOpts
public sqlline.SqlLineOpts getOpts(sqlline.SqlLine sqlLine) Override to fix a bug in sqlline customization; an oversight prevents us being able to set the CONNECT_INTERACTION_MODE default so we do the below ugly intercept instead. Relational does not support login yet so do the below to stop user being challenged for a username/password on each connect.- Overrides:
getOpts
in classsqlline.Application
- Returns:
- Our options instance.
-
getInfoMessage
- Overrides:
getInfoMessage
in classsqlline.Application
-
getOutputFormats
- Overrides:
getOutputFormats
in classsqlline.Application
-
getCommandHandlers
- Overrides:
getCommandHandlers
in classsqlline.Application
-