com.hardcode.gdbms.engine.data.driver
Interface AlphanumericDBDriver

All Superinterfaces:
DBDriver, com.hardcode.driverManager.Driver, GDBMSDriver, ReadAccess, TypeConverter, ValueWriter
All Known Implementing Classes:
FooDriver, HSQLDBDriver, HSQLDBTransactionalDriver, MySQLDriver, ODBCDriver, PostgreSQLDriver

public interface AlphanumericDBDriver
extends DBDriver


Field Summary
 
Fields inherited from interface com.hardcode.gdbms.engine.values.ValueWriter
internalValueWriter
 
Method Summary
 void createSource(DBSource source, DriverMetadata driverMetadata)
          Creates a new table.
 void open(java.sql.Connection con, java.lang.String tableName, java.lang.String orderFieldName)
          Connects to the data source and reads the specified table in the specified order
 
Methods inherited from interface com.hardcode.gdbms.engine.data.driver.DBDriver
close, execute, getConnection, getTypeInAddColumnStatement
 
Methods inherited from interface com.hardcode.gdbms.engine.data.driver.ReadAccess
getFieldValue, getRowCount
 
Methods inherited from interface com.hardcode.gdbms.engine.data.driver.GDBMSDriver
check, getAvailableTypes, getDriverMetadata, getParameters, isReadOnly, isValidParameter, setDataSourceFactory
 
Methods inherited from interface com.hardcode.driverManager.Driver
getName
 
Methods inherited from interface com.hardcode.gdbms.engine.data.driver.TypeConverter
getType
 
Methods inherited from interface com.hardcode.gdbms.engine.values.ValueWriter
getNullStatementString, getStatementString, getStatementString, getStatementString, getStatementString, getStatementString, getStatementString, getStatementString, getStatementString, getStatementString, getStatementString
 

Method Detail

open

void open(java.sql.Connection con,
          java.lang.String tableName,
          java.lang.String orderFieldName)
          throws DriverException
Connects to the data source and reads the specified table in the specified order

Parameters:
con - Connection to use
tableName - Name of the table where the data is in
orderFieldName - Name of the order field. Can be null
Throws:
DriverException

createSource

void createSource(DBSource source,
                  DriverMetadata driverMetadata)
                  throws DriverException
Creates a new table. The source argument provides information about the name of the table to be created and the host, port and database where the table has to be created

Parameters:
source -
driverMetadata -
Throws:
DriverException - TODO


Copyright © 2005-2006 . All Rights Reserved.