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

Public 成员函数

包属性

额外继承的成员函数

详细描述

在文件 sqlcipher.xcsm451 行定义.

构造及析构函数说明

◆ SQLCipherResultSet()

SQLCipherResultSet ( SQLCipher  db,
SQLCipherPreparedStatement  _sps 
)

在文件 sqlcipher.xcsm456 行定义.

456 {
457 sqlite = db;
458 sps = _sps;
459 parseResult();
460 }
SQLCipherPreparedStatement sps

引用了 SQLCipher.SQLCipherResultSet.parseResult().

函数调用图:

成员函数说明

◆ close()

void close ( )
override

重载 ResultSet .

在文件 sqlcipher.xcsm593 行定义.

593 {
594
595 }

◆ findColumn()

int findColumn ( String  label)
override

重载 ResultSet .

在文件 sqlcipher.xcsm579 行定义.

579 {
580 return label2idx(label);
581 }
int label2idx(String label)

引用了 SQLCipher.SQLCipherResultSet.label2idx().

函数调用图:

◆ first()

bool first ( )
override

重载 ResultSet .

在文件 sqlcipher.xcsm482 行定义.

482 {
483 throw new Sql.DatabaseNotSupportException("first");
484 return false;
485 }
Definition xsql.xcs:3

◆ getBoolean() [1/2]

bool getBoolean ( int  columnIndex)
override

重载 ResultSet .

在文件 sqlcipher.xcsm569 行定义.

569 {
570 return Native.sqlite3_column_int(sps.getHandle(), columnIndex)!= 0;
571 }

◆ getBoolean() [2/2]

bool getBoolean ( String  columnlabel)
override

重载 ResultSet .

在文件 sqlcipher.xcsm541 行定义.

541 {
542 return Native.sqlite3_column_int(sps.getHandle(), label2idx(columnlabel)) != 0;
543 }

引用了 SQLCipher.SQLCipherResultSet.label2idx().

函数调用图:

◆ getByte() [1/2]

byte getByte ( int  columnIndex)
override

重载 ResultSet .

在文件 sqlcipher.xcsm565 行定义.

565 {
566 return Native.sqlite3_column_int(sps.getHandle(), columnIndex);
567 }

◆ getByte() [2/2]

byte getByte ( String  columnlabel)
override

重载 ResultSet .

在文件 sqlcipher.xcsm537 行定义.

537 {
538 return Native.sqlite3_column_int(sps.getHandle(), label2idx(columnlabel));
539 }

引用了 SQLCipher.SQLCipherResultSet.label2idx().

函数调用图:

◆ getColumnCount()

int getColumnCount ( )
override

重载 ResultSet .

在文件 sqlcipher.xcsm462 行定义.

462 {
463 return Native.sqlite3_column_count(sps.getHandle());
464 }

◆ getColumnName()

String getColumnName ( int  n)
override

重载 ResultSet .

在文件 sqlcipher.xcsm466 行定义.

466 {
467 return Native.sqlite3_column_name(sps.getHandle(), n);
468 }

◆ getDouble() [1/2]

double getDouble ( int  columnIndex)
override

重载 ResultSet .

在文件 sqlcipher.xcsm561 行定义.

561 {
562 return Native.sqlite3_column_double(sps.getHandle(), columnIndex);
563 }

◆ getDouble() [2/2]

double getDouble ( String  columnlabel)
override

重载 ResultSet .

在文件 sqlcipher.xcsm533 行定义.

533 {
534 return Native.sqlite3_column_double(sps.getHandle(), label2idx(columnlabel));
535 }

引用了 SQLCipher.SQLCipherResultSet.label2idx().

函数调用图:

◆ getFloat() [1/2]

float getFloat ( int  columnIndex)
override

重载 ResultSet .

在文件 sqlcipher.xcsm557 行定义.

557 {
558 return getString(columnIndex).parseFloat();
559 }
String getString(String columnlabel) override
float parseFloat()

引用了 SQLCipher.SQLCipherResultSet.getString() , 以及 String.parseFloat().

函数调用图:

◆ getFloat() [2/2]

float getFloat ( String  columnlabel)
override

重载 ResultSet .

在文件 sqlcipher.xcsm529 行定义.

529 {
530 return getString(columnlabel).parseFloat();
531 }

引用了 SQLCipher.SQLCipherResultSet.getString() , 以及 String.parseFloat().

函数调用图:

◆ getInt() [1/2]

int getInt ( int  columnIndex)
override

重载 ResultSet .

在文件 sqlcipher.xcsm549 行定义.

549 {
550 return Native.sqlite3_column_int(sps.getHandle(), columnIndex);
551 }

◆ getInt() [2/2]

int getInt ( String  columnlabel)
override

重载 ResultSet .

在文件 sqlcipher.xcsm521 行定义.

521 {
522 return Native.sqlite3_column_int(sps.getHandle(), label2idx(columnlabel));
523 }

引用了 SQLCipher.SQLCipherResultSet.label2idx().

函数调用图:

◆ getLong() [1/2]

long getLong ( int  columnIndex)
override

重载 ResultSet .

在文件 sqlcipher.xcsm553 行定义.

553 {
554 return Native.sqlite3_column_int64(sps.getHandle(), columnIndex);
555 }

◆ getLong() [2/2]

long getLong ( String  columnlabel)
override

重载 ResultSet .

在文件 sqlcipher.xcsm525 行定义.

525 {
526 return Native.sqlite3_column_int64(sps.getHandle(), label2idx(columnlabel));
527 }

引用了 SQLCipher.SQLCipherResultSet.label2idx().

函数调用图:

◆ getRow()

int getRow ( )
override

重载 ResultSet .

在文件 sqlcipher.xcsm588 行定义.

588 {
589 throw new Sql.DatabaseNotSupportException("getRow");
590 return 0;
591 }

◆ getRowCount()

long getRowCount ( )
override

重载 ResultSet .

在文件 sqlcipher.xcsm583 行定义.

583 {
584 throw new Sql.DatabaseNotSupportException("getRow");
585 return 0;
586 }

◆ getString() [1/2]

String getString ( int  columnIndex)
override

重载 ResultSet .

在文件 sqlcipher.xcsm573 行定义.

573 {
574 return Native.sqlite3_column_text(sps.getHandle(), columnIndex);
575 }

◆ getString() [2/2]

String getString ( String  columnlabel)
override

重载 ResultSet .

在文件 sqlcipher.xcsm545 行定义.

545 {
546 return Native.sqlite3_column_text(sps.getHandle(), label2idx(columnlabel));
547 }

引用了 SQLCipher.SQLCipherResultSet.label2idx().

被这些函数引用 SQLCipher.SQLCipherResultSet.getFloat() , 以及 SQLCipher.SQLCipherResultSet.getFloat().

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

◆ isEof()

bool isEof ( )
override

重载 ResultSet .

在文件 sqlcipher.xcsm516 行定义.

516 {
517 throw new Sql.DatabaseNotSupportException("isEof");
518 return false;
519 }

◆ isFirst()

bool isFirst ( )
override

重载 ResultSet .

在文件 sqlcipher.xcsm502 行定义.

502 {
503 throw new Sql.DatabaseNotSupportException("isFirst");
504 return false;
505 }

◆ isLast()

bool isLast ( )
override

重载 ResultSet .

在文件 sqlcipher.xcsm507 行定义.

507 {
508 throw new Sql.DatabaseNotSupportException("isLast");
509 return false;
510 }

◆ isValid()

bool isValid ( )
override

重载 ResultSet .

在文件 sqlcipher.xcsm512 行定义.

512 {
513 return sps != nilptr && (sps.getHandle() != 0);
514 }

◆ label2idx()

◆ last()

bool last ( )
override

重载 ResultSet .

在文件 sqlcipher.xcsm487 行定义.

487 {
488 throw new Sql.DatabaseNotSupportException("last");
489 return false;
490 }

◆ next()

bool next ( )
override

重载 ResultSet .

在文件 sqlcipher.xcsm492 行定义.

492 {
493 int code = Native.sqlite3_step(sps.getHandle());
494 return 100 == code;
495 }

◆ parseResult()

void parseResult ( )

在文件 sqlcipher.xcsm470 行定义.

470 {
471 int ncolumn = Native.sqlite3_column_count(sps.getHandle());
472 for (int i = 0; i < ncolumn; i++){
473 String colutext = Native.sqlite3_column_name(sps.getHandle(), i);
474 __fields_Map.put(colutext, i);
475 }
476 }
Definition String.x:5

被这些函数引用 SQLCipher.SQLCipherResultSet.SQLCipherResultSet().

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

◆ previous()

bool previous ( )
override

重载 ResultSet .

在文件 sqlcipher.xcsm497 行定义.

497 {
498 throw new Sql.DatabaseNotSupportException("previous");
499 return false;
500 }

结构体成员变量说明

◆ __fields_Map

Map<String, int> __fields_Map = new Map<String, int>()
package

在文件 sqlcipher.xcsm454 行定义.

◆ sps

SQLCipherPreparedStatement sps
package

在文件 sqlcipher.xcsm453 行定义.

◆ sqlite

SQLCipher sqlite
package

在文件 sqlcipher.xcsm452 行定义.