|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.quercus.lib.db.JdbcColumnMetaData
public class JdbcColumnMetaData
Represents a JDBC column metadata
Constructor Summary | |
---|---|
JdbcColumnMetaData(JdbcTableMetaData table,
java.sql.ResultSet rs)
|
Method Summary | |
---|---|
int |
getJdbcType()
Returns the JDBC type. |
int |
getLength()
Returns the column length. |
java.lang.String |
getName()
Returns the column's name. |
JdbcTableMetaData |
getTable()
Returns the column's table |
boolean |
isBlob()
Returns true for blob data types. |
static boolean |
isBlob(int jdbcType)
Returns true for blob data types. |
boolean |
isFloat()
Returns true for float data types. |
boolean |
isIndex()
Returns true for an index |
boolean |
isNotNull()
Returns true if the column is nullable. |
boolean |
isNumeric()
Returns true for numeric data types. |
static boolean |
isNumeric(int jdbcType)
Returns true for numeric data types. |
boolean |
isPrimaryKey()
Returns true for a primary key. |
boolean |
isUnique()
Returns true for a unique column |
boolean |
isUnsigned()
Returns true for unsigned. |
boolean |
isZeroFill()
Returns true for zerofill |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JdbcColumnMetaData(JdbcTableMetaData table, java.sql.ResultSet rs) throws java.sql.SQLException
rs
- the ResultSet from a DatabaseMetaData.getColumns call
java.sql.SQLException
Method Detail |
---|
public java.lang.String getName()
public JdbcTableMetaData getTable()
public int getLength()
public boolean isNotNull()
public boolean isPrimaryKey()
public boolean isIndex()
public boolean isUnique()
public int getJdbcType()
public static boolean isNumeric(int jdbcType)
public boolean isNumeric()
public boolean isFloat()
public boolean isUnsigned()
public boolean isZeroFill()
public static boolean isBlob(int jdbcType)
public boolean isBlob()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |