org.jhuapl.edu.sages.etl.oldstuff
Class TestOpenCsvJarV1
java.lang.Object
org.jhuapl.edu.sages.etl.oldstuff.TestOpenCsvJarV1
public class TestOpenCsvJarV1
- extends Object
- Author:
- POKUAM1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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 displaye
- 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.