public final class JdbcT4Util extends Object
| Constructor and Description |
|---|
JdbcT4Util() |
JdbcT4Util(org.apache.hadoop.conf.Configuration conf,
DcsNetworkConfiguration netConf) |
| Modifier and Type | Method and Description |
|---|---|
static org.codehaus.jettison.json.JSONArray |
convertResultSetToJSON(ResultSet rs) |
Connection |
getConnection() |
void |
init(org.apache.hadoop.conf.Configuration conf,
DcsNetworkConfiguration netConf) |
static void |
main(String[] args) |
public JdbcT4Util(org.apache.hadoop.conf.Configuration conf,
DcsNetworkConfiguration netConf)
throws SQLException
SQLExceptionpublic void init(org.apache.hadoop.conf.Configuration conf,
DcsNetworkConfiguration netConf)
throws SQLException
SQLExceptionpublic Connection getConnection() throws SQLException
SQLExceptionpublic static org.codehaus.jettison.json.JSONArray convertResultSetToJSON(ResultSet rs) throws Exception
Exceptionpublic static void main(String[] args)
Copyright © 2020. All rights reserved.