Public Member Functions | |
ResultSetMetaData (DriverResultSet rs) | |
int | getColumnCount () throws SQLException |
boolean | isAutoIncrement (int column) throws SQLException |
boolean | isCaseSensitive (int column) throws SQLException |
boolean | isSearchable (int column) throws SQLException |
boolean | isCurrency (int column) throws SQLException |
int | isNullable (int column) throws SQLException |
boolean | isSigned (int column) throws SQLException |
int | getColumnDisplaySize (int column) throws SQLException |
String | getColumnLabel (int column) throws SQLException |
String | getColumnName (int column) throws SQLException |
String | getSchemaName (int column) throws SQLException |
int | getPrecision (int column) throws SQLException |
int | getScale (int column) throws SQLException |
String | getTableName (int column) throws SQLException |
String | getCatalogName (int column) throws SQLException |
int | getColumnType (int column) throws SQLException |
String | getColumnTypeName (int column) throws SQLException |
boolean | isReadOnly (int column) throws SQLException |
boolean | isWritable (int column) throws SQLException |
boolean | isDefinitelyWritable (int column) throws SQLException |
String | getColumnClassName (int column) throws SQLException |
Definition at line 36 of file ResultSetMetaData.java.
|
Constructs a ResultSetMetaData from a C-JDBC ResultSet.
Definition at line 45 of file ResultSetMetaData.java. 00046 {
00047 this.rs = rs;
00048 }
|
|
Definition at line 191 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00192 { 00193 if ((column < 1) || (column > rs.nbOfColumns)) 00194 throw new SQLException("Invalid column index " + column); 00195 return ""; 00196 }
|
|
Definition at line 251 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.Field.getColumnClassName(), and org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00252 { 00253 if ((column < 1) || (column > rs.nbOfColumns)) 00254 throw new SQLException("Invalid column index " + column); 00255 return rs.fields[column - 1].getColumnClassName(); 00256 }
|
|
Definition at line 53 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00054 {
00055 return rs.nbOfColumns;
00056 }
|
|
Definition at line 121 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.Field.getColumnDisplaySize(), and org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00122 { 00123 if ((column < 1) || (column > rs.nbOfColumns)) 00124 throw new SQLException("Invalid column index " + column); 00125 return rs.fields[column - 1].getColumnDisplaySize(); 00126 }
|
|
Definition at line 131 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.Field.getFieldName(), and org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00132 { 00133 if ((column < 1) || (column > rs.nbOfColumns)) 00134 throw new SQLException("Invalid column index " + column); 00135 return rs.fields[column - 1].getFieldName(); 00136 }
|
|
Definition at line 141 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.Field.getFieldName(), and org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00142 { 00143 if ((column < 1) || (column > rs.nbOfColumns)) 00144 throw new SQLException("Invalid column index " + column); 00145 return rs.fields[column - 1].getFieldName(); 00146 }
|
|
Definition at line 201 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.Field.getSqlType(), and org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00202 { 00203 if ((column < 1) || (column > rs.nbOfColumns)) 00204 throw new SQLException("Invalid column index " + column); 00205 return rs.fields[column - 1].getSqlType(); 00206 }
|
|
Definition at line 211 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.Field.getTypeName(), and org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00212 { 00213 if ((column < 1) || (column > rs.nbOfColumns)) 00214 throw new SQLException("Invalid column index " + column); 00215 return rs.fields[column - 1].getTypeName(); 00216 }
|
|
Definition at line 161 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.Field.getPrecision(), and org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00162 { 00163 if ((column < 1) || (column > rs.nbOfColumns)) 00164 throw new SQLException("Invalid column index " + column); 00165 return rs.fields[column - 1].getPrecision(); 00166 }
|
|
Definition at line 171 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.Field.getScale(), and org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00172 { 00173 if ((column < 1) || (column > rs.nbOfColumns)) 00174 throw new SQLException("Invalid column index " + column); 00175 return rs.fields[column - 1].getScale(); 00176 }
|
|
Definition at line 151 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.Field.getFullName(), and org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00152 { 00153 if ((column < 1) || (column > rs.nbOfColumns)) 00154 throw new SQLException("Invalid column index " + column); 00155 return rs.fields[column - 1].getFullName(); 00156 }
|
|
Definition at line 181 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.Field.getTableName(), and org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00182 { 00183 if ((column < 1) || (column > rs.nbOfColumns)) 00184 throw new SQLException("Invalid column index " + column); 00185 return rs.fields[column - 1].getTableName(); 00186 }
|
|
Definition at line 61 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.Field.isAutoIncrement, and org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00062 { 00063 if ((column < 1) || (column > rs.nbOfColumns)) 00064 throw new SQLException("Invalid column index " + column); 00065 return rs.fields[column - 1].isAutoIncrement(); 00066 }
|
|
Definition at line 71 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.Field.isCaseSensitive, and org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00072 { 00073 if ((column < 1) || (column > rs.nbOfColumns)) 00074 throw new SQLException("Invalid column index " + column); 00075 return rs.fields[column - 1].isCaseSensitive(); 00076 }
|
|
Definition at line 91 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.Field.isCurrency, and org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00092 { 00093 if ((column < 1) || (column > rs.nbOfColumns)) 00094 throw new SQLException("Invalid column index " + column); 00095 return rs.fields[column - 1].isCurrency(); 00096 }
|
|
Definition at line 241 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.Field.isDefinitelyWritable, and org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00242 { 00243 if ((column < 1) || (column > rs.nbOfColumns)) 00244 throw new SQLException("Invalid column index " + column); 00245 return rs.fields[column - 1].isDefinitelyWritable(); 00246 }
|
|
Definition at line 101 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.Field.isNullable, and org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00102 { 00103 if ((column < 1) || (column > rs.nbOfColumns)) 00104 throw new SQLException("Invalid column index " + column); 00105 return rs.fields[column - 1].isNullable(); 00106 }
|
|
Definition at line 221 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.Field.isReadOnly, and org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00222 { 00223 if ((column < 1) || (column > rs.nbOfColumns)) 00224 throw new SQLException("Invalid column index " + column); 00225 return rs.fields[column - 1].isReadOnly(); 00226 }
|
|
Definition at line 81 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.Field.isSearchable, and org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00082 { 00083 if ((column < 1) || (column > rs.nbOfColumns)) 00084 throw new SQLException("Invalid column index " + column); 00085 return rs.fields[column - 1].isSearchable(); 00086 }
|
|
Definition at line 111 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.Field.isSigned, and org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00112 { 00113 if ((column < 1) || (column > rs.nbOfColumns)) 00114 throw new SQLException("Invalid column index " + column); 00115 return rs.fields[column - 1].isSigned(); 00116 }
|
|
Definition at line 231 of file ResultSetMetaData.java. References org.objectweb.cjdbc.driver.DriverResultSet.fields, org.objectweb.cjdbc.driver.Field.isWritable, and org.objectweb.cjdbc.driver.DriverResultSet.nbOfColumns. 00232 { 00233 if ((column < 1) || (column > rs.nbOfColumns)) 00234 throw new SQLException("Invalid column index " + column); 00235 return rs.fields[column - 1].isWritable(); 00236 }
|