|
|||||||||
| Home >> All >> org >> jdaemon >> test >> [ sql overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jdaemon.test.sql
Class TestResultSetMetadata

java.lang.Objectorg.jdaemon.test.sql.TestResultSetMetadata
- All Implemented Interfaces:
- java.sql.ResultSetMetaData
- public class TestResultSetMetadata
- extends java.lang.Object
- implements java.sql.ResultSetMetaData
- extends java.lang.Object
| Field Summary |
| Fields inherited from interface java.sql.ResultSetMetaData |
columnNoNulls, columnNullable, columnNullableUnknown |
| Constructor Summary | |
TestResultSetMetadata()
Creates a new instance of TestResultSetMetadata |
|
| Method Summary | |
java.lang.String |
getCatalogName(int param)
This method returns the name of the catalog containing the specified column. |
java.lang.String |
getColumnClassName(int param)
This method returns the name of the Java class which will be used to create objects representing the data in this column. |
int |
getColumnCount()
This method returns the number of columns in the result set. |
int |
getColumnDisplaySize(int param)
This method returns the maximum number of characters that can be used to display a value in this column. |
java.lang.String |
getColumnLabel(int param)
This method returns a string that should be used as a caption for this column for user display purposes. |
java.lang.String |
getColumnName(int param)
This method returns the name of the specified column. |
int |
getColumnType(int param)
This method returns the SQL type of the specified column. |
java.lang.String |
getColumnTypeName(int param)
This method returns the name of the SQL type for this column. |
int |
getPrecision(int param)
This method returns the precision of the specified column, which is the number of decimal digits it contains. |
int |
getScale(int param)
This method returns the scale of the specified column, which is the number of digits to the right of the decimal point. |
java.lang.String |
getSchemaName(int param)
This method returns the name of the schema that contains the specified column. |
java.lang.String |
getTableName(int param)
This method returns the name of the table containing the specified column. |
boolean |
isAutoIncrement(int param)
This method test whether or not the column is an auto-increment column. |
boolean |
isCaseSensitive(int param)
This method tests whether or not a column is case sensitive in its values. |
boolean |
isCurrency(int param)
This method tests whether or not the column stores a monetary value. |
boolean |
isDefinitelyWritable(int param)
This method tests whether or not the column is writable. |
int |
isNullable(int param)
This method returns a value indicating whether or not the specified column may contain a NULL value. |
boolean |
isReadOnly(int param)
This method tests whether or not the specified column is read only. |
boolean |
isSearchable(int param)
This method tests whether not the specified column can be used in a WHERE clause. |
boolean |
isSigned(int param)
This method tests whether or not the value of the specified column is signed or unsigned. |
boolean |
isWritable(int param)
This method tests whether or not the column may be writable. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
TestResultSetMetadata
public TestResultSetMetadata()
- Creates a new instance of TestResultSetMetadata
| Method Detail |
getCatalogName
public java.lang.String getCatalogName(int param) throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method returns the name of the catalog containing the specified
column.
- Specified by:
getCatalogNamein interfacejava.sql.ResultSetMetaData
getColumnClassName
public java.lang.String getColumnClassName(int param) throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method returns the name of the Java class which will be used to
create objects representing the data in this column.
- Specified by:
getColumnClassNamein interfacejava.sql.ResultSetMetaData
getColumnCount
public int getColumnCount()
throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method returns the number of columns in the result set.
- Specified by:
getColumnCountin interfacejava.sql.ResultSetMetaData
getColumnDisplaySize
public int getColumnDisplaySize(int param)
throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method returns the maximum number of characters that can be used
to display a value in this column.
- Specified by:
getColumnDisplaySizein interfacejava.sql.ResultSetMetaData
getColumnLabel
public java.lang.String getColumnLabel(int param) throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method returns a string that should be used as a caption for this
column for user display purposes.
- Specified by:
getColumnLabelin interfacejava.sql.ResultSetMetaData
getColumnName
public java.lang.String getColumnName(int param) throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method returns the name of the specified column.
- Specified by:
getColumnNamein interfacejava.sql.ResultSetMetaData
getColumnType
public int getColumnType(int param)
throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method returns the SQL type of the specified column. This will
be one of the constants from
Types.- Specified by:
getColumnTypein interfacejava.sql.ResultSetMetaData
getColumnTypeName
public java.lang.String getColumnTypeName(int param) throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method returns the name of the SQL type for this column.
- Specified by:
getColumnTypeNamein interfacejava.sql.ResultSetMetaData
getPrecision
public int getPrecision(int param)
throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method returns the precision of the specified column, which is the
number of decimal digits it contains.
- Specified by:
getPrecisionin interfacejava.sql.ResultSetMetaData
getScale
public int getScale(int param)
throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method returns the scale of the specified column, which is the
number of digits to the right of the decimal point.
- Specified by:
getScalein interfacejava.sql.ResultSetMetaData
getSchemaName
public java.lang.String getSchemaName(int param) throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method returns the name of the schema that contains the specified
column.
- Specified by:
getSchemaNamein interfacejava.sql.ResultSetMetaData
getTableName
public java.lang.String getTableName(int param) throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method returns the name of the table containing the specified
column.
- Specified by:
getTableNamein interfacejava.sql.ResultSetMetaData
isAutoIncrement
public boolean isAutoIncrement(int param)
throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method test whether or not the column is an auto-increment column.
Auto-increment columns are read-only.
- Specified by:
isAutoIncrementin interfacejava.sql.ResultSetMetaData
isCaseSensitive
public boolean isCaseSensitive(int param)
throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method tests whether or not a column is case sensitive in its values.
- Specified by:
isCaseSensitivein interfacejava.sql.ResultSetMetaData
isCurrency
public boolean isCurrency(int param)
throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method tests whether or not the column stores a monetary value.
- Specified by:
isCurrencyin interfacejava.sql.ResultSetMetaData
isDefinitelyWritable
public boolean isDefinitelyWritable(int param)
throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method tests whether or not the column is writable. This
does guarantee that a write will be successful.
- Specified by:
isDefinitelyWritablein interfacejava.sql.ResultSetMetaData
isNullable
public int isNullable(int param)
throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method returns a value indicating whether or not the specified
column may contain a NULL value.
- Specified by:
isNullablein interfacejava.sql.ResultSetMetaData
isReadOnly
public boolean isReadOnly(int param)
throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method tests whether or not the specified column is read only.
- Specified by:
isReadOnlyin interfacejava.sql.ResultSetMetaData
isSearchable
public boolean isSearchable(int param)
throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method tests whether not the specified column can be used in
a WHERE clause.
- Specified by:
isSearchablein interfacejava.sql.ResultSetMetaData
isSigned
public boolean isSigned(int param)
throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method tests whether or not the value of the specified column
is signed or unsigned.
- Specified by:
isSignedin interfacejava.sql.ResultSetMetaData
isWritable
public boolean isWritable(int param)
throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSetMetaData - This method tests whether or not the column may be writable. This
does not guarantee that a write will be successful.
- Specified by:
isWritablein interfacejava.sql.ResultSetMetaData
|
|||||||||
| Home >> All >> org >> jdaemon >> test >> [ sql overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.jdaemon.test.sql.TestResultSetMetadata