client.SQLAccess
Class SQLInterface

java.lang.Object
  extended by client.SQLAccess.SQLInterface

public class SQLInterface
extends java.lang.Object

Author:
Mariano Tepper
 

Constructor Summary
SQLInterface()
           
 
Method Summary
 boolean create(java.lang.String sql)
           
 java.lang.String getExecutionPlan()
           
 java.sql.ResultSet getResultSet()
           
 void login(java.lang.String username, java.lang.String password)
           
 void logout()
           
 boolean nextResultSet()
           
 java.lang.String type()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLInterface

public SQLInterface()
Method Detail

login

public void login(java.lang.String username,
                  java.lang.String password)

logout

public void logout()

type

public java.lang.String type()

create

public boolean create(java.lang.String sql)
               throws java.sql.SQLException
Throws:
java.sql.SQLException

getExecutionPlan

public java.lang.String getExecutionPlan()
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

getResultSet

public java.sql.ResultSet getResultSet()
                                throws java.sql.SQLException
Throws:
java.sql.SQLException

nextResultSet

public boolean nextResultSet()
                      throws java.sql.SQLException
Throws:
java.sql.SQLException