org.aris.hldb.compilers
Class QueryCompiler

java.lang.Object
  extended by org.aris.hldb.compilers.QueryCompiler

public class QueryCompiler
extends java.lang.Object

Version:
1.0
Author:
Konstantine Kougios, 6 Οκτ 2004, 9:04:52 μμ, for lib project

Constructor Summary
QueryCompiler()
           
 
Method Summary
 CS compile()
          Compiles the callable statements and otionally creates the stored procedures.
 void execute()
           
 void setConnection(java.lang.String con)
           
 void setQueryFile(java.lang.String queryFile)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryCompiler

public QueryCompiler()
Method Detail

compile

public CS compile()
           throws java.io.FileNotFoundException,
                  java.io.IOException,
                  java.lang.Exception
Compiles the callable statements and otionally creates the stored procedures. This is a utility function, in order to make the example use of hldb easier.

Returns:
the CS callable statement cache.
Throws:
java.io.FileNotFoundException - -
java.io.IOException - -
java.lang.Exception - -

execute

public void execute()
             throws java.io.FileNotFoundException,
                    java.io.IOException,
                    java.lang.Exception
Throws:
java.io.FileNotFoundException
java.io.IOException
java.lang.Exception

setConnection

public void setConnection(java.lang.String con)

setQueryFile

public void setQueryFile(java.lang.String queryFile)