xlang v5.1 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
Mysql.MysqlResultSet类 参考
类 Mysql.MysqlResultSet 继承关系图:
Inheritance graph
Mysql.MysqlResultSet 的协作图:
Collaboration graph

Public 成员函数

包函数

包属性

额外继承的成员函数

详细描述

在文件 Mysql.xcsm236 行定义.

构造及析构函数说明

◆ MysqlResultSet()

MysqlResultSet ( long  r)

在文件 Mysql.xcsm239 行定义.

239 {
240 hres = Helper.rs_create (r);
241 }

成员函数说明

◆ close()

void close ( )
override

重载 ResultSet .

在文件 Mysql.xcsm358 行定义.

358 {
359 if (hres != 0) {
360 Helper.rs_free (hres);
361 hres = 0;
362 }
363 }

被这些函数引用 Mysql.MysqlResultSet.finalize().

这是这个函数的调用关系图:

◆ finalize()

void finalize ( )
package

在文件 Mysql.xcsm365 行定义.

365 {
366 close();
367 }
void close() override
Definition Mysql.xcsm:358

引用了 Mysql.MysqlResultSet.close().

函数调用图:

◆ findColumn()

int findColumn ( String  )
override

重载 ResultSet .

在文件 Mysql.xcsm334 行定义.

334 {
335 throw new Sql.DatabaseNotSupportException ("findColumn");
336 return -1;
337 }

◆ first()

bool first ( )
override

重载 ResultSet .

在文件 Mysql.xcsm243 行定义.

243 {
244 return Helper.rs_first (hres);
245 }

◆ getBoolean() [1/2]

bool getBoolean ( int  columnIndex)
override

重载 ResultSet .

在文件 Mysql.xcsm326 行定义.

326 {
327 return Helper.rs_getIValueI (hres, columnIndex) != 0;
328 }

◆ getBoolean() [2/2]

bool getBoolean ( String  columnlabel)
override

重载 ResultSet .

在文件 Mysql.xcsm298 行定义.

298 {
299 return Helper.rs_getValueI (hres, columnlabel) != 0;
300 }

◆ getByte() [1/2]

byte getByte ( int  columnIndex)
override

重载 ResultSet .

在文件 Mysql.xcsm322 行定义.

322 {
323 return Helper.rs_getIValueI (hres, columnIndex);
324 }

◆ getByte() [2/2]

byte getByte ( String  columnlabel)
override

重载 ResultSet .

在文件 Mysql.xcsm294 行定义.

294 {
295 return Helper.rs_getValueI (hres, columnlabel);
296 }

◆ getColumnCount()

int getColumnCount ( )
override

重载 ResultSet .

在文件 Mysql.xcsm344 行定义.

344 {
345 throw new Sql.DatabaseNotSupportException ("getColumnCount");
346 return -1;
347 }

◆ getColumnName()

String getColumnName ( int  i)
override

重载 ResultSet .

在文件 Mysql.xcsm339 行定义.

339 {
340 throw new Sql.DatabaseNotSupportException ("getColumnName");
341 return nilptr;
342 }

◆ getDouble() [1/2]

double getDouble ( int  columnIndex)
override

重载 ResultSet .

在文件 Mysql.xcsm314 行定义.

314 {
315 return Helper.rs_getIValueD (hres, columnIndex);
316 }

◆ getDouble() [2/2]

double getDouble ( String  columnlabel)
override

重载 ResultSet .

在文件 Mysql.xcsm290 行定义.

290 {
291 return Helper.rs_getValueD (hres, columnlabel);
292 }

◆ getFloat() [1/2]

float getFloat ( int  columnIndex)
override

重载 ResultSet .

在文件 Mysql.xcsm318 行定义.

318 {
319 return getString(columnIndex).parseFloat();
320 }
String getString(String columnlabel) override
Definition Mysql.xcsm:302
float parseFloat()

引用了 Mysql.MysqlResultSet.getString() , 以及 String.parseFloat().

函数调用图:

◆ getFloat() [2/2]

float getFloat ( String  columnlabel)
override

重载 ResultSet .

在文件 Mysql.xcsm286 行定义.

286 {
287 return getString(columnlabel).parseFloat();
288 }

引用了 Mysql.MysqlResultSet.getString() , 以及 String.parseFloat().

函数调用图:

◆ getInt() [1/2]

int getInt ( int  columnIndex)
override

重载 ResultSet .

在文件 Mysql.xcsm306 行定义.

306 {
307 return Helper.rs_getIValueI (hres, columnIndex);
308 }

◆ getInt() [2/2]

int getInt ( String  columnlabel)
override

重载 ResultSet .

在文件 Mysql.xcsm278 行定义.

278 {
279 return Helper.rs_getValueI (hres, columnlabel);
280 }

◆ getLong() [1/2]

long getLong ( int  columnIndex)
override

重载 ResultSet .

在文件 Mysql.xcsm310 行定义.

310 {
311 return Helper.rs_getIValueL (hres, columnIndex);
312 }

◆ getLong() [2/2]

long getLong ( String  columnlabel)
override

重载 ResultSet .

在文件 Mysql.xcsm282 行定义.

282 {
283 return Helper.rs_getValueL (hres, columnlabel);
284 }

◆ getRow()

int getRow ( )
override

重载 ResultSet .

在文件 Mysql.xcsm353 行定义.

353 {
354 throw new Sql.DatabaseNotSupportException ("getRow");
355 return 0;
356 }

◆ getRowCount()

long getRowCount ( )
override

重载 ResultSet .

在文件 Mysql.xcsm349 行定义.

349 {
350 return Helper.rs_getRowCount (hres);
351 }

◆ getString() [1/2]

String getString ( int  columnIndex)
override

重载 ResultSet .

在文件 Mysql.xcsm330 行定义.

330 {
331 return Helper.rs_getIValue (hres, columnIndex);
332 }

◆ getString() [2/2]

String getString ( String  columnlabel)
override

重载 ResultSet .

在文件 Mysql.xcsm302 行定义.

302 {
303 return Helper.rs_getValue (hres, columnlabel);
304 }

被这些函数引用 Mysql.MysqlResultSet.getFloat() , 以及 Mysql.MysqlResultSet.getFloat().

这是这个函数的调用关系图:

◆ isEof()

bool isEof ( )
override

重载 ResultSet .

在文件 Mysql.xcsm255 行定义.

255 {
256 throw new Sql.DatabaseNotSupportException ("isEof");
257 return false;
258 }

◆ isFirst()

bool isFirst ( )
override

重载 ResultSet .

在文件 Mysql.xcsm265 行定义.

265 {
266 throw new Sql.DatabaseNotSupportException ("isFirst");
267 return false;
268 }

◆ isLast()

bool isLast ( )
override

重载 ResultSet .

在文件 Mysql.xcsm270 行定义.

270 {
271 return Helper.rs_isLast (hres);
272 }

◆ isValid()

bool isValid ( )
override

重载 ResultSet .

在文件 Mysql.xcsm274 行定义.

274 {
275 return Helper.rs_isValid (hres);
276 }

◆ last()

bool last ( )
override

重载 ResultSet .

在文件 Mysql.xcsm247 行定义.

247 {
248 return Helper.rs_last (hres);
249 }

◆ next()

bool next ( )
override

重载 ResultSet .

在文件 Mysql.xcsm251 行定义.

251 {
252 return Helper.rs_next (hres);
253 }

◆ previous()

bool previous ( )
override

重载 ResultSet .

在文件 Mysql.xcsm260 行定义.

260 {
261 throw new Sql.DatabaseNotSupportException ("previous");
262 return false;
263 }

结构体成员变量说明

◆ hres

long hres
package

在文件 Mysql.xcsm237 行定义.