dods.servers.sql
Class sqlTest

java.lang.Object
  extended by dods.servers.sql.sqlTest

public class sqlTest
extends Object


Field Summary
static String ConstraintExpression
           
static String DDSFile
           
 
Constructor Summary
sqlTest()
           
 
Method Summary
static Statement connect2DB()
           
static sqlDDS getDDS()
           
static void main(String[] args)
           
static void parse_options(String[] args)
           
static void print_SDDS(ServerDDS sdds, boolean constrained)
           
static void printColumnNames(ResultSetMetaData m)
          Read the meta data stream and build up column names with type information
static void processResult(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 String DDSFile

ConstraintExpression

public static 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(String[] args)

getDDS

public static sqlDDS getDDS()
                     throws FileNotFoundException,
                            DDSException,
                            ParseException
Throws:
FileNotFoundException
DDSException
ParseException

main

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

testNameBuilder

public static void testNameBuilder(sqlDDS dds)

connect2DB

public static Statement connect2DB()
                            throws SQLException,
                                   FileNotFoundException,
                                   IOException
Throws:
SQLException
FileNotFoundException
IOException

processResult

public static void processResult(ResultSet result)
                          throws SQLException,
                                 IOException
Throws:
SQLException
IOException

printColumnNames

public static void printColumnNames(ResultSetMetaData m)
                             throws SQLException
Read the meta data stream and build up column names with type information

Throws:
SQLException