public final class JdbcT4Util extends Object
Constructor and Description |
---|
JdbcT4Util() |
JdbcT4Util(org.apache.hadoop.conf.Configuration conf,
NetworkConfiguration 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,
NetworkConfiguration netConf) |
static void |
main(String[] args) |
public JdbcT4Util(org.apache.hadoop.conf.Configuration conf, NetworkConfiguration netConf) throws SQLException
SQLException
public void init(org.apache.hadoop.conf.Configuration conf, NetworkConfiguration 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 © 2016. All rights reserved.