package SQLite;
/**
* Class to represent compiled SQLite VM.
*/
public class Vm {
/**
* Internal handle for the compiled SQLite VM.
*/
private long handle = 0;
/**
* Internal last error code for compile()/step() methods.
*/
protected int error_code = 0;
/**
* Perform one step on compiled SQLite VM.
* The result row is passed to the given callback interface.<BR><BR>
*
* Example:<BR>
* <PRE>
* ...
* try {
* Vm vm = db.compile("select * from x; select * from y;");
* while (vm.step(cb)) {
* ...
* }
* while (vm.compile()) {
* while (vm.step(cb)) {
* ...
* }
* }
* } catch (SQLite.Exception e) {
* }
* </PRE>
*
* @param cb the object implementing the callback methods.
* @return true as long as more row data can be retrieved,
* false, otherwise.
*/
public native boolean step(Callback cb) throws SQLite.Exception;
/**
* Compile the next SQL statement for the SQLite VM instance.
* @return true when SQL statement has been compiled, false
* on end of statement sequence.
*/
public native boolean compile() throws SQLite.Exception;
/**
* Abort the compiled SQLite VM.
*/
public native void stop() throws SQLite.Exception;
/**
* Destructor for object.
*/
protected native void finalize();
/**
* Internal native initializer.
*/
private static native void internal_init();
static {
internal_init();
}
}
Vm.rar_class
版权申诉
45 浏览量
2022-09-14
21:22:57
上传
评论
收藏 1KB RAR 举报
刘良运
- 粉丝: 69
- 资源: 1万+
最新资源
- 数据流图数据流图数据流图数据流图数据流图.txt
- 西北工业大学软件工程或计算机专业程序设计III基础大作业第一题万年历
- k-means聚类算法k-means聚类算法k-means聚类算法k-means聚类算法.txt
- 简单的EA程序,均线趋势交易
- 电脑工具集(非常好用)
- python爬虫-10-where条件语句-范围查询.ev4.rar
- python爬虫-09-where条件语句-逻辑运算符.ev4.rar
- ubuntu安装nvidia显卡驱动ubuntu安装nvidia显卡驱动ubuntuubuntu安装nvidia显卡驱动.txt
- python爬虫-08-where条件语句-比较运算符.ev4.rar
- android超炫的图片浏览器.rar
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈