[]Struct jni_android_sys::android::database::sqlite::SQLiteStatement

#[repr(transparent)]
pub struct SQLiteStatement(_);

public final class SQLiteStatement

Required feature: android-database-sqlite-SQLiteStatement

Methods

impl SQLiteStatement

pub fn execute<'env>(&'env self) -> Result<()>[src]

pub fn execute_update_delete<'env>(&'env self) -> Result<i32>[src]

pub fn execute_insert<'env>(&'env self) -> Result<i64>[src]

pub fn simple_query_for_long<'env>(&'env self) -> Result<i64>[src]

pub fn simple_query_for_string<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>>
[src]

simpleQueryForString

Required features: "java-lang-String"

pub fn simple_query_for_blob_file_descriptor<'env>(
    &'env self
) -> Result<Option<Local<'env, ParcelFileDescriptor>>>
[src]

simpleQueryForBlobFileDescriptor

Required features: "android-os-ParcelFileDescriptor"

pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]

toString

Required features: "java-lang-String"

Methods from Deref<Target = SQLiteProgram>

pub fn get_unique_id<'env>(&'env self) -> Result<i32>[src]

Deprecated

pub fn bind_null<'env>(&'env self, arg0: i32) -> Result<()>[src]

pub fn bind_long<'env>(&'env self, arg0: i32, arg1: i64) -> Result<()>[src]

pub fn bind_double<'env>(&'env self, arg0: i32, arg1: f64) -> Result<()>[src]

pub fn bind_string<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>
) -> Result<()>
[src]

bindString

Required features: "java-lang-String"

pub fn bind_blob<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env ByteArray>>
) -> Result<()>
[src]

bindBlob

pub fn clear_bindings<'env>(&'env self) -> Result<()>[src]

Trait Implementations

impl Deref for SQLiteStatement

type Target = SQLiteProgram

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for SQLiteStatement

impl AsJValue for SQLiteStatement

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]