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
SQLException
public void init(org.apache.hadoop.conf.Configuration conf, DcsNetworkConfiguration netConf) throws SQLException
SQLException
public Connection getConnection() throws SQLException
SQLException
public static org.codehaus.jettison.json.JSONArray convertResultSetToJSON(ResultSet rs) throws Exception
Exception
public static void main(String[] args)
Copyright © 2020. All rights reserved.