|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sas.net.sharenet.ShareNetResultSetMetaData
This class implements java.sql.ResultSetMetaData
Fields inherited from interface java.sql.ResultSetMetaData |
columnNoNulls, columnNullable, columnNullableUnknown |
Constructor Summary |
Method Summary | |
String |
getCatalogName(int column)
Gets the catalog name of the table that the column is in. |
String |
getColumnClassName(int column)
JDBC 2.0 Gets the fully qualified name of the Java class whose instances are manufactured if ResultSet.getObject() is called to retrieve a value from the column. |
int |
getColumnCount()
Gets the number of columns in the ResultSet. |
int |
getColumnDisplaySize(int column)
Gets the normal maximum width of the column (in characters). |
String |
getColumnLabel(int column)
Gets the suggested column title for use in printouts and displays. |
String |
getColumnName(int column)
Gets the column name. |
int |
getColumnType(int column)
Gets the SQL type for the column. |
String |
getColumnTypeName(int column)
Gets the data-source-specific format name for the column including associated format width and decimal information. |
int |
getPrecision(int column)
Gets the maximum number of decimal digits that can be in the column. |
int |
getScale(int column)
Gets the number of digits in the column that are to right of the decimal. |
String |
getSchemaName(int column)
Gets the schema name for the table that the column is in. |
String |
getTableName(int column)
Gets the name of the table that the column is in. |
boolean |
isAutoIncrement(int column)
Determines whether a column automatically numbered. |
boolean |
isCaseSensitive(int column)
Determines whether case matters in a column. |
boolean |
isCurrency(int column)
Determines whether a column is a cash value. |
boolean |
isDefinitelyWritable(int column)
Determines whether you can successfully write to the column. |
int |
isNullable(int column)
Determines whether you can put a NULL in this column. |
boolean |
isReadOnly(int column)
Determines whether a column is read-only. |
boolean |
isSearchable(int column)
Determines whether a column can be used in a WHERE clause. |
boolean |
isSigned(int column)
Determines whether the value in a column is a signed number. |
boolean |
isWritable(int column)
Determines whether it is at all possible to successfully write to the column. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
Method Detail |
public int getColumnCount() throws SQLException
getColumnCount
in interface ResultSetMetaData
SQLException
- This exception is required by the interface, but it is never thrown.public boolean isAutoIncrement(int column) throws SQLException
isAutoIncrement
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is thrown if the value for column is not valid.public boolean isCaseSensitive(int column) throws SQLException
isCaseSensitive
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is thrown if the value for column is not valid.public boolean isSearchable(int column) throws SQLException
isSearchable
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is thrown if the value for column is not valid.public boolean isCurrency(int column) throws SQLException
isCurrency
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is thrown if the value for column is not valid.public int isNullable(int column) throws SQLException
isNullable
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is thrown if the value for column is not valid.public boolean isSigned(int column) throws SQLException
isSigned
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is thrown if the value for column is not valid.public int getColumnDisplaySize(int column) throws SQLException
getColumnDisplaySize
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is thrown if the value for column is not valid.public String getColumnLabel(int column) throws SQLException
getColumnLabel
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is thrown if the value for column is not valid.public String getColumnName(int column) throws SQLException
getColumnName
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is thrown if the value for column is not valid.public String getSchemaName(int column) throws SQLException
getSchemaName
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is thrown if the value for column is not valid.public int getPrecision(int column) throws SQLException
getPrecision
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is thrown if the value for column is not valid.public int getScale(int column) throws SQLException
getScale
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is thrown if the value for column is not valid.public String getTableName(int column) throws SQLException
getTableName
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is thrown if the value for column is not valid.public String getCatalogName(int column) throws SQLException
getCatalogName
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is thrown if the value for column is not valid.public int getColumnType(int column) throws SQLException
getColumnType
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is thrown if the value for column is not valid.public String getColumnTypeName(int column) throws SQLException
getColumnTypeName
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is thrown if the value for column is not valid.public boolean isReadOnly(int column) throws SQLException
isReadOnly
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is thrown if the value for column is not valid.public boolean isWritable(int column) throws SQLException
isWritable
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is thrown if the value for column is not valid.public boolean isDefinitelyWritable(int column) throws SQLException
isDefinitelyWritable
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is thrown if the value for column is not valid.public String getColumnClassName(int column) throws SQLException
Gets the fully qualified name of the Java class whose instances are manufactured if ResultSet.getObject() is called to retrieve a value from the column. ResultSet.getObject() may return a subClass of the class returned by this method. This method is not yet supported.
getColumnClassName
in interface ResultSetMetaData
column
- The column index.SQLException
- This exception is always thrown.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |