Bellow you can find overview internal commands of command line tool [1] that can send some sql queries to Apache Ignite grid via JDBC Thin client.

1 - GitHub link https://github.com/julianhyde/sqlline

 

commandnotestatuscomment
!allExecute the specified SQL against all the current connections.---
!autocommitEnable or disable automatic transaction commit modeImpossible to disable autocommit
!batchStart or execute a batch of SQL statements---
!briefEnable terse output mode---
!verboseEnable verbose output mode---
!callExecute a callable statementDoesn't support from our side.
!closeClose the active connectionError message: Ambiguous command: [close, closeall]
!closeallClose all current open connections---
!columnsDisplay columns of a table

Display int instead of type of field e.g. 

-5 = java.lang.Long, 12 = java.lang.String

!commit Commit the current transaction, if autocommit is off.autocommit always true so commit doesn't make sense
!connectConnect to a database---
!dbinfoList metadata information about the current connection.---
!describeSynonym for columns (if an argument is specified) or tables (if no argument is specified).

Doesn't work without parameter. so now !describe =!columns

!dropallDrop all tables in the database---
!exportedkeysList exported foreign keys for a databaseDoesn't support from our side.
!goChange to a different active connection---
!helpDisplay help informationHelp shows not all commands that there are in manual.
!historyDisplay the command history---
!importedkeysList imported foreign keys for a databaseDoesn't support from our side.
!indexesDisplay indexes for a table---
!isolationSet the transaction isolation mode for the active connectionautocommit always equals true so I can't to test this parameter
!listDisplay all active connections---
!manualDisplay sqlline manual---
!metadataInvoke arbitrary metadata commands---
!nickname

Create a friendly name for the connection (updates command prompt)

---
!outputformatChange the method for displaying SQL results---
!primarykeysDisplay the primary key columns for a table---
!proceduresList stored proceduresDoesn't support from our side.
!properties Connect to the database defined in the specified properties file.---
!quitExit SQLLine---
!reconnectReconnect to the current database---
!recordBegin recording all output from SQL commands---
!rehash

Get a list of all tables and columns from the database in order to include them in the list for tab-completion of SQL statements. This is done automatically on connect when the fastconnect option is enabled.

 

- with and without fastconnect

 

NPE from sqlline side
!rollbackRoll back the current transaction (if autocommit is off)autocommit always true so rollback doesn't make sense
!runExecute a command script---
!saveSave the current preferences to some file

Doesn't override current parameters in ~/.sqlline/sqlline.properties 

!scanScan class path for JDBC driversOutput - 

Compliant Compliant Version Compliant Compliant Version Driver Class

Compliant Compliant Version Compliant Compliant Version Driver Classno        1.0     org.apache.ignite.IgniteJdbcDriverCompliant Compliant Version Compliant Compliant Version Driver Classno

!scriptSave executed commands to a file---
!set

Set a sqlline variable

Values of parameters wasn't changed
!sql Execute a SQL against a database---
!tablesList all the tables in the database---