dods.servers.sql
Class sqlTest
java.lang.Object
dods.servers.sql.sqlTest
- public class sqlTest
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DDSFile
public static java.lang.String DDSFile
ConstraintExpression
public static java.lang.String ConstraintExpression
sqlTest
public sqlTest()
print_SDDS
public static void print_SDDS(ServerDDS sdds,
boolean constrained)
parse_options
public static void parse_options(java.lang.String[] args)
getDDS
public static sqlDDS getDDS()
throws java.io.FileNotFoundException,
DDSException,
ParseException
- Throws:
java.io.FileNotFoundException
DDSException
ParseException
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
testNameBuilder
public static void testNameBuilder(sqlDDS dds)
connect2DB
public static java.sql.Statement connect2DB()
throws java.sql.SQLException,
java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.sql.SQLException
java.io.FileNotFoundException
java.io.IOException
processResult
public static void processResult(java.sql.ResultSet result)
throws java.sql.SQLException,
java.io.IOException
- Throws:
java.sql.SQLException
java.io.IOException
printColumnNames
public static void printColumnNames(java.sql.ResultSetMetaData m)
throws java.sql.SQLException
- Read the meta data stream and build up column names with type information
- Throws:
java.sql.SQLException