org.jhuapl.edu.sages.etl.oldstuff
Class TestOpenCsvJarV1

java.lang.Object
  extended by org.jhuapl.edu.sages.etl.oldstuff.TestOpenCsvJarV1

public class TestOpenCsvJarV1
extends Object

Author:
POKUAM1

Constructor Summary
TestOpenCsvJarV1()
           
TestOpenCsvJarV1(String dbms, int portNumber, String userName, String password, String serverName, String dbName)
           
 
Method Summary
static SagesEtlException abort(String msg, Throwable e)
          returns a SagesEtlException that wraps the original exception
protected static String addFlagColumn(String tableToModify)
           
 Connection getConnection()
          Establishes database connection to the target database
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestOpenCsvJarV1

public TestOpenCsvJarV1(String dbms,
                        int portNumber,
                        String userName,
                        String password,
                        String serverName,
                        String dbName)
Parameters:
dbms -
portNumber -
userName -
password -
serverName -
dbName -

TestOpenCsvJarV1

public TestOpenCsvJarV1()
                 throws SagesEtlException
Parameters:
dbms -
portNumber -
userName -
password -
serverName -
dbName -
Throws:
SagesEtlException
Method Detail

getConnection

public Connection getConnection()
                         throws SQLException
Establishes database connection to the target database

Returns:
Connection
Throws:
SQLException

abort

public static SagesEtlException abort(String msg,
                                      Throwable e)
returns a SagesEtlException that wraps the original exception

Parameters:
msg - SAGES ETL message to display
e - the original exception
Returns:
SagesEtlException

main

public static void main(String[] args)
                 throws Exception
Parameters:
args -
Throws:
Exception

addFlagColumn

protected static String addFlagColumn(String tableToModify)
Returns:


Copyright © 2013 Johns Hopkins University Applied Physics Laboratory. All rights reserved.