xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
Public 成员函数 | 包属性
SQLCipher.SQLCipherResultSet类 参考
类 SQLCipher.SQLCipherResultSet 继承关系图:
ResultSet

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.xcsm585 行定义.

585 {
586
587 }

◆ findColumn()

int findColumn ( String  label)
override

实现了 ResultSet.

在文件 sqlcipher.xcsm571 行定义.

571 {
572 return label2idx(label);
573 }
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.xcsm561 行定义.

561 {
562 return Native.sqlite3_column_int(sps.getHandle(), columnIndex)!= 0;
563 }

◆ getBoolean() [2/2]

bool getBoolean ( String  columnlabel)
override

实现了 ResultSet.

在文件 sqlcipher.xcsm537 行定义.

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

引用了 SQLCipher.SQLCipherResultSet.label2idx().

◆ getByte() [1/2]

byte getByte ( int  columnIndex)
override

实现了 ResultSet.

在文件 sqlcipher.xcsm557 行定义.

557 {
558 return Native.sqlite3_column_int(sps.getHandle(), columnIndex);
559 }

◆ getByte() [2/2]

byte getByte ( String  columnlabel)
override

实现了 ResultSet.

在文件 sqlcipher.xcsm533 行定义.

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

引用了 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)

实现了 ResultSet.

在文件 sqlcipher.xcsm466 行定义.

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

◆ getDouble() [1/2]

double getDouble ( int  columnIndex)
override

实现了 ResultSet.

在文件 sqlcipher.xcsm553 行定义.

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

◆ getDouble() [2/2]

double getDouble ( String  columnlabel)
override

实现了 ResultSet.

在文件 sqlcipher.xcsm529 行定义.

529 {
530 return Native.sqlite3_column_double(sps.getHandle(), label2idx(columnlabel));
531 }

引用了 SQLCipher.SQLCipherResultSet.label2idx().

◆ getInt() [1/2]

int getInt ( int  columnIndex)
override

实现了 ResultSet.

在文件 sqlcipher.xcsm545 行定义.

545 {
546 return Native.sqlite3_column_int(sps.getHandle(), columnIndex);
547 }

◆ 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.xcsm549 行定义.

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

◆ 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.xcsm580 行定义.

580 {
581 throw new Sql.DatabaseNotSupportException("getRow");
582 return 0;
583 }

◆ getRowCount()

long getRowCount ( )
override

实现了 ResultSet.

在文件 sqlcipher.xcsm575 行定义.

575 {
576 throw new Sql.DatabaseNotSupportException("getRow");
577 return 0;
578 }

◆ getString() [1/2]

String getString ( int  columnIndex)
override

实现了 ResultSet.

在文件 sqlcipher.xcsm565 行定义.

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

◆ getString() [2/2]

String getString ( String  columnlabel)
override

实现了 ResultSet.

在文件 sqlcipher.xcsm541 行定义.

541 {
542 return Native.sqlite3_column_text(sps.getHandle(), label2idx(columnlabel));
543 }

引用了 SQLCipher.SQLCipherResultSet.label2idx().

◆ 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()

int label2idx ( String  label)

◆ 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 }
Iterator put(K, V)
字符串类

引用了 Map<_K, _V>.put().

被这些函数引用 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 行定义.