class Shell extends LealoneClient {

    public static void main(String[] args) {
        Shell shell = new Shell(args);
        main(shell);
    }

    public Shell(String[] args) {
        super(args);
    }

    @Override
    protected Connection getConnection() throws SQLException {<FILL_FUNCTION_BODY>}
}

        ConnectionInfo ci = getConnectionInfo();
        if (ci.isEmbedded()) {
            Lealone.embed();
        }
        return getConnectionSync(ci);
    
<methods>public void <init>(java.lang.String[]) ,public java.lang.String[] getArgs() ,public static Future<com.lealone.client.jdbc.JdbcConnection> getConnection(java.lang.String) ,public static Future<com.lealone.client.jdbc.JdbcConnection> getConnection(java.lang.String, java.lang.String, java.lang.String) ,public static Future<com.lealone.client.jdbc.JdbcConnection> getConnection(java.lang.String, java.util.Properties) ,public static Future<com.lealone.client.jdbc.JdbcConnection> getConnection(com.lealone.db.ConnectionInfo) ,public static com.lealone.client.jdbc.JdbcConnection getConnectionSync(com.lealone.db.ConnectionInfo) ,public static void main(java.lang.String[]) ,public static void main(com.lealone.client.LealoneClient) ,public void showClientOrEmbeddedModeOptions() <variables>private static final char BOX_VERTICAL,private static final int HISTORY_COUNT,private static final int MAX_ROW_BUFFER,private final non-sealed java.lang.String[] args,private com.lealone.client.jdbc.JdbcConnection conn,private java.lang.String database,private boolean embedded,private final java.io.PrintStream err,private final ArrayList<java.lang.String> history,private java.lang.String host,private final java.io.InputStream in,private boolean listMode,private int maxColumnSize,private final java.io.PrintStream out,private java.lang.String password,private java.lang.String port,private final java.io.BufferedReader reader,private java.sql.Statement stat,private java.lang.String url,private java.lang.String user