dods.servers.sql
Class sqlTest

java.lang.Object
  extended bydods.servers.sql.sqlTest

public class sqlTest
extends java.lang.Object


Field Summary
static java.lang.String ConstraintExpression
           
static java.lang.String DDSFile
           
 
Constructor Summary
sqlTest()
           
 
Method Summary
static java.sql.Statement connect2DB()
           
static sqlDDS getDDS()
           
static void main(java.lang.String[] args)
           
static void parse_options(java.lang.String[] args)
           
static void print_SDDS(ServerDDS sdds, boolean constrained)
           
static void printColumnNames(java.sql.ResultSetMetaData m)
          Read the meta data stream and build up column names with type information
static void processResult(java.sql.ResultSet result)
           
static void testNameBuilder(sqlDDS dds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DDSFile

public static java.lang.String DDSFile

ConstraintExpression

public static java.lang.String ConstraintExpression
Constructor Detail

sqlTest

public sqlTest()
Method Detail

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