com.caucho.quercus.lib.db
Class JdbcTableMetaData

java.lang.Object
  extended by com.caucho.quercus.lib.db.JdbcTableMetaData

public class JdbcTableMetaData
extends java.lang.Object

Represents a JDBC column metadata


Constructor Summary
JdbcTableMetaData(Env env, java.lang.String catalog, java.lang.String schema, java.lang.String name, java.sql.DatabaseMetaData md)
           
 
Method Summary
 java.lang.String getCatalog()
          Returns the table's catalog
 JdbcColumnMetaData getColumn(java.lang.String name)
          Returns the matching column.
 java.lang.String getName()
          Returns the table's name.
 boolean isValid(Env env)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JdbcTableMetaData

public JdbcTableMetaData(Env env,
                         java.lang.String catalog,
                         java.lang.String schema,
                         java.lang.String name,
                         java.sql.DatabaseMetaData md)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException
Method Detail

getName

public java.lang.String getName()
Returns the table's name.


getCatalog

public java.lang.String getCatalog()
Returns the table's catalog


getColumn

public JdbcColumnMetaData getColumn(java.lang.String name)
Returns the matching column.


isValid

public boolean isValid(Env env)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object