| Overview | Package | Class | Tree | Deprecated | Index | Help | |||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||
java.lang.Object | +--org.gjt.mm.mysql.ResultSetMetaData
| Method Summary | |
| java.lang.String | getCatalogName(int column)
What's a column's table's catalog name? |
| int | getColumnCount()
Whats the number of columns in the ResultSet? |
| int | getColumnDisplaySize(int column)
What is the column's normal maximum width in characters? |
| java.lang.String | getColumnLabel(int column)
What is the suggested column title for use in printouts and displays? |
| java.lang.String | getColumnName(int column)
What's a column's name? |
| java.lang.String | getColumnTypeName(int column)
Whats is the column's data source specific type name? |
| int | getColumnType(int column)
What is a column's SQL Type? |
| int | getPrecision(int column)
What is a column's number of decimal digits. |
| int | getScale(int column)
What is a column's number of digits to the right of the decimal point? |
| java.lang.String | getSchemaName(int column)
What is a column's table's schema? |
| java.lang.String | getTableName(int column)
Whats a column's table's name? |
| boolean | isAutoIncrement(int column)
Is the column automatically numbered (and thus read-only) MySQL Auto-increment columns are not read only, so to conform to the spec, this method returns false. |
| boolean | isCaseSensitive(int column)
Does a column's case matter? |
| boolean | isCurrency(int column)
Is the column a cash value? |
| boolean | isDefinitelyWritable(int column)
Will a write on this column definately succeed? |
| int | isNullable(int column)
Can you put a NULL in this column? |
| boolean | isReadOnly(int column)
Is the column definitely not writable? |
| boolean | isSearchable(int column)
Can the column be used in a WHERE clause? |
| boolean | isSigned(int column)
Is the column a signed number? |
| boolean | isWritable(int column)
Is it possible for a write on the column to succeed? |
| Methods inherited from class java.lang.Object | |
| clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait | |
| Method Detail |
public int getColumnCount()
throws java.sql.SQLException
public boolean isAutoIncrement(int column)
throws java.sql.SQLException
column
- the first column is 1, the second is 2...
public boolean isCaseSensitive(int column)
throws java.sql.SQLException
column
- the first column is 1, the second is 2...
public boolean isSearchable(int column)
throws java.sql.SQLException
column
- the first column is 1, the second is 2...
public boolean isCurrency(int column)
throws java.sql.SQLException
column
- the first column is 1, the second is 2...
public int isNullable(int column)
throws java.sql.SQLException
column
- the first column is 1, the second is 2...
public boolean isSigned(int column)
throws java.sql.SQLException
column
- the first column is 1, the second is 2...
public int getColumnDisplaySize(int column)
throws java.sql.SQLException
column
- the first column is 1, the second is 2, etc.
public java.lang.String getColumnLabel(int column)
throws java.sql.SQLException
column
- the first column is 1, the second is 2, etc.
public java.lang.String getColumnName(int column)
throws java.sql.SQLException
column
- the first column is 1, the second is 2, etc.
public java.lang.String getSchemaName(int column)
throws java.sql.SQLException
column
- the first column is 1, the second is 2...
public int getPrecision(int column)
throws java.sql.SQLException
column
- the first column is 1, the second is 2...
public int getScale(int column)
throws java.sql.SQLException
column
- the first column is 1, the second is 2...
public java.lang.String getCatalogName(int column)
throws java.sql.SQLException
MySQL does not have catalogs.
column
- the first column is 1, the second is 2...
public java.lang.String getTableName(int column)
throws java.sql.SQLException
column
- the first column is 1, the second is 2...
public int getColumnType(int column)
throws java.sql.SQLException
column
- the first column is 1, the second is 2, etc.
public java.lang.String getColumnTypeName(int column)
throws java.sql.SQLException
column
- the first column is 1, the second is 2, etc.
public boolean isReadOnly(int column)
throws java.sql.SQLException
column
- the first column is 1, the second is 2, etc.
public boolean isWritable(int column)
throws java.sql.SQLException
column
- the first column is 1, the second is 2, etc.
public boolean isDefinitelyWritable(int column)
throws java.sql.SQLException
column
- the first column is 1, the second is 2, etc..| Overview | Package | Class | Tree | Deprecated | Index | Help | |||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||