public class JDBCKnoxShellTableBuilder extends KnoxShellTableBuilder
table, title| Modifier and Type | Method and Description |
|---|---|
JDBCKnoxShellTableBuilder |
connection(Connection connection) |
JDBCKnoxShellTableBuilder |
connectTo(String connectionUrl) |
JDBCKnoxShellTableBuilder |
driver(String driver) |
String |
password() |
JDBCKnoxShellTableBuilder |
password(String pass) |
KnoxShellTable |
resultSet(ResultSet resultSet) |
KnoxShellTable |
sql(String sql) |
JDBCKnoxShellTableBuilder |
title(String title) |
String |
username() |
JDBCKnoxShellTableBuilder |
username(String username) |
csv, jdbc, join, jsonpublic JDBCKnoxShellTableBuilder username(String username)
public JDBCKnoxShellTableBuilder password(String pass)
public String username()
public String password()
public JDBCKnoxShellTableBuilder title(String title)
title in class KnoxShellTableBuilderpublic JDBCKnoxShellTableBuilder connectTo(String connectionUrl)
public JDBCKnoxShellTableBuilder driver(String driver) throws Exception
Exceptionpublic JDBCKnoxShellTableBuilder connection(Connection connection)
public KnoxShellTable sql(String sql) throws IOException, SQLException
IOExceptionSQLExceptionpublic KnoxShellTable resultSet(ResultSet resultSet) throws SQLException
SQLExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.