Class of snx.android.db · SQLite.java
public final class SQLite
SQLite's C library, the HLE of libsqlite and its JNI (src/android/db/sqlite_jni.c). Handles are its pointers.
public static final int OPEN_READONLY = 0x1 sourcepublic static final int OPEN_READWRITE = 0x2 sourcepublic static final int OPEN_CREATE = 0x4 sourcepublic static final int ROW = 100 sourcepublic static final int DONE = 101 sourcepublic static final int INTEGER = 1 sourcepublic static final int FLOAT = 2 sourcepublic static final int TEXT = 3 sourcepublic static final int BLOB = 4 sourcepublic static final int NULL = 5 sourcepublic static native long open(String path, int flags) native sourceA database, or an exception with SQLite's message.
public static native void close(long db) native sourcepublic static native long prepare(long db, String sql) native sourcepublic static native void finalizeStatement(long statement) native sourcepublic static native void reset(long statement) native sourcepublic static native void clearBindings(long statement) native sourcepublic static native int parameterCount(long statement) native sourcepublic static native void bindNull(long statement, int index) native sourcepublic static native void bindLong(long statement, int index, long value) native sourcepublic static native void bindDouble(long statement, int index, double value) native sourcepublic static native void bindString(long statement, int index, String value) native sourcepublic static native void bindBlob(long statement, int index, byte[] value) native sourcepublic static native int step(long statement) native sourceOne step: ROW or DONE, or an exception with SQLite's message.
public static native int columnCount(long statement) native sourcepublic static native String columnName(long statement, int index) native sourcepublic static native int columnType(long statement, int index) native sourcepublic static native long columnLong(long statement, int index) native sourcepublic static native double columnDouble(long statement, int index) native sourcepublic static native String columnString(long statement, int index) native sourcepublic static native byte[] columnBlob(long statement, int index) native sourcepublic static native int changes(long db) native sourcepublic static native long lastInsertRowId(long db) native sourcepublic static native boolean readOnly(long statement) native sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.