| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int | |
| private final JdbcPreparedStatement | |
| private final ResultInterface | |
| private final JdbcResultSet |
| Access | Constructor and Description |
|---|---|
| pack-priv | JdbcResultSetMetaData(JdbcResultSet rs, JdbcPreparedStatement prep, ResultInterface result, String catalog, Trace trace, int id)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public String | Returns: the catalog namethe column index (1,2,...) column)Implements java. Returns the catalog name. |
| private int | |
| public String | Returns: the Java class namethe column index (1,2,...) column)Implements java. Gets the Java class name of the object that will be returned if ResultSet.getObject is called. |
| public int | Returns: the number of columnsImplements java. Returns the number of columns. |
| public int | Returns: the display sizethe column index (1,2,...) column)Implements java. Gets the maximum display size for this column. |
| public String | Returns: the column labelthe column index (1,2,...) column)Implements java. Returns the column label. |
| public String | Returns: the column namethe column index (1,2,...) column)Implements java. Returns the column name. |
| public int | Returns: the data typethe column index (1,2,...) column)Implements java. Returns the data type of a column. |
| public String | Returns: the data type namethe column index (1,2,...) column)Implements java. Returns the data type name of a column. |
| public int | Returns: the precisionthe column index (1,2,...) column)Implements java. Gets the precision for this column. |
| public int | Returns: the scalethe column index (1,2,...) column)Implements java. Gets the scale for this column. |
| public String | Returns: the schema name, or "" (an empty string) if not applicablethe column index (1,2,...) column)Implements java. Returns the schema name. |
| public String | Returns: the table namethe column index (1,2,...) column)Implements java. Returns the table name. |
| public boolean | Returns: falsethe column index (1,2,...) column)Implements java. Checks if this an autoincrement column. |
| public boolean | Returns: truethe column index (1,2,...) column)Implements java. Checks if this column is case sensitive. |
| public boolean | Returns: falsethe column index (1,2,...) column)Implements java. Checks if this is a currency column. |
| public boolean | Returns: falsethe column index (1,2,...) column)Implements java. Checks whether a write on this column will definitely succeed. |
| public int | Returns: ResultSetMetaData.column*the column index (1,2,...) column)Implements java. Checks if this is nullable column. |
| public boolean | Returns: falsethe column index (1,2,...) column)Implements java. Checks if this column is read only. |
| public boolean | Returns: truethe column index (1,2,...) column)Implements java. Checks if this column is searchable. |
| public boolean | Returns: true for numeric columnsthe column index (1,2,...) column)Implements java. Checks if this column is signed. |
| public boolean | Returns: whether or not the interface is assignable from this classthe class iface)Implements java. Checks if unwrap can return an object of this class. |
| public boolean | Returns: truethe column index (1,2,...) column)Implements java. Checks whether it is possible for a write on this column to succeed. |
| public String | |
| public <T> T | Returns: thisthe class iface)Implements java. Return an object of this class if possible. |
| catalog | back to summary |
|---|---|
| private final String catalog | |
| columnCount | back to summary |
|---|---|
| private final int columnCount | |
| prep | back to summary |
|---|---|
| private final JdbcPreparedStatement prep | |
| result | back to summary |
|---|---|
| private final ResultInterface result | |
| rs | back to summary |
|---|---|
| private final JdbcResultSet rs | |
| JdbcResultSetMetaData | back to summary |
|---|---|
| pack-priv JdbcResultSetMetaData(JdbcResultSet rs, JdbcPreparedStatement prep, ResultInterface result, String catalog, Trace trace, int id) | |
| checkClosed | back to summary |
|---|---|
| private void checkClosed() | |
| getCatalogName | back to summary |
|---|---|
| public String getCatalogName(int column) throws SQLException Implements java. Returns the catalog name.
| |
| getColumn | back to summary |
|---|---|
| private int getColumn(String methodName, int columnIndex) Writes trace information and checks validity of this object and parameter.
| |
| getColumnClassName | back to summary |
|---|---|
| public String getColumnClassName(int column) throws SQLException Implements java. Gets the Java class name of the object that will be returned if ResultSet.getObject is called.
| |
| getColumnCount | back to summary |
|---|---|
| public int getColumnCount() throws SQLException Implements java. Returns the number of columns.
| |
| getColumnDisplaySize | back to summary |
|---|---|
| public int getColumnDisplaySize(int column) throws SQLException Implements java. Gets the maximum display size for this column.
| |
| getColumnLabel | back to summary |
|---|---|
| public String getColumnLabel(int column) throws SQLException Implements java. Returns the column label.
| |
| getColumnName | back to summary |
|---|---|
| public String getColumnName(int column) throws SQLException Implements java. Returns the column name.
| |
| getColumnType | back to summary |
|---|---|
| public int getColumnType(int column) throws SQLException Implements java. Returns the data type of a column. See also java.sql.Type.
| |
| getColumnTypeName | back to summary |
|---|---|
| public String getColumnTypeName(int column) throws SQLException Implements java. Returns the data type name of a column.
| |
| getPrecision | back to summary |
|---|---|
| public int getPrecision(int column) throws SQLException Implements java. Gets the precision for this column.
| |
| getScale | back to summary |
|---|---|
| public int getScale(int column) throws SQLException Implements java. Gets the scale for this column.
| |
| getSchemaName | back to summary |
|---|---|
| public String getSchemaName(int column) throws SQLException Implements java. Returns the schema name.
| |
| getTableName | back to summary |
|---|---|
| public String getTableName(int column) throws SQLException Implements java. Returns the table name.
| |
| isAutoIncrement | back to summary |
|---|---|
| public boolean isAutoIncrement(int column) throws SQLException Implements java. Checks if this an autoincrement column.
| |
| isCaseSensitive | back to summary |
|---|---|
| public boolean isCaseSensitive(int column) throws SQLException Implements java. Checks if this column is case sensitive. It always returns true.
| |
| isCurrency | back to summary |
|---|---|
| public boolean isCurrency(int column) throws SQLException Implements java. Checks if this is a currency column. It always returns false.
| |
| isDefinitelyWritable | back to summary |
|---|---|
| public boolean isDefinitelyWritable(int column) throws SQLException Implements java. Checks whether a write on this column will definitely succeed. It always returns false.
| |
| isNullable | back to summary |
|---|---|
| public int isNullable(int column) throws SQLException Implements java. Checks if this is nullable column. Returns ResultSetMetaData.columnNullableUnknown if this is not a column of a table. Otherwise, it returns ResultSetMetaData.columnNoNulls if the column is not nullable, and ResultSetMetaData.columnNullable if it is nullable.
| |
| isReadOnly | back to summary |
|---|---|
| public boolean isReadOnly(int column) throws SQLException Implements java. Checks if this column is read only. It always returns false.
| |
| isSearchable | back to summary |
|---|---|
| public boolean isSearchable(int column) throws SQLException Implements java. Checks if this column is searchable. It always returns true.
| |
| isSigned | back to summary |
|---|---|
| public boolean isSigned(int column) throws SQLException Implements java. Checks if this column is signed. Returns true for numeric columns.
| |
| isWrapperFor | back to summary |
|---|---|
| public boolean isWrapperFor(Class<?> iface) throws SQLException Implements java. Checks if unwrap can return an object of this class.
| |
| isWritable | back to summary |
|---|---|
| public boolean isWritable(int column) throws SQLException Implements java. Checks whether it is possible for a write on this column to succeed. It always returns true.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. INTERNAL
| |
| unwrap | back to summary |
|---|---|
| public <T> T unwrap(Class<T> iface) throws SQLException Implements java. Return an object of this class if possible.
| |