[−]Struct jni_android_sys::android::database::sqlite::SQLiteDatabase
public final class SQLiteDatabase
Required feature: "android-database-sqlite-SQLiteDatabase"
Methods
impl SQLiteDatabase
pub fn releaseMemory<'env>(
__jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
pub fn setLockingEnabled<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn beginTransaction<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn beginTransactionNonExclusive<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn beginTransactionWithListener<'env>(
&'env self,
arg0: impl Into<Option<&'env SQLiteTransactionListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SQLiteTransactionListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-database-sqlite-SQLiteTransactionListener"
pub fn beginTransactionWithListenerNonExclusive<'env>(
&'env self,
arg0: impl Into<Option<&'env SQLiteTransactionListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SQLiteTransactionListener>>
) -> Result<(), Local<'env, Throwable>>
beginTransactionWithListenerNonExclusive
Required features: "android-database-sqlite-SQLiteTransactionListener"
pub fn endTransaction<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn setTransactionSuccessful<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn inTransaction<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isDbLockedByCurrentThread<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isDbLockedByOtherThreads<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn yieldIfContended<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn yieldIfContendedSafely<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn yieldIfContendedSafely_long<'env>(
&'env self,
arg0: i64
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<bool, Local<'env, Throwable>>
pub fn getSyncedTables<'env>(
&'env self
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
Required features: "java-util-Map"
pub fn openDatabase_String_CursorFactory_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg2: i32
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg2: i32
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
Required features: "android-database-sqlite-SQLiteDatabase", "android-database-sqlite-SQLiteDatabase_CursorFactory", "java-lang-String"
pub fn openDatabase_File_OpenParams<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env File>>,
arg1: impl Into<Option<&'env SQLiteDatabase_OpenParams>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env File>>,
arg1: impl Into<Option<&'env SQLiteDatabase_OpenParams>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
Required features: "android-database-sqlite-SQLiteDatabase", "android-database-sqlite-SQLiteDatabase_OpenParams", "java-io-File"
pub fn openDatabase_String_CursorFactory_int_DatabaseErrorHandler<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg2: i32,
arg3: impl Into<Option<&'env DatabaseErrorHandler>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg2: i32,
arg3: impl Into<Option<&'env DatabaseErrorHandler>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
Required features: "android-database-DatabaseErrorHandler", "android-database-sqlite-SQLiteDatabase", "android-database-sqlite-SQLiteDatabase_CursorFactory", "java-lang-String"
pub fn openOrCreateDatabase_File_CursorFactory<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env File>>,
arg1: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env File>>,
arg1: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
Required features: "android-database-sqlite-SQLiteDatabase", "android-database-sqlite-SQLiteDatabase_CursorFactory", "java-io-File"
pub fn openOrCreateDatabase_String_CursorFactory<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
Required features: "android-database-sqlite-SQLiteDatabase", "android-database-sqlite-SQLiteDatabase_CursorFactory", "java-lang-String"
pub fn openOrCreateDatabase_String_CursorFactory_DatabaseErrorHandler<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg2: impl Into<Option<&'env DatabaseErrorHandler>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg2: impl Into<Option<&'env DatabaseErrorHandler>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
Required features: "android-database-DatabaseErrorHandler", "android-database-sqlite-SQLiteDatabase", "android-database-sqlite-SQLiteDatabase_CursorFactory", "java-lang-String"
pub fn deleteDatabase<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env File>>
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env File>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn create<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
Required features: "android-database-sqlite-SQLiteDatabase", "android-database-sqlite-SQLiteDatabase_CursorFactory"
pub fn createInMemory<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env SQLiteDatabase_OpenParams>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env SQLiteDatabase_OpenParams>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
Required features: "android-database-sqlite-SQLiteDatabase", "android-database-sqlite-SQLiteDatabase_OpenParams"
pub fn getVersion<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn setVersion<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getMaximumSize<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>
[src]
pub fn setMaximumSize<'env>(
&'env self,
arg0: i64
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<i64, Local<'env, Throwable>>
pub fn getPageSize<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>
[src]
pub fn setPageSize<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn markTableSyncable_String_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn markTableSyncable_String_String_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn findEditTable<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn compileStatement<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, SQLiteStatement>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, SQLiteStatement>>, Local<'env, Throwable>>
Required features: "android-database-sqlite-SQLiteStatement", "java-lang-String"
pub fn query_boolean_String_String_array_String_String_array_String_String_String_String<'env>(
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: impl Into<Option<&'env String>>,
arg4: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env String>>,
arg7: impl Into<Option<&'env String>>,
arg8: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: impl Into<Option<&'env String>>,
arg4: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env String>>,
arg7: impl Into<Option<&'env String>>,
arg8: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
Required features: "android-database-Cursor", "java-lang-String"
pub fn query_boolean_String_String_array_String_String_array_String_String_String_String_CancellationSignal<'env>(
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: impl Into<Option<&'env String>>,
arg4: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env String>>,
arg7: impl Into<Option<&'env String>>,
arg8: impl Into<Option<&'env String>>,
arg9: impl Into<Option<&'env CancellationSignal>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: impl Into<Option<&'env String>>,
arg4: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env String>>,
arg7: impl Into<Option<&'env String>>,
arg8: impl Into<Option<&'env String>>,
arg9: impl Into<Option<&'env CancellationSignal>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
Required features: "android-database-Cursor", "android-os-CancellationSignal", "java-lang-String"
pub fn queryWithFactory_CursorFactory_boolean_String_String_array_String_String_array_String_String_String_String<'env>(
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg1: bool,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg6: impl Into<Option<&'env String>>,
arg7: impl Into<Option<&'env String>>,
arg8: impl Into<Option<&'env String>>,
arg9: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg1: bool,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg6: impl Into<Option<&'env String>>,
arg7: impl Into<Option<&'env String>>,
arg8: impl Into<Option<&'env String>>,
arg9: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
Required features: "android-database-Cursor", "android-database-sqlite-SQLiteDatabase_CursorFactory", "java-lang-String"
pub fn queryWithFactory_CursorFactory_boolean_String_String_array_String_String_array_String_String_String_String_CancellationSignal<'env>(
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg1: bool,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg6: impl Into<Option<&'env String>>,
arg7: impl Into<Option<&'env String>>,
arg8: impl Into<Option<&'env String>>,
arg9: impl Into<Option<&'env String>>,
arg10: impl Into<Option<&'env CancellationSignal>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg1: bool,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg6: impl Into<Option<&'env String>>,
arg7: impl Into<Option<&'env String>>,
arg8: impl Into<Option<&'env String>>,
arg9: impl Into<Option<&'env String>>,
arg10: impl Into<Option<&'env CancellationSignal>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
Required features: "android-database-Cursor", "android-database-sqlite-SQLiteDatabase_CursorFactory", "android-os-CancellationSignal", "java-lang-String"
pub fn query_String_String_array_String_String_array_String_String_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
Required features: "android-database-Cursor", "java-lang-String"
pub fn query_String_String_array_String_String_array_String_String_String_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env String>>,
arg7: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env String>>,
arg7: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
Required features: "android-database-Cursor", "java-lang-String"
pub fn rawQuery_String_String_array<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
Required features: "android-database-Cursor", "java-lang-String"
pub fn rawQuery_String_String_array_CancellationSignal<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env CancellationSignal>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env CancellationSignal>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
Required features: "android-database-Cursor", "android-os-CancellationSignal", "java-lang-String"
pub fn rawQueryWithFactory_CursorFactory_String_String_array_String<'env>(
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
Required features: "android-database-Cursor", "android-database-sqlite-SQLiteDatabase_CursorFactory", "java-lang-String"
pub fn rawQueryWithFactory_CursorFactory_String_String_array_String_CancellationSignal<'env>(
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: impl Into<Option<&'env String>>,
arg4: impl Into<Option<&'env CancellationSignal>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: impl Into<Option<&'env String>>,
arg4: impl Into<Option<&'env CancellationSignal>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
Required features: "android-database-Cursor", "android-database-sqlite-SQLiteDatabase_CursorFactory", "android-os-CancellationSignal", "java-lang-String"
pub fn insert<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ContentValues>>
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ContentValues>>
) -> Result<i64, Local<'env, Throwable>>
Required features: "android-content-ContentValues", "java-lang-String"
pub fn insertOrThrow<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ContentValues>>
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ContentValues>>
) -> Result<i64, Local<'env, Throwable>>
Required features: "android-content-ContentValues", "java-lang-String"
pub fn replace<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ContentValues>>
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ContentValues>>
) -> Result<i64, Local<'env, Throwable>>
Required features: "android-content-ContentValues", "java-lang-String"
pub fn replaceOrThrow<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ContentValues>>
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ContentValues>>
) -> Result<i64, Local<'env, Throwable>>
Required features: "android-content-ContentValues", "java-lang-String"
pub fn insertWithOnConflict<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ContentValues>>,
arg3: i32
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ContentValues>>,
arg3: i32
) -> Result<i64, Local<'env, Throwable>>
Required features: "android-content-ContentValues", "java-lang-String"
pub fn delete<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn update<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ContentValues>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ContentValues>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-content-ContentValues", "java-lang-String"
pub fn updateWithOnConflict<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ContentValues>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ContentValues>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: i32
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-content-ContentValues", "java-lang-String"
pub fn execSQL_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn execSQL_String_Object_array<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-String"
pub fn validateSql<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env CancellationSignal>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env CancellationSignal>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-CancellationSignal", "java-lang-String"
pub fn isReadOnly<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isOpen<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn needUpgrade<'env>(
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn getPath<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setLocale<'env>(
&'env self,
arg0: impl Into<Option<&'env Locale>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Locale>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-Locale"
pub fn setMaxSqlCacheSize<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setForeignKeyConstraintsEnabled<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn enableWriteAheadLogging<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn disableWriteAheadLogging<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn isWriteAheadLoggingEnabled<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getAttachedDbs<'env>(
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn isDatabaseIntegrityOk<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub const CONFLICT_ABORT: i32
[src]
public static final CONFLICT_ABORT
pub const CONFLICT_FAIL: i32
[src]
public static final CONFLICT_FAIL
pub const CONFLICT_IGNORE: i32
[src]
public static final CONFLICT_IGNORE
pub const CONFLICT_NONE: i32
[src]
public static final CONFLICT_NONE
pub const CONFLICT_REPLACE: i32
[src]
public static final CONFLICT_REPLACE
pub const CONFLICT_ROLLBACK: i32
[src]
public static final CONFLICT_ROLLBACK
pub const CREATE_IF_NECESSARY: i32
[src]
public static final CREATE_IF_NECESSARY
pub const ENABLE_WRITE_AHEAD_LOGGING: i32
[src]
public static final ENABLE_WRITE_AHEAD_LOGGING
pub const MAX_SQL_CACHE_SIZE: i32
[src]
public static final MAX_SQL_CACHE_SIZE
pub const NO_LOCALIZED_COLLATORS: i32
[src]
public static final NO_LOCALIZED_COLLATORS
pub const OPEN_READONLY: i32
[src]
public static final OPEN_READONLY
pub const OPEN_READWRITE: i32
[src]
public static final OPEN_READWRITE
pub const SQLITE_MAX_LIKE_PATTERN_LENGTH: i32
[src]
public static final SQLITE_MAX_LIKE_PATTERN_LENGTH
Methods from Deref<Target = SQLiteClosable>
pub fn acquireReference<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn releaseReference<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn releaseReferenceFromContainer<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn close<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for SQLiteDatabase
impl AsValidJObjectAndEnv for SQLiteDatabase
impl Deref for SQLiteDatabase
type Target = SQLiteClosable
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for SQLiteDatabase
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for SQLiteDatabase
impl !Send for SQLiteDatabase
impl !Sync for SQLiteDatabase
impl Unpin for SQLiteDatabase
impl UnwindSafe for SQLiteDatabase
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,