Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.0 ()
: Class RealSQLResultSetMetaData (RealSQL-JDBC) (realsqlresultsetmetadata.html)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.northgateis.reality.realsql.RealSQLResultSetMetaData
The RealSQLResultSetMetaData class is an implementation of the JDBC 2.0 ResultSetMetaData interface.
Constructor Summary | |
RealSQLResultSetMetaData(RealSQLStatement stmt,
java.lang.String sql,
int traceFlags)
Constructs a new ResultSetMetaData instance. |
Method Summary | |
protected int | getAccessPlan() Retrieve the server AccessPlan for this prepared statement. |
java.lang.String | getCatalogName(int column) Retrieve the column's table catalog name. |
java.lang.String | getColumnClassName(int column) Not supported by the RealSQL-JDBC driver. |
int | getColumnCount() Retrieve the number of columns in this ResultSet. |
int | getColumnDisplaySize(int column) Retrieve the column's normal max width in chars. |
java.lang.String | getColumnLabel(int column) Retrieve the suggested column label for use in printouts and displays. |
java.lang.String | getColumnName(int column) Retrieve the column's name. |
int | getColumnType(int column) Retrieve the column's SQL type. |
java.lang.String | getColumnTypeName(int column) Retrieve the column's database-specific type name. |
protected int | getParamCount() Retrieve the parameter count for this prepared statement. |
int | getPrecision(int column) Retrieve the column's number of decimal digits. |
int | getScale(int column) Retrieve the column's number of digits to right of the decimal point. |
java.lang.String | getSchemaName(int column) Retrieve the column's table's schema. |
java.lang.String | getTableName(int column) Retrieve the column's table name. |
boolean | isAutoIncrement(int column) Indicates whether the column is automatically numbered, thus read-only. |
boolean | isCaseSensitive(int column) Indicates whether a column's case matters. |
boolean | isCurrency(int column) Indicates whether the column is a cash value. |
boolean | isDefinitelyWritable(int column) Indicates whether a write on the column will definitely succeed. |
int | isNullable(int column) Indicates the nullability of values in the designated column. |
boolean | isReadOnly(int column) Indicates whether a column is definitely not writable. |
boolean | isSearchable(int column) Indicates whether the column can be used in a where clause. |
boolean | isSigned(int column) Indicates whether values in the column are signed numbers. |
boolean | isWritable(int column) Indicates whether it is possible for a write on the column to succeed. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public RealSQLResultSetMetaData(RealSQLStatement stmt, java.lang.String sql, int traceFlags) throws java.sql.SQLException
Forwards the SQL statement to the Reality SQL server, the server prepares the statement (for subsequent execution) and returns the ResultSet METADATA.
stmt
- the controlling Statement object.sql
- the SQL statement to be prepared.logLevel
- the type of events that to be loggedMethod Detail |
public java.lang.String getCatalogName(int column) throws java.sql.SQLException
column
- the index of the desired column.public java.lang.String getColumnClassName(int column) throws java.sql.SQLException
JDBC 2.0 Returns the fully-qualified name of the Java class whose instances are manufactured if the method ResultSet.getObject is called to retrieve a value from the column.
column
- the index of the desired column.public int getColumnCount() throws java.sql.SQLException
public int getColumnDisplaySize(int column) throws java.sql.SQLException
column
- the column index being queried.public java.lang.String getColumnLabel(int column) throws java.sql.SQLException
column
- the column index being queried.public java.lang.String getColumnName(int column) throws java.sql.SQLException
column
- the desired column index.public int getColumnType(int column) throws java.sql.SQLException
column
- the index of the desired column.public java.lang.String getColumnTypeName(int column) throws java.sql.SQLException
column
- the column index of the desired columnpublic int getPrecision(int column) throws java.sql.SQLException
the
- column index whose precision is desiredpublic int getScale(int column) throws java.sql.SQLException
the
- column index whose scale is desired.public java.lang.String getSchemaName(int column) throws java.sql.SQLException
column
- the desired column index.public java.lang.String getTableName(int column) throws java.sql.SQLException
column
- the desired column index.public boolean isAutoIncrement(int column) throws java.sql.SQLException
column
- the column index being checkedpublic boolean isCaseSensitive(int column) throws java.sql.SQLException
column
- the column index being queried.public boolean isCurrency(int column) throws java.sql.SQLException
column
- the column index being queried.public boolean isDefinitelyWritable(int column) throws java.sql.SQLException
column
- the column index being queried.public int isNullable(int column) throws java.sql.SQLException
column
- the column index being checked.public boolean isReadOnly(int column) throws java.sql.SQLException
column
- the column index being queried.public boolean isSearchable(int column) throws java.sql.SQLException
column
- the column index to be queried.public boolean isSigned(int column) throws java.sql.SQLException
column
- the column index to be queried.public boolean isWritable(int column) throws java.sql.SQLException
column
- the column index being queried.protected int getAccessPlan() throws java.sql.SQLException
protected int getParamCount() throws java.sql.SQLException
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |