Methods Summary |
---|
public native boolean | compile()Compile the next SQL statement for the SQLite VM instance.
|
protected native void | finalize()Destructor for object.
|
private static native void | internal_init()Internal native initializer.
|
public native boolean | step(Callback cb)Perform one step on compiled SQLite VM.
The result row is passed to the given callback interface.
Example:
...
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) {
}
|
public native void | stop()Abort the compiled SQLite VM.
|