[−]Struct jni_android_sys::android::database::sqlite::SQLiteOpenHelper
public class SQLiteOpenHelper
Required feature: android-database-sqlite-SQLiteOpenHelper
Methods
impl SQLiteOpenHelper
pub fn new_context_string_cursor_factory_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg3: i32
) -> Result<Local<'env, SQLiteOpenHelper>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg3: i32
) -> Result<Local<'env, SQLiteOpenHelper>>
Required features: "android-content-Context", "android-database-sqlite-SQLiteDatabase_CursorFactory", "java-lang-String"
pub fn new_context_string_cursor_factory_int_database_error_handler<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg3: i32,
arg4: impl Into<Option<&'env DatabaseErrorHandler>>
) -> Result<Local<'env, SQLiteOpenHelper>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg3: i32,
arg4: impl Into<Option<&'env DatabaseErrorHandler>>
) -> Result<Local<'env, SQLiteOpenHelper>>
Required features: "android-content-Context", "android-database-DatabaseErrorHandler", "android-database-sqlite-SQLiteDatabase_CursorFactory", "java-lang-String"
pub fn new_context_string_int_open_params<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32,
arg3: impl Into<Option<&'env SQLiteDatabase_OpenParams>>
) -> Result<Local<'env, SQLiteOpenHelper>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32,
arg3: impl Into<Option<&'env SQLiteDatabase_OpenParams>>
) -> Result<Local<'env, SQLiteOpenHelper>>
Required features: "android-content-Context", "android-database-sqlite-SQLiteDatabase_OpenParams", "java-lang-String"
pub fn get_database_name<'env>(
&'env self
) -> Result<Option<Local<'env, String>>>[src]
&'env self
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn set_write_ahead_logging_enabled<'env>(
&'env self,
arg0: bool
) -> Result<()>[src]
&'env self,
arg0: bool
) -> Result<()>
pub fn set_lookaside_config<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>
pub fn set_open_params<'env>(
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase_OpenParams>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase_OpenParams>>
) -> Result<()>
Required features: "android-database-sqlite-SQLiteDatabase_OpenParams"
pub fn set_idle_connection_timeout<'env>(&'env self, arg0: i64) -> Result<()>[src]
pub fn get_writable_database<'env>(
&'env self
) -> Result<Option<Local<'env, SQLiteDatabase>>>[src]
&'env self
) -> Result<Option<Local<'env, SQLiteDatabase>>>
Required features: "android-database-sqlite-SQLiteDatabase"
pub fn get_readable_database<'env>(
&'env self
) -> Result<Option<Local<'env, SQLiteDatabase>>>[src]
&'env self
) -> Result<Option<Local<'env, SQLiteDatabase>>>
Required features: "android-database-sqlite-SQLiteDatabase"
pub fn close<'env>(&'env self) -> Result<()>[src]
pub fn on_configure<'env>(
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase>>
) -> Result<()>
Required features: "android-database-sqlite-SQLiteDatabase"
pub fn on_create<'env>(
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase>>
) -> Result<()>
Required features: "android-database-sqlite-SQLiteDatabase"
pub fn on_upgrade<'env>(
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase>>,
arg1: i32,
arg2: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase>>,
arg1: i32,
arg2: i32
) -> Result<()>
Required features: "android-database-sqlite-SQLiteDatabase"
pub fn on_downgrade<'env>(
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase>>,
arg1: i32,
arg2: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase>>,
arg1: i32,
arg2: i32
) -> Result<()>
Required features: "android-database-sqlite-SQLiteDatabase"
pub fn on_open<'env>(
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env SQLiteDatabase>>
) -> Result<()>
Required features: "android-database-sqlite-SQLiteDatabase"
Methods from Deref<Target = Object>
pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]
Required features: "java-lang-Class"
pub fn hash_code<'env>(&'env self) -> Result<i32>[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<()>[src]
pub fn notify_all<'env>(&'env self) -> Result<()>[src]
pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]
pub fn wait_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>[src]
pub fn wait<'env>(&'env self) -> Result<()>[src]
Trait Implementations
impl Deref for SQLiteOpenHelper
impl AsValidJObjectAndEnv for SQLiteOpenHelper
impl AsJValue for SQLiteOpenHelper
Auto Trait Implementations
impl !Sync for SQLiteOpenHelper
impl Unpin for SQLiteOpenHelper
impl !Send for SQLiteOpenHelper
impl UnwindSafe for SQLiteOpenHelper
impl RefUnwindSafe for SQLiteOpenHelper
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,